A simple tool for quickly recording sounds using MATLAB® command window.
Check /examples for a working demo
You can control the recording process with simple key presses.
Sound Recorder
CONTROLLER KEYS
s --> Start
p --> Pause/Resume
t --> Add Timestamp (ROI)
d --> Interim Data
x --> Stop and get data
-
Call
displayAudioDeviceInfofunction to list the available inputs and outputs. -
Call
SoundRecorderControllerwithout arguments for recording from default input at 44.1 kHz. -
You may use
SoundRecorderController(deviceID, channelNumbers, numChannels, fs)where the deviceID is known from 1 -
Use
help SoundRecorderControllerto see the details of the remaining parameters -
Mark regions of interest by pressing
tto obtain timestamps of the event. This comes in handy for post-processing -
Extended use: Incorporate into script designs for writing out
.wavand clipping from timestamp etc.
Have fun!
This project is licensed under the MIT License - see the LICENSE file for details.