Csound Csound-dev Csound-tekno Search About

[Csnd] chnget works but invalue does not?

Date2017-12-03 09:00
FromRichard
Subject[Csnd] chnget works but invalue does not?

In my python Csound server I pass a value from a slider with:

def setChan(self, chan, valu):
   self.csound.SetChannel(str(chan), float(valu))

in the running csd I noticed that invalue does not work:

kpit invalue "pitch"

but chnget does work:

kpit chnget "pitch"

Am I missing something?

Richard




Date2017-12-03 09:05
FromVictor Lazzarini
SubjectRe: [Csnd] chnget works but invalue does not?
yes, for invalue you need to set a callback.

http://csound.com/docs/api/group__CONTROLEVENTS.html

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 3 Dec 2017, at 09:00, Richard <zappfinger@GMAIL.COM> wrote:

In my python Csound server I pass a value from a slider with:

def setChan(self, chan, valu):
   self.csound.SetChannel(str(chan), float(valu))

in the running csd I noticed that invalue does not work:

kpit invalue "pitch"

but chnget does work:

kpit chnget "pitch"

Am I missing something?

Richard



Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here