when i create array named $1.$2.tab
pure data says: error: #1.$2.tab: argument number out of range
after that i can't edit array properties
wtf "#1" ?
it's a bug or feature?
object
Array bug
when i create array named $1.$2.tab
pure data says: error: #1.$2.tab: argument number out of range
after that i can't edit array properties
wtf "#1" ?
it's a bug or feature?
object
hopelessly microtonal
I think it's a problem with the properties dialog. Being able to put a $ variable in the middle of a symbol is a relatively new feature in Pd, but it seems properties only like it in the beginning. What are you trying to do? There's probably a way around it.
ok your using $1 to rename the array ?
@ShawnPD said:
Will just don't use a $ then
i have locality paranoia i always use $ in the names
@ShawnPD said:
ok your using $1 to rename the array ?
if i rename array, that's ok because $1 and $2 exspands to their values,
so table calls without $
$1 - parent $0,
$2 - name of parameter (for example "fm.attack") given in creation arguments,
$1.$2.tab - parameter dependence on the pitch
for my goals is ok to use
hopelessly microtonal
You could just name the array $0-whatever and have a [send $0-whatever] in the patch to send whatever messages to it you need.
[r $1.$2.tab]
|
If that doesn't suit your purposes, there's also [iem_tab/tab_copy], which can quickly copy the contents of the array to the
i would read this array from outside (that why i need $1)
hopelessly microtonal
Yes, that's why I suggested [tab_copy]. You could use the $1 etc. for a
thanx a lot for all your advice seriously
you're really pd-guru
but as i said: it's ok for me to use just
hopelessly microtonal
Hey mozz, it just occurred to me that there is a stupid simple solution to this. Instead of calling the array $1.$2.tab and sending it two separate arguments, just call it $1.tab and combine the two arguments into one.
[myabstraction $0.fm.attack]
in my abstraction i need $1 and $2 separately. my abstraction is so abstract
i allready found simplest way - just make table, not array.
hopelessly microtonal
Oops! Looks like something went wrong!