I'm looking for some sample code to show me how to add metadata to the wav files we create. Anyone?
One option is to add your own chunk with a unique id. Most WAV players will ignore it.
Another idea would to be use a labl
chunk, associated with a que set at the beginning or end of the file. You'd also need a que
chunk. See here for a reference
How to write the data is simple
"RIFF"
. It's slightly more complicated if you are adding things to an existing list
chunk, but the same principle applies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With