Spec-Zone.ru › Octave 6

33.4 Запись звука

Следующие методы используются для создания и использования объектов audiorecorder. Эти объекты могут использоваться для записи аудиоданных с различных устройств, доступных в системе. Вы можете использовать удобные методы для получения этих данных или объектов audioplayer, созданных из этих данных. Доступны методы для блокирующей и неблокирующей записи, приостановки и возобновления записи и многое другое.

recorder = audiorecorder ()
recorder = audiorecorder (fs, nbits, channels)
recorder = audiorecorder (fs, nbits, channels, id)

Создаёт объект audiorecorder, записывающий моноаудио 8 бит со скоростью дискретизации 8000 Гц.

Необязательные аргументы fs, nbits, channels и id задают скорость дискретизации, разрядность, количество каналов и идентификатор устройства записи соответственно. Идентификаторы устройств можно найти, используя функцию audiodevinfo.

• Запись
• Получение данных
• Свойства рекордера

© 1996–2022 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/v6.4.0/Audio-Recorder.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API