I'm wondering if there is a way to load a folder of audio files (to be read by [ readsf~ ]) into a Pd patch without having to specify all the filenames within the patch first. Possibly even through drag-and-drop?
-
Loading a folder of audio files
-
heyok, thanks. I've been playing with your patch but don't yet understand how to implement it. I've tried the following, but it doesn't work:
[bang]
|
[tof/folderpanel]
|
{symbol]
|
{makefilename %s/*.aif]
|
[rand_file] -
[bang(
|
[tof/folderpanel]
|
[symbol $1/*(
|
[rand_file] -
@RonHerrema Hello again Ron........
Here is the last zip with the folder name added to the "playback module"......
cart4.zip
[strippath] outputs everything following the last / in the symbol that it is "given"...
I hope that is what you are looking for.......
David. -
Thanks, David - that was way too easy. And yes, that is what I was looking for.
Cheers
-
@RonHerrema Yep!... it was easy.... but I am pleased that it helped....
David. -
Hi David
My wife is now doing workshops with this patch in Bangalore. It seems it's working great in general, but there's one student who gets the error message you see in this screenshot. Any ideas what might be happening?
-
@RonHerrema Hello Ron...... that is strange that only one student has this error. It is very good news as well for all of the others!
I cannot reproduce that error, but I cannot read the last few characters of the error message......
I can read wav/selection/* something...... is it 'asterix" "double-quote" after the forward slash?
If so then they are (normally) illegal characters in windows file and folder names, and I wonder if that student is running a different os?
David. -
Thanks, David - she's going to have a look at the file names. I think the student is running Windows.
cheers
-
Interesting topic, guys!
Do I understand right, that you try to assign numbers to samples that are used to select them out of a certain folder?
Loading audio files like that could easily be used for a sampler in the style of
"ParamDrum" http://reaktortips.com/2011/03/paramdrum-3-is-here.html
or "S-Layer" http://twistedtools.com/shop/reaktor/s-layer/ .
I could also imagine loading sample-combinations using an interactive genetic algorithm that lets you listen back new sample combinations in a certain mixture... really inspiring.
Think of combining that sample loading mechanism with a sequencer using a Markov-chain-matrix like used in
"sector" http://createdigitalmusic.com/2014/02/sector-stuttering-stochastic-sample-slicer-using-probability-curving-lines-ipad/ !
wicked...Yepp...I guess I'll use this stuff, too.
Great work!