Skip to main content

RawAudio

A single block of an audio bitstream

Schema

fieldtypedescription
timestamptimeTimestamp of the start of the audio block
databytesAudio data. The samples in the data must be interleaved and little-endian
formatstringAudio format. Only 'pcm-s16' is currently supported
sample_rateuint32Sample rate in Hz
number_of_channelsuint32Number of channels in the audio block

Reference implementations

Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:

encodingschema
ROS 1foxglove_msgs/RawAudio
ROS 2foxglove_msgs/msg/RawAudio
JSONfoxglove.RawAudio
Protobuffoxglove.RawAudio
FlatBuffersfoxglove.RawAudio
OMG IDLfoxglove::RawAudio

You must use the schema names specified above for Foxglove to recognize the schema.