Hi All,
I just started using pd and so far it's been pretty amazing. I read up on the documentation concerning local variables and they seem to work pretty well except when you try to make local arrays. Entering the $0_<array name> simply deletes the $. I tried backslashing it ($_<array name>) but that just allows the array to keep it in it's name but doesn't do anything otherwise (other than screw some stuff up so you can't open the properties dialog for the array anymore). Any hints on how to get local array names to work?
In case you're wondering what i need this for, i'm programming a generic sampler which can be loaded up on the fly as needed, with each sampler having it's own local sample storage so i don't have to go around copy and pasting components into new windows all the time and then changing the variable names...
kruhft
this is a well known problem in pd, i solved it by using the table-object instead of an array. in some cases you can also rename the array with a message [;array_my_default_name rename new_name(. still looking _for another solution. sÃme
[object] [message(
----- Original Message ----- From: "Burton Samograd" kruhft@kruhftwerk.com To: pd-list@iem.kug.ac.at Sent: Wednesday, May 15, 2002 5:56 AM Subject: [PD] Local array names?
Hi All,
I just started using pd and so far it's been pretty amazing. I read
up
on the documentation concerning local variables and they seem to work pretty well except when you try to make local arrays. Entering the $0_<array name> simply deletes the $. I tried backslashing it ($_<array name>) but that just allows the array to keep it in it's name but doesn't do anything otherwise (other than screw some stuff up so you can't open the properties dialog for the array anymore). Any hints on how to get local array names to work?
In case you're wondering what i need this for, i'm programming a generic sampler which can be loaded up on the fly as needed, with each sampler having it's own local sample storage so i don't have to go around copy and pasting components into new windows all the time and then changing the variable names...
kruhft
sme hat gesagt: // sme wrote:
this is a well known problem in pd, i solved it by using the table-object instead of an array. in some cases you can also rename the array with a message [;array_my_default_name rename new_name(. still looking _for another solution.
There isn't one for now. You have to use [table $0-name], which IMO is quite clean for subpatches, because you normally don't need to see the array therein, so one more click to open the table after opening the subpatch is fine with me.
Frank Barknecht _ _______footils__
hi all,
since test23 arrays do accept dollars, sort of. Next release will have this feature fixed.
Krzysztof
Frank Barknecht wrote:
sme hat gesagt: // sme wrote:
...
this is a well known problem in pd, i solved it by using the table-object instead of an array. in some cases you can also rename the array with a message [;array_my_default_name rename new_name(. still looking _for another solution.
...
There isn't one for now. You have to use [table $0-name], which IMO is
http://www.nullpointer.co.uk/-/pd.htm
Hi,
I have put together a simple grain train like generator (link is above) Based on some of the stuff in Curtis R's new book and the SC app that's been knocking around for a while. I have just used a simple osc~ for source but you could use just about anything i suppose. I 'm sure theres some glitches in the procedure but it sounds ok so far. Just thought i'd post the link if anyone is interested.. Id love to see other peoples implementations of other granular like systems...
Tom
How many samples do you need to run? If it is up to six, something similar is already done, check my (modest) tool at http://home.arcor.de/jmmmp/. (you can run only the sampler if you want) If you have any other requests, please shoot. I am not working on that now mainly due to lack of time, but also of imagination.
João Miguel Pais ----- Original Message ----- From: "Burton Samograd" kruhft@kruhftwerk.com To: pd-list@iem.kug.ac.at Sent: Wednesday, May 15, 2002 5:56 AM Subject: [PD] Local array names?
Hi All,
I just started using pd and so far it's been pretty amazing. I read up on the documentation concerning local variables and they seem to work pretty well except when you try to make local arrays. Entering the $0_<array name> simply deletes the $. I tried backslashing it ($_<array name>) but that just allows the array to keep it in it's name but doesn't do anything otherwise (other than screw some stuff up so you can't open the properties dialog for the array anymore). Any hints on how to get local array names to work?
In case you're wondering what i need this for, i'm programming a generic sampler which can be loaded up on the fly as needed, with each sampler having it's own local sample storage so i don't have to go around copy and pasting components into new windows all the time and then changing the variable names...
kruhft