Navigation

Operators and Keywords

Function List:

C++ API

: record (sec)
: record (sec, fs)

Record sec seconds of audio from the system’s default audio input at a sampling rate of 8000 samples per second.

If the optional argument fs is given, it specifies the sampling rate for recording.

For more control over audio recording, use the audiorecorder class.

See also: sound, soundsc.

Package: octave