GNOME Bugzilla – Bug 545433
[wavparse] support tempo tag
Last modified: 2008-08-22 16:04:48 UTC
** The acid chunk goes a little something like this: ** ** 4 bytes 'acid' ** 4 bytes (int) length of chunk starting at next byte ** ** 4 bytes (int) type of file: ** this appears to be a bit mask,however some combinations ** are probably impossible and/or qualified as "errors" ** ** 0x01 On: One Shot Off: Loop ** 0x02 On: Root note is Set Off: No root ** 0x04 On: Stretch is On, Off: Strech is OFF ** 0x08 On: Disk Based Off: Ram based ** 0x10 On: ?????????? Off: ????????? (Acidizer puts that ON) ** ** 2 bytes (short) root note ** if type 0x10 is OFF : [C,C#,(...),B] -> [0x30 to 0x3B] ** if type 0x10 is ON : [C,C#,(...),B] -> [0x3C to 0x47] ** (both types fit on same MIDI pitch albeit different octaves, so who cares) ** ** 2 bytes (short) ??? always set to 0x8000 ** 4 bytes (float) ??? seems to be always 0 ** 4 bytes (int) number of beats ** 2 bytes (short) meter denominator //always 4 in SF/ACID ** 2 bytes (short) meter numerator //always 4 in SF/ACID ** //are we sure about the order?? usually its num/denom ** 4 bytes (float) tempo ** From wav.c in libsndfile library
2008-07-30 Stefan Kost <ensonic@users.sf.net> * gst-libs/gst/riff/riff-ids.h: Adding acid chunk for tempo and loop information.
Created attachment 115548 [details] [review] adds reading the acid chunk and adding tempo to taglist
2008-08-05 Stefan Kost <ensonic@users.sf.net> * gst/wavparse/gstwavparse.c: Handle the acid chunk and send tempo as part of tags. Other fields are interesting too, but need more tag-definitions. Fixes #545433.