audiorec.m

Recording of short transients based on input level triggering.
1.3K Downloads
Updated 15 Nov 2008

View License

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 (2026). audiorec.m (https://www.mathworks.com/matlabcentral/fileexchange/22115-audiorec-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0