Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] chnget....

Date2006-05-16 21:24
From"Art Hunkins"
SubjectRe: [Cs-dev] chnget....
Yes, and I'd like to use chnget in the header with *massign*:
gichan chnget "Channel"
massign gichan, -1
where "Channel" is a Lettuce widget value.

The idea here is for the performer, in a standalone Lettuce .exe, to be able
to select his/her MIDI channel (according to the MIDI device being used) and
be able to have the notes played by any orch instrument that responds to
notes (that's the point of the massign statement). My only other *current*
option (I've other possible requests up my sleeve) is to list massign 16
times, once for each channel - or some similar "loop."

Art Hunkins

----- Original Message ----- 
From: "Rory Walsh" 
To: 
Sent: Tuesday, May 16, 2006 1:55 PM
Subject: Re: [Cs-dev] chnget....


> In my host api I send out a message on the channel "pitch" just after
> csoundCompile(). This message is caught within the instrument like this:
>
> ;works...
> instr 1
> ivalue chnget "pitch"
> print ivalue
> endin
>
> but not when I do this:
>
> ;does not work....
> givalue chnget "pitch"
> instr 1
> print givalue
> endin
>
> I don't want to set the value as there is already a value there on that
> channel. Do you see what I mean? I know that this won't help with the SR
> problem but it would be nice all the same. Of course I can just have one
> instrument that passes my GUI controls initialisation values to global
> variables but it would be nice to it similar to the example at the top.
>
> Rory.
>
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net