Csound Csound-dev Csound-tekno Search About

[Csnd] silly question

Date2010-03-01 19:00
Fromjoachim heintz
Subject[Csnd] silly question
hi all -

can anyone tell me why this



-n


instr 1
k0	 linseg 0, .1, 1
outvalue	"ho", k0
endin
instr 2
k1	 invalue	"ho"
printk2	k1
endin


i 1 0 1
i 2 0 1
e




doesn't work, but this



-n


instr 1
chn_k	 "ho", 3
k0	 linseg 0, .1, 1
chnset k0, "ho"
endin
instr 2
k1	 chnget	 "ho"
printk2	k1
endin


i 1 0 1
i 2 0 1
e



does?  Why are invalue/outvalue not working in this case?!?

Thanks for any clarification!!

	joachim


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-03-01 19:05
FromSteven Yi
Subject[Csnd] Re: silly question
I think invalue/outvalue use different sets of arrays for storing such
that that the in "channelName" and out "channelName", even with the
same name, are different channels.  I may be wrong though, as I don't
use invalue/outvalue.

On Mon, Mar 1, 2010 at 2:00 PM, joachim heintz  wrote:
> hi all -
>
> can anyone tell me why this
>
> 
> 
> -n
> 
> 
> instr 1
> k0       linseg 0, .1, 1
> outvalue        "ho", k0
> endin
> instr 2
> k1       invalue        "ho"
> printk2 k1
> endin
> 
> 
> i 1 0 1
> i 2 0 1
> e
> 
> 
>
>
> doesn't work, but this
>
> 
> 
> -n
> 
> 
> instr 1
> chn_k    "ho", 3
> k0       linseg 0, .1, 1
> chnset k0, "ho"
> endin
> instr 2
> k1       chnget  "ho"
> printk2 k1
> endin
> 
> 
> i 1 0 1
> i 2 0 1
> e
> 
> 
>
> does?  Why are invalue/outvalue not working in this case?!?
>
> Thanks for any clarification!!
>
>        joachim
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-03-01 20:12
FromVictor Lazzarini
Subject[Csnd] Re: silly question
Because invalue/outvalue will only work with a host that has  
implemented its callbacks. It's only meant for that application,   
whereas channels are more general.
Victor
On 1 Mar 2010, at 19:00, joachim heintz wrote:

> hi all -
>
> can anyone tell me why this
>
> 
> 
> -n
> 
> 
> instr 1
> k0	 linseg 0, .1, 1
> outvalue	"ho", k0
> endin
> instr 2
> k1	 invalue	"ho"
> printk2	k1
> endin
> 
> 
> i 1 0 1
> i 2 0 1
> e
> 
> 
>
>
> doesn't work, but this
>
> 
> 
> -n
> 
> 
> instr 1
> chn_k	 "ho", 3
> k0	 linseg 0, .1, 1
> chnset k0, "ho"
> endin
> instr 2
> k1	 chnget	 "ho"
> printk2	k1
> endin
> 
> 
> i 1 0 1
> i 2 0 1
> e
> 
> 
>
> does?  Why are invalue/outvalue not working in this case?!?
>
> Thanks for any clarification!!
>
> 	joachim
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-03-01 21:06
Fromjoachim heintz
Subject[Csnd] Re: Re: silly question
ok - thanks!
	joachim


Am 01.03.2010 um 21:12 schrieb Victor Lazzarini:

> Because invalue/outvalue will only work with a host that has  
> implemented its callbacks. It's only meant for that application,   
> whereas channels are more general.
> Victor
> On 1 Mar 2010, at 19:00, joachim heintz wrote:
>
>> hi all -
>>
>> can anyone tell me why this
>>
>> 
>> 
>> -n
>> 
>> 
>> instr 1
>> k0	 linseg 0, .1, 1
>> outvalue	"ho", k0
>> endin
>> instr 2
>> k1	 invalue	"ho"
>> printk2	k1
>> endin
>> 
>> 
>> i 1 0 1
>> i 2 0 1
>> e
>> 
>> 
>>
>>
>> doesn't work, but this
>>
>> 
>> 
>> -n
>> 
>> 
>> instr 1
>> chn_k	 "ho", 3
>> k0	 linseg 0, .1, 1
>> chnset k0, "ho"
>> endin
>> instr 2
>> k1	 chnget	 "ho"
>> printk2	k1
>> endin
>> 
>> 
>> i 1 0 1
>> i 2 0 1
>> e
>> 
>> 
>>
>> does?  Why are invalue/outvalue not working in this case?!?
>>
>> Thanks for any clarification!!
>>
>> 	joachim
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"