random track selection

Nov 7, 2010 at 10:08am

random track selection

hello everyone,
Im a music student, with an intended project, but im very new to max, so i could do with some help.
The element that i am struggling with, is random track selection,

in very basic terms/ instructions,
how would i do this:

randomly pick a track from a folder of 6 tracks (all the same length)
play the track,
repeat this, each time picking a random track out of the six,

any help with this would be greatly appreciated,

Nov 7, 2010 at 1:20pm

The objects you want to look at are:

[opendialog], [folder] – pick a folder
[coll], [umenu] – store the paths to individual audio files
[random] – select which one to load
[buffer~] – load the audio file
[groove~], [play~] – play the file

You could also use [sfplay~] and [sflist~] instead. The helpfiles should be enough to get you up and running.

Nov 7, 2010 at 2:52pm

thanks, thats a great start, im sure with a few hours messing around, il be getting in the right dirrection

Nov 7, 2010 at 6:07pm

[urn] will give you “random without repeats” if you want, so it’ll play all 6, but in random order without repeating any of the tracks.

Nov 9, 2010 at 5:09pm

ok, so ive been playing around with these for many hours, but i still cant quite get it to work,
using the objects listed above, i think im placing them in the wrong order, what order would they need to be in, for the desired effect?

Nov 9, 2010 at 5:17pm

No offense but don’t the descriptions which Luke gave with each object make the order a bit obvious ?

Why not explain what exactly isn’t working or share the patch you have so far?

Nov 10, 2010 at 2:16pm

il see if i can up load a copy, it is probably obvious to most, but i am very new to this software, so not to me.


You must be logged in to reply to this topic.