[Csnd] ctcsound to invalue vs chnget
Date | 2018-08-11 16:34 |
From | Richard |
Subject | [Csnd] ctcsound to invalue vs chnget |
I am trying the CsoundSession class by Francois Pinot, with the following added lines: if __name__ == '__main__': cs = CsoundSession("/Users/richard/PycharmProjects/OSCall/csds/Mono_Synth.csd") while 1: cs.setControlChannel('att', float(1.5)) cs.setControlChannel('rel', float(22.)) cs.setControlChannel('pitchglide', float(1.5)) time.sleep(1) print '.', The csd comes from CsoundQt and it uses invalues. This works fine in CsoundQt. But with my Python code it does not produce any sound. Also, I
got warnings about invalue callback not set. Why is that?
|
Date | 2018-08-11 16:45 |
From | Francois PINOT |
Subject | Re: [Csnd] ctcsound to invalue vs chnget |
Can you attach the csd? François 2018-08-11 17:34 GMT+02:00 Richard <zappfinger@gmail.com>:
|
Date | 2018-08-11 16:59 |
From | Tarmo Johannes |
Subject | Re: [Csnd] ctcsound to invalue vs chnget |
Hi, invalue requires a function to be set as callback to process the channel data and it up to user to write and set it. CsoundQt does it automatically in its code. chnget cnhset are more easy to use and in CsoundQt also more efficient, in fact. Hopefully this answers your question. Greetings, Tarmo 11.08.2018 18:34 kirjutas kuupäeval "Richard" <zappfinger@gmail.com>:
|
Date | 2018-08-11 19:36 |
From | Richard |
Subject | Re: [Csnd] ctcsound to invalue vs chnget |
Attachments | Mono_Synth.csd |
Of course, here it is..the invalue's are changed here to chnget's
so you might want to change them back... On 11/08/18 17:45, Francois PINOT
wrote:
|