33.4.1 Запись
Следующие методы управляют процессом записи.
-
: record
(recorder) -
: record
(recorder, length) -
Записывайте аудио без блокировки с помощью объекта audiorecorder recorder до тех пор, пока запись не будет приостановлена или остановлена методами pause или stop.
Если указан необязательный аргумент length, запись выполняется в течение length секунд.
См. также: @audiorecorder/recordblocking, @audiorecorder/audiorecorder.
-
: recordblocking
(recorder, length) -
Записывайте аудио с блокировкой (синхронный ввод-вывод).
Необходимо указать длительность записи в секундах (length).
См. также: @audiorecorder/record, @audiorecorder/audiorecorder.
-
: pause
(recorder) -
Приостановите запись для объекта audiorecorder recorder.
См. также: @audiorecorder/resume, @audiorecorder/stop, @audiorecorder/audiorecorder.
-
: resume
(recorder) -
Возобновите запись с помощью приостановленного объекта audiorecorder recorder.
См. также: @audiorecorder/pause, @audiorecorder/stop, @audiorecorder/audiorecorder.
-
: stop
(recorder) -
Остановите запись с помощью объекта audiorecorder recorder и очистите все аудиопотоки.
См. также: @audiorecorder/pause, @audiorecorder/resume, @audiorecorder/audiorecorder.
-
:
tf =isrecording(recorder) -
Возвращает true, если объект audiorecorder recorder в данный момент записывает аудио, и false в противном случае.
См. также: @audiorecorder/pause, @audiorecorder/audiorecorder.
© 1996–2026 The Octave Project Developers
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://docs.octave.org/v9.4.0/Recording.html