AudioCapture []
creates a temporary interactive interface for capturing an audio signal.
AudioCapture [file]
captures an audio signal into file.
AudioCapture
AudioCapture []
creates a temporary interactive interface for capturing an audio signal.
AudioCapture [file]
captures an audio signal into file.
Details and Options
- AudioCapture brings up a user interface for recording audio signals.
- Once stopped, AudioCapture returns an Audio object that includes the captured audio signal.
- The file path file can be specified as a string or as a File object.
- AudioCapture [] places the captured audio under the "Audio" directory in $WolframDocumentsDirectory .
- AudioCapture ["Memory"] can be used to capture the audio signal into an in-memory audio object.
- AudioCapture accepts all Audio options, with the following additions and changes: [List of all options]
-
- Possible settings for Appearance are "Basic" and "Detailed".
- By default, $DefaultAudioInputDevice is used for acquisition. $AudioInputDevices can be used to find and return all connected audio devices.
-
SoundVolume 1 sound volume
List of all options
Examples
open all close allBasic Examples (1)
Interactively capture audio:
When done, an Audio object is returned:
Scope (1)
Specify where to save the captured audio signal:
Options (4)
Appearance (1)
By default, a basic GUI is used for audio capture:
Use an extended user interface:
MaxDuration (2)
Capture an audio signal for 4 seconds:
Use a time quantity to specify the recording duration:
Stop the recording before the maximum duration:
SampleRate (1)
By default, a sample rate of 44100 Hz is used:
Specify a different sample rate:
Related Guides
Related Workflows
- Record a Sound
Text
Wolfram Research (2017), AudioCapture, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioCapture.html (updated 2020).
CMS
Wolfram Language. 2017. "AudioCapture." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/AudioCapture.html.
APA
Wolfram Language. (2017). AudioCapture. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioCapture.html
BibTeX
@misc{reference.wolfram_2025_audiocapture, author="Wolfram Research", title="{AudioCapture}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/AudioCapture.html}", note=[Accessed: 17-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_audiocapture, organization={Wolfram Research}, title={AudioCapture}, year={2020}, url={https://reference.wolfram.com/language/ref/AudioCapture.html}, note=[Accessed: 17-November-2025]}