Extracting Exif metadata from .WAV file?
Hello!
Perhaps someone knows a way to extract Exif metadata from a .wav file, and specifically the value of the "root_note" data?
you can use node.script and the music-metadata library
root note in wav file is part of acid chunk.
but maybe you are also after unshifted note from
instrument chunk ?
filein
read till "acid" gets detected (ascii 97 99 105 100)
then read the following chunk data.
I guess that is the only native max option, without any shell, js etc.
acid chunk is quite old format, and somewhat
unclear about parsing it correctly.
in first place bits before root note,
some list 4 the other 5
Bit 0 = One shot
Bit 1 = Root note set
Bit 2 = Stretch
Bit 3 = Disk-based
Bit 4 = High octave ????
you can google riff acid chunk for infos