Looking for a programmer to add a function to an existing object

Alex_k's icon

I want to extend the functionality of the metatag object so that it will support writing meta tags to AIFF files (artist, title, comment, year, genre and, possibly, image) for a cross-platform project (mac/pc) I'm working on.

The code of the object has been made available publicly and there's a budget for this.

Any programmer well versed into this kind of things?

Thanks

volker böhm's icon

[metatag] should actually be able to do this already. did you try it?
i've just done a quick test and it seems to work for most .aif files (artist, title, comment, genre, album, track, year - no image) - reading and writing.
no idea why it doesn't work for some files.
but the problem doesn't seem to be in [metatag], but in the library it uses (taglib), as the same thing happens with the example code from taglib.

Alex_k's icon

Thanks, Volker!

If I try [metatag] with AIFF files that already contain metadata, all is fine.

If I create an AIFF in Max (write from a buffer) and then try to write metadata with [metatag] I get a currupted file. So it seems that the problem is to create a proper AIFF file in Max maybe.

Another possibility would jit.movie, but I need to be able to save the files in 16 bit / 48 kHz and it seems there's no way to tell it with a command. You have to open the export settings, etc. A shame!

Alex_k's icon
volker böhm's icon

hm, i'm not experiencing corrupt files, but the tags sometimes simply don't seem to stick.
i guess the problem is, an old version of TagLib that was used to compile the object, as the current version of TagLib seems to work fine.
just make sure that you don't try to tag a file, which has been mangled before by the old [metatag].

i could do a new version of [metatag] with a current TagLib for osx - can't help with the windows version, sorry.
or you can download and compile TagLib yourself, build the examples which are included, and use the shell object to run "tagwriter' from the command line.

Alex_k's icon

When I open an aiff tagged with [metatag] in an editor (i.e. audition), it tells me that the metadata is corrupt but opens the file anyway.
That happens when the file has been created in MAX. If I modify an already tagged (with other software) aiff, all it's fine and [metatag] is able to edit the tags.

If you could do compile a new version for OSX that would be helpful to see if the new taglib works well. Because I've talked with Jeremy (the developer of the object) and he didn't give me that hint.

Thanks!

volker böhm's icon
Alex_k's icon

I've tested it and it's giving the following behaviour.
1) with aiff files generated with other apps and edited with [metatag]:
if I reopen the file metatag is able to tell me the tags.
if I open it in an audio editor I get the message that the file has some problems (Sample Manager: "the IFF size is smaller than the content of the file. The audio file has some problems that can be repaired.")

2) with aiff files created with Max:
metatag is able to write just the artist tag, nothing else. The chunk is corrupted like in (1).

Thanks anyway for the help!

volker böhm's icon

this is pretty much what happens here, too, but with the old [metatag].
the new one seems to work just fine. i haven't done extensive tests, but it works correctly on two different computers.
are you sure, the old [metatag] is out of the way, i.e. not inside max's search path?
if you see something like "metatag DEVELOPEMENT version..." printed in the max window, than you got the right one.

if you like, you can try with the attached command line example programs from TagLib.
if they work fine, the external should actually also work.

taglib-examples.zip
zip