I have a 15KB PCM audio file that I want to embed with a container. My plan is to have the container send this data to a C service to play to a bluetooth speaker.
OPaddshore
I have a 15KB PCM audio file that I want to embed with a container. My plan is to have the container send this data to a C service to play to a bluetooth speaker.
floitsch07/31/2025 05:41 PM
The easiest is to just convert the data into a bytearray literal and import the file as Toit source code.
Assets might be cleaner but require more tools and different commands for Jaguar, Artemis, ...