RawAudio
A single block of an audio bitstream
Schema
field | type | description |
---|---|---|
timestamp | time | Timestamp of the start of the audio block |
data | bytes | Audio data. The samples in the data must be interleaved and little-endian |
format | string | Audio format. Only 'pcm-s16' is currently supported |
sample_rate | uint32 | Sample rate in Hz |
number_of_channels | uint32 | Number of channels in the audio block |
Reference implementations
Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:
encoding | schema |
---|---|
ROS 1 | foxglove_msgs/RawAudio |
ROS 2 | foxglove_msgs/msg/RawAudio |
JSON | foxglove.RawAudio |
Protobuf | foxglove.RawAudio |
FlatBuffers | foxglove.RawAudio |
OMG IDL | foxglove::RawAudio |
You must use the schema names specified above for Foxglove to recognize the schema.