AudioRecorder Op
record, playback and download audio
Summary (oneliner)
This op let's you record any webaudio stream in your patch.
How to use:
- Connect audio to the input
- Click/Trigger "Start Recording"
- Record as long as you want
- Click/Trigger "Stop Recording"
- The recorded audio will be processed
- To playback the recorded loop, connect the "Recorded Out" output and click "Start Playback"
- To download, click "Download .wav file"
- To stop playback, click "Stop Playback"
- If you want to delete what you recorded, press "Clear Buffer"
The AudioRecorder has 5 states:
"idling" - there is nothing in the recording buffer, nothing is playing back "recording" - the recorder is currently recording "processing" - the recorder is currently processing the recorded audio "ready" - the recorder is ready to play back/download "playing" - the recorder is currently playing back the recorded audio
- Ops.WebAudio.AudioRecorder
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch AudioRecorder example
AudioRecorder OP allows you to record an audio source and download the audio as a file.
In this example an mp3 file is the sound source of the AudioRecorder OP.
Trigger Playback of the sound source by pressing the Play button in the middle of the patch screen, then press Start Recording in the Sidebar. After stopping the recording and the source audio, you can preview your recorded audio buffer loop by pressing start and stop playback.
In this example the sound source is panned to the left and recorded audio will be on the right.
INPUT PORTS
audio input
Recording
click/trigger to start recording
click/trigger to stop recording
volume of incoming audio
Playback
click/trigger to start playback
click/trigger to stop playback
click/trigger to clear buffer (revert to "idling" state)
volume of recorded audio playback
check to loop the playback of the recorded audio
click/trigger to download the recorded file
OUTPUT PORTS
audio output, pass through for incoming signal
output of the recorded audio
true if currently recording
true if currently playing back
one of 5 states: "idling", "recording", "processing", "ready", "playing"
audiobuffer output