Be the first to rate this file! 18 downloads (last 30 days) File Size: 3.14 KB File ID: #22115

audiorec.m

by Johan Carlson

 

15 Nov 2008

Code covered by BSD License  

Recording of short transients based on input level triggering.

Download Now | Watch this File

File Information
Description

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.

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files audiorec.m,
test_audiorec.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
audio recording Johan Carlson 17 Nov 2008 11:13:57
analog input Johan Carlson 17 Nov 2008 11:13:57
measurement Johan Carlson 17 Nov 2008 11:13:57
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com