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/v8.1.0/Recording.html