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–2023 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.2.0/Recording.html