I am using general midi as a temporary tool. Each voice in my sequencer has a numberbox for selecting the instrument. I want to establish a list so that the label next to it will change to the name of the instrument associated with that number.
Is it possible to have a symbol in an element of an array? PD is giving me an error: error: pd-gminst.instrument: not a number error: set: no method for 'symbol'
Is there another simple way to do this?
-Chuckk
-- "It is not when truth is dirty, but when it is shallow, that the lover of knowledge is reluctant to step into its waters." -Friedrich Nietzsche, "Thus Spoke Zarathustra"
I'm trying to find some equivalent to $$1 in C. So that which element of the message gets passed on depends on the float input.
Isn't there an object that allows you to build messages in such a way?
On 3/10/06, Chuckk Hubbard badmuthahubbard@gmail.com wrote:
I am using general midi as a temporary tool. Each voice in my sequencer has a numberbox for selecting the instrument. I want to establish a list so that the label next to it will change to the name of the instrument associated with that number.
Is it possible to have a symbol in an element of an array? PD is giving me an error: error: pd-gminst.instrument: not a number error: set: no method for 'symbol'
Is there another simple way to do this?
-Chuckk
-- "It is not when truth is dirty, but when it is shallow, that the lover of knowledge is reluctant to step into its waters." -Friedrich Nietzsche, "Thus Spoke Zarathustra"
-- "It is not when truth is dirty, but when it is shallow, that the lover of knowledge is reluctant to step into its waters." -Friedrich Nietzsche, "Thus Spoke Zarathustra"
hi chuckk
you could try to do something with [list]. you could store the instr-names in a list. then you can get the name of the n-th instrument by getting the n-th element out of the list (see [list split]). there is also [index] from zexy, which is designed for assigning symbols to floats.
good luck roman
From: "Chuckk Hubbard" badmuthahubbard@gmail.com wrote:
I am using general midi as a temporary tool. Each voice in my sequencer has a numberbox for selecting the instrument. I want to establish a list so that the label next to it will change to the name of the instrument associated with that number.
Is it possible to have a symbol in an element of an array? PD is giving me an error: error: pd-gminst.instrument: not a number error: set: no method for 'symbol'
Is there another simple way to do this?
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
I'm having trouble finding documentation for [list]. I know I've seen it before, but I didn't take note of it.
Although in the process I discovered [addcomma $1( for 0.39. I had problems with 0.39 before, so I have been using 0.38, but I may have to try to switch. This way I can use a float to tell a message box which of a string of messages to pass on.
-Chuckk
On 3/11/06, Roman Haefeli reduzierer@yahoo.de wrote:
hi chuckk
you could try to do something with [list]. you could store the instr-names in a list. then you can get the name of the n-th instrument by getting the n-th element out of the list (see [list split]). there is also [index] from zexy, which is designed for assigning symbols to floats.
good luck roman
From: "Chuckk Hubbard" badmuthahubbard@gmail.com wrote:
I am using general midi as a temporary tool. Each voice in my sequencer has a numberbox for selecting the instrument. I want to establish a list so that the label next to it will change to the name of the instrument associated with that number.
Is it possible to have a symbol in an element of an array? PD is giving me an error: error: pd-gminst.instrument: not a number error: set: no method for 'symbol'
Is there another simple way to do this?
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
-- "It is not when truth is dirty, but when it is shallow, that the lover of knowledge is reluctant to step into its waters." -Friedrich Nietzsche, "Thus Spoke Zarathustra"
Hallo, Chuckk Hubbard hat gesagt: // Chuckk Hubbard wrote:
I'm having trouble finding documentation for [list]. I know I've seen it before, but I didn't take note of it.
The list-help.pd patch is not in Pd 0.38, but in 0.39. You also download it from the CVS at pure-data.sf.net
Another source of help could be my list-abs collection, if you want to see a lot of things that can be done with [list]. It is in CVS, too.
Frank Barknecht _ ______footils.org_ __goto10.org__