prepend mp3 and unjoin

clankill3r's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I want to be able to load a folder with mp3's. I can load a folder with WAV for example. But when i add MP3 to the options it doesn't work.
Also i have a unjoin where i want to see the list in message boxes. Why does it only work with the first message box?

Chris Muir's icon

The filetype is Mp3, not MP3

Max Patch
Copy patch and select New From Clipboard in Max.

As far as the unjoin thing goes, umenu does not output a list, so there is a little work to do what i _think_ you want unjoin to do:

seejayjames's icon

read "maxfileformats.txt" in Cycling 74 folder for a complete list of the right codes (MooV for .mov, as an example).

Stephane Morisse's icon

Can't find the doc about fileformats...

Ben Bracken's icon

Just to clarify, it is actually "Mp3 ", as file types have to be four characters.

You can see all the Max file formats here:

Max6/Cycling '74/init/max-fileformats.txt

clankill3r's icon

thanks all.
And chris muir that's perfect! :)

How did you know about
[p list_gather]

since there is nothing written about the list_gather in the help.

clankill3r's icon

one more thing,
I use c74, a app for the iphone to have a connection between the iphone and max.
In order to use a sound i have to send a message like this:
sound testSound1 ~/Desktop/bewerkt_stukjes_mp3/06_robert.mp3
(for storing it on the iphone, not for playing).

Max Patch
Copy patch and select New From Clipboard in Max.

So making a lot of message boxes is probably a bad idea, it's better to create a list i suppose.
So atm i try to create a list with all those commands. Is a [umenu] the right type for that? And could someone please look why the second umenu in my list is not working.

Chris Muir's icon

I didn't "know" about list_gather, I created that sub-patcher as part of the main patcher, just to encapsulate a bit of functionality.

Max Patch
Copy patch and select New From Clipboard in Max.

I'm not sure what you want your second menu to be, but here's a take at generating the message you need:

clankill3r's icon
Max Patch
Copy patch and select New From Clipboard in Max.

thanks that is really helpfull.
I changed it a bit. I also added more textboxes. Is there a way to set the all at once with select?
There's a uzi now also to help with that.

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.
clankill3r's icon

thank you so much!!