Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Csound7 - chnset k(0), "channel" does not work

Date2024-09-11 08:20
FromTarmo Johannes
Subject[Csnd-dev] Csound7 - chnset k(0), "channel" does not work
Hi!

Is this is a bug (I guess so) in Csound7:

chnset k(0), "test" ; gives error: opcode 'k' for expression with arg types cS not found

when

kValue = 0

chnset kValue, "test" ; works


and

printk 1, k(0) ; works


Should I file an issue?


Greetings,

tarmo



Date2024-09-11 08:44
Fromvlz
SubjectRe: [Csnd-dev] Csound7 - chnset k(0), "channel" does not work
it's a known issue, in the tracker.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 11 Sep 2024, at 08:21, Tarmo Johannes  wrote:
> 
> 
> Hi!
> 
> Is this is a bug (I guess so) in Csound7:
> 
> chnset k(0), "test" ; gives error: opcode 'k' for expression with arg types cS not found
> 
> when
> 
> kValue = 0
>  chnset kValue, "test" ; works
> 
> and
> 
> printk 1, k(0) ; works
> 
> Should I file an issue?
> 
> Greetings,
> tarmo
> 

Date2024-09-11 09:52
Fromvlz
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Csound7 - chnset k(0), "channel" does not work
For reference,

https://github.com/csound/csound/issues/1697

> On 11 Sep 2024, at 08:44, vlz  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.
> 
> it's a known issue, in the tracker.
> 
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 11 Sep 2024, at 08:21, Tarmo Johannes  wrote:
>> 
>> 
>> Hi!
>> 
>> Is this is a bug (I guess so) in Csound7:
>> 
>> chnset k(0), "test" ; gives error: opcode 'k' for expression with arg types cS not found
>> 
>> when
>> 
>> kValue = 0
>> chnset kValue, "test" ; works
>> 
>> and
>> 
>> printk 1, k(0) ; works
>> 
>> Should I file an issue?
>> 
>> Greetings,
>> tarmo
>> 

Date2024-09-11 12:10
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Csound7 - chnset k(0), "channel" does not work
Just to complement the discussion, there are three know backward-compatibility issues

1) k() https://github.com/csound/csound/issues/1697
2) multiple variable assignment  (ivar1, ivar2 = 1, 2) https://github.com/csound/csound/issues/1801
3) newline in expressions https://github.com/csound/csound/issues/1886


========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 11 Sep 2024, at 08:20, Tarmo Johannes  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!
> 
> Is this is a bug (I guess so) in Csound7:
> 
> chnset k(0), "test" ; gives error: opcode 'k' for expression with arg types cS not found
> 
> when
> 
> kValue = 0
> chnset kValue, "test" ; works
> 
> and
> 
> printk 1, k(0) ; works
> 
> Should I file an issue?
> 
> Greetings,
> tarmo
>