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
displayAudioDeviceInfo
function to list the available inputs and outputs. -
Call
SoundRecorderController
without 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 SoundRecorderController
to see the details of the remaining parameters -
Mark regions of interest by pressing
t
to obtain timestamps of the event. This comes in handy for post-processing -
Extended use: Incorporate into script designs for writing out
.wav
and clipping from timestamp etc.
Have fun!
This project is licensed under the MIT License - see the LICENSE file for details.