Forums > MaxMSP

opendialog available filetypes

January 3, 2013 | 6:38 pm

Hi, I want to use the [opendialog] to select only specific files. The files i want to select are aiff, wave and mp3. If i use the filetype "sound" it works for aiff and wave, ut how can i also select the mp3 ? How, if possible, can i set custom filetypes for the opendialog?

Or, if there is some other solution, feel free to tell me!!!
Thank you all!


January 3, 2013 | 7:20 pm

use "MPG3" for mp3s. there is max-fileformats.txt somewhere in your max folder. take a look.

to define custom file extensions put something like this in a message box:
;max fileformat .ext TEXT
this for example tells max to treat .ext files like text files and will also list .ext if you use "TEXT" to opendialog or whatever
O.


January 3, 2013 | 7:36 pm

Hi olsen,
the "; max fileformat etc.." work fine! But the MPG3 does not, at least with the opendialog.
Anyway i did my job with the fileformat.. thank you very much for your help! Thank you also for the max-fileformats.txt info!! very helpful!
Cheers!


January 3, 2013 | 7:49 pm

then use ";max fileformat .mp3 MPG3" before. you’re welcome


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