| As far as I know (and I have to check the code), invalue/outvalue need to have callbacks set
by the host, and it may depend on whether the host has done this (if at all) in such a way
that the in and out channels are the same. The named bus is managed by Csound so you
can do directly from Csound code.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland
> On 24 May 2024, at 08:06, joachim heintz wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> hi all -
> there is somethin gin invalue/outvalue which i don't understand.
> i expected the code below to print the value of kVal as 10 after three
> seconds.
> but the outvalue in instrument 1 does not affect the "test" channel at all.
> it works when i replace invalue/outvalue by chnget/chnset.
> is this expected behaviour, or a bug in invalue/outvalue?
> thanks -
> joachim
>
> instr 1
> iVal = 10
> outvalue("test",iVal)
> endin
> schedule(1,3,1)
>
> instr 2
> kVal = invalue:k("test")
> printk 1,kVal
> endin
> schedule(2,0,10)
>
> 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
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 |