Hello,
I would like to have "readsf~" read .aiff files that I place in a folder without having to enter each name. Is this possible? What if I would like to randomize the order of the playback?
Thanks for your help,
multijd
-
"readsf~" from folder/directory? also randomize.
-
You can use my [bb_filebrowser] abstraction (download here: http://bitsynthesis.com/pd)
Put it in the same folder as your other abstractions, or in the same folder as your current patch, and call it like so:
[bb_filebrowser aiff]
The right outlet will display the number of files matching your given extension (aiff) in the currently loaded directory, and you can use that to set the range of a [random] or [shuffle] object, which can then select files by sending an index number into the inlet of [bb_filebrowser].
See the included help patch for more information.
-
thanks for your abstractions! nice web page and cool abstractions!
-
Thanks pd123 I'll let you know how things progress.
-
Hi
I am new to Puredata and have managed to make my first patch which consists of a GEMwindow which picks files from a folder and is meant to shuffle them each time it is opened so that a different movie file is played in no particular order.The code I am using is giving me a bit of trouble and I would like to use your code pd123.
Would you please explain to me a little further what you mean by"The right outlet will display the number of files matching your given extension (aiff) in the currently loaded directory, and you can use that to set the range of a [random] or [shuffle] object, which can then select files by sending an index number into the inlet of [bb_filebrowser]."
I have looked at your patches provided and am unsure where I need to 'set the range'
thankyou