Audio Recorder

Record audio to playback in the app, store, or send to a friend

Timed Audio Recording

This block allows you to record audio for a fixed length of time.

Inputs

Data type

Function

seconds

Number

Specify how many seconds to record audio

Outputs

Data type

Function

audio file

.mp4 (Android)

.caf (iOS)

.webm (on web)

Returns recorded audio

error

Text

If there is an error, returns the error (else returns null)

Start and Stop Recording

These blocks allow you to record for an unspecified amount of time.

This is an example of how you can use the 'Start Recording' and 'Stop Recording' blocks in your app. These blocks are for a single 'Start/Stop Recording' button. When the user presses down on the button, the app starts recording audio. When the user releases the button, the app stops recording audio.

Outputs

Data Type

Function

audio file

.mp4 (Android)

.caf (iOS)

.webm (on web)

Returns recorded audio

error

Text

If there is an error, returns the error (else returns null)

Using your Audio File

You can play the recorded audio in your app with the Sound component.

You can save your audio file online with the Cloudinary Media DB. When you have a URL for your file from Cloudinary, you can save it to a Firebase Realtime DB or an Airtable DB. You can also share the URL for your audio file with other people using our Share component.