Re: [Csnd] SetChannel value not received by CSound?
| Date | 2020-11-29 14:31 |
| From | Jarrad Hope |
| Subject | Re: [Csnd] SetChannel value not received by CSound? |
I solved this by the using the channel pointer
MYFLT *chan_param1;
csound->GetChannelPtr(chan_param1, "param1", CSOUND_CONTROL_CHANNEL | CSOUND_INPUT_CHANNEL);
*chan_param1 = (MYFLT)0.5;
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 |
| Date | 2020-11-29 19:46 |
| From | Rory Walsh |
| Subject | Re: [Csnd] SetChannel value not received by CSound? |
Can you post your full C++ code? The SetChannel() method just wraps the GetChannelPtr() function, so if it works, so should the other. On Sun, 29 Nov 2020 at 14:32, Jarrad Hope <me@jarradhope.com> wrote: I solved this by the using the channel pointer |