Make Beeps with Psychtoolbox
No License
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 (2024). Make Beeps with Psychtoolbox (https://www.mathworks.com/matlabcentral/fileexchange/5213-make-beeps-with-psychtoolbox), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Tags
Acknowledgements
Inspired by: beep2.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |