is there a possibility to load soundfiles with a kind of "open dialogue" into an array, so i can choose a file in a sample-library? i only know how to load a file by the [soundfiler] withe the [read( message, but with this method, it's only possible to load one specific file! any ideas?
-
Open dialogue for loading wav files into an array
-
does [openpanel] do what you want? perhaps a whole bunch of tables and a [route]?
any technology distinguishable from magic
is insufficiently advanced. -
hi, thank you for your reply!
this semms to be possible solution, i used the [openpanel] in combination with the [soundfiler] like this:[bang(
l
[openpanel]
l
[read -resize $1 array1(
l
[soundfiler]this works so far, but there is one little problem: the -resize argument in the read message doesn't seem to work now! is there a way to get this to run?
is the $-variable in the read message ok? i'm stil new to pd....
thanks and sorry for my poor english... -
how big are the sounds you want to load? pd truncates them at 400000 samples, I think. also, careful the mono/stereo thing.
any technology distinguishable from magic
is insufficiently advanced. -
400000? about 10 seconds.... no, the testet samples were drumloops under 10 seconds, definitely! and they are all in mono, i'm pretty sure.... but i will check this out again!
-
ok, i found out, what the problem was - the resize argument worked, but there was another external, that needed the correct samplelength - i solved the problem, with feeding the soundfiler output to this module.... thanks for the help!