AudioRecord

AudioRecord[]

returns a new AudioStream object and starts to record from the default input audio device.

AudioRecord[inputdev]

records from the input audio device inputdev.

AudioRecord[astream]

starts recording an AudioStream object astream that is connected to an input device.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Create an input stream and start recording:

Stop the recording:

Create an audio object from the recorded stream:

Scope  (3)

Create an input stream and start recording from a specific device:

Stop the recording:

Start the recording of an existing AudioStream:

Stop the recording:

AudioPause keeps the information about the recording position and the data:

AudioStop resets the recording:

Options  (2)

MaxDuration  (1)

Use MaxDuration to set the maximum duration of the recording:

GeneratedAssetLocation  (1)

Use the GeneratedAssetLocation option to control the storage location for the recording:

If None is specified, an in-core Audio object is created:

Properties & Relations  (1)

Unlike AudioCapture, AudioRecord does not block the kernel:

Possible Issues  (1)

Only a single stream can record from a specific device at any time:

Stop the first recording and try again:

Wolfram Research (2018), AudioRecord, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioRecord.html (updated 2021).

Text

Wolfram Research (2018), AudioRecord, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioRecord.html (updated 2021).

CMS

Wolfram Language. 2018. "AudioRecord." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/AudioRecord.html.

APA

Wolfram Language. (2018). AudioRecord. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioRecord.html

BibTeX

@misc{reference.wolfram_2024_audiorecord, author="Wolfram Research", title="{AudioRecord}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AudioRecord.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_audiorecord, organization={Wolfram Research}, title={AudioRecord}, year={2021}, url={https://reference.wolfram.com/language/ref/AudioRecord.html}, note=[Accessed: 21-November-2024 ]}