matthias tarasiewicz wrote:
i wanted to enhance the sampler example patch included in the last version of pd but had problems to apply some objects to let the user choose the file that is sampled from.... in max this is very easy, but i couldn't figure it out on pd.. maybe someone knows how to solve this problem -
i guess you want a fileselector box for opening/saving samples. look at the documentation of openpanel, savepanel and soundfiler.
e.g. for opening files, you could do:
message: "bang" --> openpanel --> message: "read $1 array1" --> soundfiler
(assuming you created an array called array1 to hold the sample)
hope this helps
norbert