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").
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.