audiorec.m
The built-in function WAVRECORD requires the user to specify a duration of the data acquisition. This in impractical if we are waiting for short transient signals. In this case, we would like to monitor the input until such event occurs and then return a short vector containing the "sound event".
The function audiorec.m in this package makes use of the Data Acquisition Toolbox to solve the problem described above. The package also contains a small example script showing how to use it.
Cite As
Johan Carlson (2024). audiorec.m (https://www.mathworks.com/matlabcentral/fileexchange/22115-audiorec-m), 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 >
- Test and Measurement > Data Acquisition Toolbox > Simultaneous and Synchronized Operations >
Tags
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 |