Home Page › Forums › Cymatic Audio Forum › uTool › Wav file format and headers
- This topic has 1 reply, 1 voice, and was last updated 3 years, 7 months ago by
Simon Lind.
- AuthorPosts
- 5th February 2020 at 22:23 #80714
Simon Lind
ParticipantHi,
I’m creating a script to analyse the audio levels of all my exported tracks on the USB for Utrack24 (To avoid blowing up the speakers or if some tracks are too low without manually listening to all tracks). But noticed that it gets tricky when using more than 1 channel. With 1 channels it behaves just like a regular wav file but as soon as there are multiple channels the headers of the wav file doesn’t seem right. Is it possible to get a specification of the wav file format and wav headers you are using when the UTool exports to a (0001).wav file? Are there differences with 1 channel vs 3 or more channels? Like compression or something else?
One issue I noticed was compressionCode was set to 65534 instead of 1, not sure what that means. I’m aware of my code might be faulty but at least it would be helpful to know if the files are standard wav or something else.
1st March 2020 at 20:31 #82627Simon Lind
ParticipantI finally was able to decode the wav headers. It turned out to be a JUNK chunk in the headers. It was not created by uTool but was there before import as well. Found the spec here: http://soundfile.sapp.org/doc/WaveFormat/
- AuthorPosts
- You must be logged in to reply to this topic.