The Audio Block is used to define an audio sample for use with other blocks. It can also convert a binary type into an audio type. The block can either take an input that represents the audio data or use an audio file specified in the block’s settings.
If enabled, the block will use the data from the “Data” input port as the audio data. If disabled, the block will use the data from the audio file specified in the “Audio File” setting.
What audio file formats are supported by the Audio Block?
The Audio Block accepts any audio file format (audio/*). However, the audio data should ultimately be convertible to a Uint8Array. The specific audio file formats that can be used will depend on what other blocks you are connecting the Audio Block to.
Can I use the Audio Block to play audio?
The Audio Block shows a playback bar on the Odella UI, but otherwise, it cannot be used to play back audio during the flow’s execution.