Forums > MaxMSP

problem with file type / creator and ubumenu / folder

March 8, 2008 | 1:39 pm

hello,

trying to build a patch where ubumenu or folder object displays a list of audio files (mp3, mp4, AIFF, Wave) which exist in a directory.

a seemingly simple task, which is being made obnoxiously difficult by problems with creator codes… it seems that lots of mp3 files on my HD seem to be lacking type and creator codes (reported as "none").

I have managed to track this problem using "FileUtilsCM" (http://www.macupdate.com/info.php/id/9104), which allows me to view and modify the file type and creator codes.

In Max, the file types i used to filter the results are:
"M4A ", "M4P ", MPG3, "MP3 ", "Mp3 ", MPEG, WAVE, AIFF

the problem is this patch is for a project where ppl can bring in their own audio files, so i cant manually modify the file type code so that it is recognised by max.

it’s made more complicated because i am using jit.qt.movie and spigot~ to play the audio files, and this creates xml files in the same directory as the audio file… so i have to filter the results from ubumenu or folder so that it only lists audio files.

any suggestions?

thanks,

j


September 2, 2008 | 11:42 pm

hi,
got the same problem, didn’t found any issues …

solution???
danke

freeka


September 3, 2008 | 1:55 pm

Okey we found out a solution with the help of Jln..

you have to add a line in the max-fileformat.txt file, its totally strange cycling didn’t made it yet… :D

here is the line i added :

"max fileformat .mp3 MP3s 0 "MP3s audio file" audiofile;"

then just use " type MP3s " with the folder object

clap clap


September 3, 2008 | 3:48 pm

can i also point out that this method also works for .mp4 files, not just .mp3

j


September 3, 2008 | 3:53 pm

yes it actually work flv too or every format quicktime can read ;)


Viewing 5 posts - 1 through 5 (of 5 total)