Jun 14, 2006 at 1:06pm
I am working on a very simple patch that randomly plays audio files by using lots of “open” message boxes connected to a SFlay~ object. This is impractical as I intend to use hundreds of files.
What I want to do is create a path to a folder containing all the files which i can add to.
I have looked at “ubumenu”, assigning it a folder (prefix) in the info box and using autopopulate. But I am not sure how to filter out everything apart from the aiff’s. i cannot get the types message to work.
Also I am not sure how to implement a random select function on “ubumenu”.
I have also been told to look at Sprintf but not entirely sure what it does and whether it would be useful in this context.
Any advice would be invaluable
Jun 14, 2006 at 2:34pm
here you go, this might help you out. you basically need to tell the folder objects which types of data to consider( text, movies, sound files etc… )
copy and paste this text in a new patcher window :
#P window setfont “Sans Serif” 9.;
Jun 14, 2006 at 4:01pm
Check out the following objects:
sflist~ (as it relates to various sfplay~ objects)
It’s fun once you get it.
Jun 14, 2006 at 4:39pm
Put this in the “filtered types” area in the “cmd-i info” of [ubumenu]
For random selection, use [random]. Use right outlet of sfplay~ to trigger
Jun 14, 2006 at 9:11pm
Hi Patrice, Karl and C
I eventually found this patch on the list by Manuel Poletti which does exactly what I want to do. (i don’t think i was that clear in my question)
http://www.cycling74.com/forums/index.php?t=msg&goto=320 53&rid=3903&S=caa61f3f1b3e4a8e5f5f3b60517def53&s rch=random+sample+play#msg_32053
Again thankyou for your quick responses and support.
You must be logged in to reply to this topic.