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.
got the same problem, didn’t found any issues …
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
can i also point out that this method also works for .mp4 files, not just .mp3
yes it actually work flv too or every format quicktime can read ;)
C74 RSS Feed | © Copyright Cycling '74