[Pd] Symbols set by floats

Roman Haefeli reduzierer at yahoo.de
Sat Mar 11 13:20:06 CET 2006


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 at 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





More information about the Pd-list mailing list