dropfile: what is the mp3 'types' message??

Apr 29, 2007 at 1:41am

dropfile: what is the mp3 'types' message??

Hello again! Does someone know the four character code that represents an mp3 file for the dropfile types message?

for example:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 293 242 69 196617 print filepath;
#P window linecount 2;
#P comment 311 157 48 196617 drag mp3 files here;
#P window linecount 1;
#P message 292 87 62 196617 types ????;
#P user dropfile 308 156 364 183 1 MPEG;
#P newex 62 248 69 196617 print filepath;
#P newex 182 39 48 196617 loadbang;
#P window linecount 2;
#P comment 80 163 48 196617 drag aiff files here;
#P window linecount 1;
#P message 61 91 58 196617 types AIFF;
#P user dropfile 77 162 133 189 1 AIFF;
#P connect 3 0 1 0;
#P connect 3 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 8 0;
#P connect 0 0 4 0;
#P connect 1 0 0 0;
#P window clipboard copycount 9;

—–

i’ve tried “MPEG” but that does not seem to work…. any clues?
Im trying to use the dropfile in conjunction with a buffer and an ‘import’ message.

#31647
Apr 29, 2007 at 6:21am

if you ever want to know what that code is, just use the dropfile
help patch. by default when it’s opened it will print the file type
code out of the right outlet.

On Apr 28, 2007, at 9:41 PM, seth wrote:

>
> Hello again! Does someone know the four character code that
> represents an mp3 file for the dropfile types message?
>
> for example:
>
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P newex 293 242 69 196617 print filepath;
> #P window linecount 2;
> #P comment 311 157 48 196617 drag mp3 files here;
> #P window linecount 1;
> #P message 292 87 62 196617 types ????;
> #P user dropfile 308 156 364 183 1 MPEG;
> #P newex 62 248 69 196617 print filepath;
> #P newex 182 39 48 196617 loadbang;
> #P window linecount 2;
> #P comment 80 163 48 196617 drag aiff files here;
> #P window linecount 1;
> #P message 61 91 58 196617 types AIFF;
> #P user dropfile 77 162 133 189 1 AIFF;
> #P connect 3 0 1 0;
> #P connect 3 0 6 0;
> #P connect 6 0 5 0;
> #P connect 5 0 8 0;
> #P connect 0 0 4 0;
> #P connect 1 0 0 0;
> #P window clipboard copycount 9;
>
>
>
> —–
>
> i’ve tried “MPEG” but that does not seem to work…. any clues?
> Im trying to use the dropfile in conjunction with a buffer and an
> ‘import’ message.
>
>

#103101
Apr 29, 2007 at 10:21am
#103102
Apr 29, 2007 at 12:58pm

max 4.6.3, don’t have this problem.

On Apr 29, 2007, at 6:21 AM, Chris Hipgrave wrote:

>
> you may have to add ‘mp3′ to the max-fileformats.txt file for max
> to recognise them.
>
> http://www.cycling74.com/forums/index.php?
> t=msg&goto=52598&rid=2956&S=65ac447017d4b99b0521d805428bc16e&srch=max-
> fileformats+mp3#msg_52598
>

#103103
Apr 29, 2007 at 4:26pm

!Whipeesh! – thats the sounbd of me slapping myself in the forehead. Thanks a lot guys. apparently, the following is the appropriate string to set a dropfile to accept only mp3s…..quotes and spaces included it seems….

types “Mp3 “

thanks for the help!!

#103104

You must be logged in to reply to this topic.