33.4 Audio Recorder
The following methods are used to create and use audiorecorder objects. These objects can be used to record audio data from various devices available to the system. You can use convenient methods to retrieve that data or audioplayer objects created from that data. Methods for blocking and non-blocking recording, pausing and resuming recording and much more is available.
- : recorder = audiorecorder ()
- : recorder = audiorecorder (fs, nbits, channels)
- : recorder = audiorecorder (fs, nbits, channels, id)
-
Create an audiorecorder object recording 8 bit mono audio at 8000 Hz sample rate.
The optional arguments fs, nbits, channels, and id specify the sample rate, bit depth, number of channels and recording device id, respectively. Device IDs may be found using the audiodevinfo function.
• Recording |
• Data Retrieval |
• Recorder Properties |
© 1996–2020 John W. Eaton
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
https://octave.org/doc/v6.3.0/Audio-Recorder.html