Has anyone here had any success understanding the Drum-kit AIFF meta data?
I had some success in working with the start and end points in the drum meta data. Let me dig out my code and share what the deal is. (Probably tomorrow as I’m driving tonight).
Thanks @yoof… I did a search and found some source code on Github (https://github.com/padenot/libop1/blob/master/src/op1_drum_impl.cpp)
Nice one
The right hand side is this:
44100 (samples per second) * 16 bit (2 bytes per sample point) * 12 (seconds in the drum sampler) * frame number * 2 (for stereo)
The left hand side is 1 less than a binary number with thirty one 1’s. Not sure why that number is chosen… could be the max positive number that it’s possible to represent by one of the datatypes in whatever language the op-1 is written in.
Cool, it was the left side that was confusing me most, I’m guessing its probably derived from examining a drum kit generated on the op-1 where a end point is set at the furthest extreme of a 12 second sample…
