Record sounds directly in Wolfram notebooks.

Use AudioCapture to record a sound interactively

Record a sound using AudioCapture:

  • AudioCapture records from audio input devices such as built-in microphones or attached USB headphones.

Play the recorded sound

Play the recorded audio:

Use the recorded sound in a computation

Use the Audio object directly in a computation:

In[2]:=
Click for copyable input
Out[2]=
Notes
AudioCapture records to the file shown at the bottom of the Audio object to avoid using excessive memory in the notebook. If the file is deleted, the Audio object will no longer work.
To decouple an Audio object from a file, making the audio reside in the notebook, apply Normal to it:
Create a local Audio object directly by applying Normal to AudioCapture:
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
To choose the recording source, click the Expand button and select a source in the microphone menu: