Make Beeps with Psychtoolbox

Plays a series of short tones as audible stimuli.

You are now following this Submission

This code was modified from beep2 (by Dave Johnson of Raytheon Missile Systems Co). It solved the problem that after about playing 180 beeps, an error message "??? Unable to write into sound device" showed up. If you only want to play several beeps or tones, use beep2. If you want to present more than 200 tones in an experiment, try this one. Please reply if you find any bugs or if you have a better code.

Cite As

Peggy Chen (2026). Make Beeps with Psychtoolbox (https://www.mathworks.com/matlabcentral/fileexchange/5213-make-beeps-with-psychtoolbox), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: beep2.m

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0