AudioRecorder Op
record, playback and download audio
Summary (oneliner)
<p>This op let's you record any webaudio stream in your patch.</p> <p>How to use:</p> <ol> <li>Connect audio to the input</li> <li>Click/Trigger "Start Recording"</li> <li>Record as long as you want</li> <li>Click/Trigger "Stop Recording"</li> <li>The recorded audio will be processed</li> <li>To playback the recorded loop, connect the "Recorded Out" output and click "Start Playback"</li> <li>To download, click "Download .wav file"</li> <li>To stop playback, click "Stop Playback"</li> <li>If you want to delete what you recorded, press "Clear Buffer"</li> </ol> <p>The AudioRecorder has 5 states:</p> <p>"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</p>
- 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
<p>audio input</p>
Recording
<p>click/trigger to start recording</p>
<p>click/trigger to stop recording</p>
<p>volume of incoming audio</p>
Playback
<p>click/trigger to start playback</p>
<p>click/trigger to stop playback</p>
<p>click/trigger to clear buffer (revert to "idling" state)</p>
<p>volume of recorded audio playback</p>
<i>boolean</i>
)<p>check to loop the playback of the recorded audio</p>
<p>click/trigger to download the recorded file</p>
OUTPUT PORTS
<p>audio output, pass through for incoming signal</p>
<p>output of the recorded audio</p>
<i>boolean</i>
Number)<p>true if currently recording</p>
<i>boolean</i>
Number)<p>true if currently playing back</p>
<p>one of 5 states: "idling", "recording", "processing", "ready", "playing"</p>
<p>audiobuffer output</p>