writing metadata of WAV/AIFF files

Alex_k's icon

Hello,

I have just upgraded to MaxMSP 5 (+Jitter) and I am trying to change/write metadata information in WAV/AIFF files automatically from a patch.

At the moment I have seen that it is possible to change metadata in the File Browser.

Is there a way to recall those functions from a patch?

Thanks in advance and sorry if it's a "newbie" question.

Cheers,
A

pdelges's icon

The metadatas edited in the file browser are local to Max: they're not written in the file, but in a database used by Max.
Maybe it is possible to access it using the technique describedhere.
but I don't know how the database is called.

It is also possible to save and recall metadata databases using the max messages db.exportmetadata and db.importmetadata. You could try to edit and save these files inside Max.

If you need to change datas like loops, markers, TC, etc. I'm afraid it is not possible. If you want to read markers data, you can use my (still Mac only) sfmarkers~ external.

p

Alex_k's icon

Thanks for your reply.

Exactly, I would like to save metadata information within the audiofiles.
Too bad that is not possible.

Cheers,
A

pdelges's icon

I wanted to create such an external but I don't have much time, I didn't feel there was much interest, and I think a real-time environment may not be the best place to do such thing as saving a big audio file just to add a couple of metadatas takes a lot of time.

DZ's icon

Hi Alex_K, I think I may have found a video which could help you out, using the application Punakea.

http://vimeo.com/7549471 : Retrieving Audio using custom metadata in maxmsp by Surround Wunderbar Studio.

"This videoblog demonstrates and explains how custom metadata fields written to audiofiles in a music composition environenment, can be used in combination with OSX spotlight technology (mdfind command basically) to call families of sounds with specific typomorphology."

Alex_k's icon

Thanks for the reply. I'm still looking foir a way to write meta tags into AIF files.

The method shown in the video "Retrieving Audio using custom metadata in maxmsp by Surround Wunderbar Studio" is interesting but, as long as I understand, a different method of tagging files, while I need to write AIF standard metatags.

I know that the jit,movie obejct can write AIF metatags but there is another problem: it saves files in 32 bit floating point and I need to write them in 16/24 bit.

I can't find any reference in the documentation about a command to make jit.movie write a 16 bit Aiff file.