Start recording audio. Only a single recording can be ongoing at a time. If this flow function is called twice in a row, the second execution will throw an error.
To stop the audio recording, use the Stop recording audio flow function, which will output a reference to the recorded audio file in a temporary folder.
If you need to save the audio file in a persistent way, use the Move file flow function (after the recording has been stopped) to move it to the user files directory.
Label | Key | Type | Required? | Default | Description |
Sample rate |
| Number(integer) | No | 44100 | Sample rate for the recording, in kHz. |
Channels |
| Number | No | 2 | Record in one channel (mono) or two (stereo). |
Bits per sample |
| Number | No | 16 | How many bits per sample should be stored? |
Number of outputs: 2
Label | Key | Type | Description |
Recording started at |
| String(date-time) | ISO 8601 format timestamp of when the audio recording was started. |
No events.
Label | Code | Description |
Unknown error |
| Thrown if an unknown error occurred while recording audio. |