Forums > MaxMSP

umenu won't populate with aiff files

August 7, 2008 | 12:10 am

I am sure this is a total newbie problem, but I have read the help and the documentation and still can’t get this to work. I would like to populate a umenu with aiff files in the folder C:/Users/Patrick_2/Documents/patches/recordings.

Looking at the help I made the following:

– Pasted Max Patch, click to expand. –

Nothing populates the list. Nor does it work using an open dialog object and selecting the folder. The only way I can get the umenu to populate with aiffs is to drag the folder into a textedit (in the prefix subsection of the help.

one thing I noticed is that the folder object and the message boxes in the help have quotes in them. I can’t get quotes to work though.

Any help would be greatly appreciated


August 7, 2008 | 12:40 am

you need to spell aiff in all caps, like "types AIFF"

-B


September 29, 2008 | 11:33 am

hello,

I get this error : "can’t open" with [folder]
Can someone have a look.

thank you

max v2;
#N vpatcher 289 44 919 599;
#P origin 0 78;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 322 491 50 196617 print;
#P window setfont "Sans Serif" 18.;
#P comment 213 244 64 196626 bad??;
#P window setfont "Sans Serif" 9.;
#N vpatcher 460 63 588 255;
#P outlet 32 74 15 0;
#P inlet 36 41 15 0;
#P connect 0 0 1 0;
#P pop;
#P newobj 394 437 13 196617 p;
#P user ubumenu 134 298 100 196617 0 1 1 0;
#X add aiguill.res1.aiff;
#X add aiguill.res2.aiff;
#X add aiguill.res3.aiff;
#X add aiguilleperc1.aif;
#X add aiguilleperc1.mstr.aif;
#X add aiguilleperc2.aiff;
#X add aiguilleperc2.mstr.aif;
#X add aiguilleperc3.aif;
#X add aiguilleperc3.mstr.aif;
#X add aiguilleperc4.aif;
#X add aiguilleperc4.mstr.aif;
#X prefix_set 0 1 append 0;
#P objectname ubumenu;
#P comment 370 50 100 196617 choose a folder;
#P user ubumenu 353 119 100 196617 0 1 1 0;
#X add aiguill.res1.aiff;
#X add aiguill.res2.aiff;
#X add aiguill.res3.aiff;
#X add aiguilleperc1.aif;
#X add aiguilleperc1.mstr.aif;
#X add aiguilleperc2.aiff;
#X add aiguilleperc2.mstr.aif;
#X add aiguilleperc3.aif;
#X add aiguilleperc3.mstr.aif;
#X add aiguilleperc4.aif;
#X add aiguilleperc4.mstr.aif;
#X add montages;
#X prefix_set 0 1 kyred:/Users/derrickgiscloux/mao/sons/guitare/Corps_sonore/Aiguilles/ 0;
#P button 353 49 15 0;
#P newex 394 464 81 196617 prepend replace;
#P newex 394 490 62 196617 buffer~ asd;
#P newex 114 183 30 196617 t s b;
#N vpatcher 460 63 588 255;
#P outlet 32 74 15 0;
#P inlet 36 41 15 0;
#P connect 0 0 1 0;
#P pop;
#P newobj 134 245 13 196617 p;
#P newex 49 112 53 196617 t s s b b;
#P message 134 225 33 196617 clear;
#P newex 134 204 45 196617 onebang;
#P message 122 142 129 196617 types WAVE AIFF AIF Sd2f;
#P newex 114 162 37 196617 folder;
#P newex 139 358 36 196617 zl reg;
#P newex 139 379 70 196617 sprintf %s%s;
#P newex 179 335 30 196617 t b s;
#P newex 353 72 81 196617 opendialog fold;
#P message 438 95 75 196617 autopopulate 1;
#P newex 353 94 83 196617 prepend prefix;
#P user panel 30 79 268 333;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 323 26 221 142;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P fasten 4 0 12 0 358 93 54 93;
#P fasten 12 1 8 0 68 157 119 157;
#P connect 9 0 8 0;
#P connect 8 0 14 0;
#P fasten 12 2 9 0 82 139 127 139;
#P connect 14 1 10 0;
#P connect 10 0 11 0;
#P connect 11 0 13 0;
#P fasten 14 0 20 0 119 282 139 282;
#P connect 13 0 20 0;
#P fasten 5 0 7 0 184 355 144 355;
#P connect 7 0 6 0;
#P fasten 12 0 7 1 54 333 170 333;
#P fasten 12 3 10 1 96 132 174 132;
#P connect 20 1 5 0;
#P connect 5 1 6 1;
#P fasten 16 0 23 0 399 484 327 484;
#P connect 17 0 4 0;
#P connect 4 0 2 0;
#P fasten 3 0 18 0 443 114 358 114;
#P connect 2 0 18 0;
#P connect 18 1 21 0;
#P connect 6 0 21 0;
#P connect 21 0 16 0;
#P connect 16 0 15 0;
#P fasten 17 0 3 0 358 67 443 67;
#P pop;


October 1, 2008 | 7:32 am

Derrick Giscloux schrieb:
> I get this error : "can’t open" with [folder]
> Can someone have a look.

Works fine here…


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


October 1, 2008 | 7:58 am

Because Jeremy fixed it for the forthcomming 5.0.5.

ej

On 1 oct. 08, at 09:32, Stefan Tiedje wrote:

> Derrick Giscloux schrieb:
>> I get this error : "can’t open" with [folder]
>> Can someone have a look.
>
> Works fine here…
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>


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