Csound Csound-dev Csound-tekno Search About

[Csnd] Announcement from the developers

Date2022-02-05 19:29
FromJohn
Subject[Csnd] Announcement from the developers
Development of Csound has now moved to version 7.0.  This means that
Csound 6 is now in maintenance mode.

Version 7.0 is in the develop branch and a new csound6 branch has
been created to produce 6.x updates to fix bugs until we release 7.0.

==John ffitch

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

Date2022-02-05 20:00
Fromjoachim heintz
SubjectRe: [Csnd] Announcement from the developers
wonderful!!!!!
very much looking forward to csound7, and happy to try anything once it 
is in the test state.
thanks for your work on it -
	joachim


On 05/02/2022 20:29, John wrote:
> Development of Csound has now moved to version 7.0.  This means that
> Csound 6 is now in maintenance mode.
> 
> Version 7.0 is in the develop branch and a new csound6 branch has
> been created to produce 6.x updates to fix bugs until we release 7.0.
> 
> ==John ffitch
> 
> 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

Date2022-02-05 21:37
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Announcement from the developers
It builds and you can test it. There's a new parser in place already with several new possibilities.

We'll try to keep it building and running throughout development, although it may get broken from time to time.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 5 Feb 2022, at 20:00, 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.
> 
> wonderful!!!!!
> very much looking forward to csound7, and happy to try anything once it
> is in the test state.
> thanks for your work on it -
>       joachim
> 
> 
>> On 05/02/2022 20:29, John wrote:
>> Development of Csound has now moved to version 7.0.  This means that
>> Csound 6 is now in maintenance mode.
>> 
>> Version 7.0 is in the develop branch and a new csound6 branch has
>> been created to produce 6.x updates to fix bugs until we release 7.0.
>> 
>> ==John ffitch
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=m9nB%2FSbU28kRuBJqDqU2qZHS3XqMAZMSwmfNgNkMHlo%3D&reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9SOv7WpDMROpy6dJi%2FbJkwRmVltQYSlA40AU4YPUvHE%3D&reserved=0
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=m9nB%2FSbU28kRuBJqDqU2qZHS3XqMAZMSwmfNgNkMHlo%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9SOv7WpDMROpy6dJi%2FbJkwRmVltQYSlA40AU4YPUvHE%3D&reserved=0
> 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

Date2022-02-05 21:53
Fromjoachim heintz
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Announcement from the developers
and how can csound6 and csound7 be used in parallel?
i'd like to test, but when i have a concert i would prefer to play with 
csound6 ...


On 05/02/2022 22:37, Victor Lazzarini wrote:
> It builds and you can test it. There's a new parser in place already with several new possibilities.
> 
> We'll try to keep it building and running throughout development, although it may get broken from time to time.
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 5 Feb 2022, at 20:00, 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.
>>
>> wonderful!!!!!
>> very much looking forward to csound7, and happy to try anything once it
>> is in the test state.
>> thanks for your work on it -
>>        joachim
>>
>>
>>> On 05/02/2022 20:29, John wrote:
>>> Development of Csound has now moved to version 7.0.  This means that
>>> Csound 6 is now in maintenance mode.
>>>
>>> Version 7.0 is in the develop branch and a new csound6 branch has
>>> been created to produce 6.x updates to fix bugs until we release 7.0.
>>>
>>> ==John ffitch
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=m9nB%2FSbU28kRuBJqDqU2qZHS3XqMAZMSwmfNgNkMHlo%3D&reserved=0
>>> Send bugs reports to
>>>          https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9SOv7WpDMROpy6dJi%2FbJkwRmVltQYSlA40AU4YPUvHE%3D&reserved=0
>>> Discussions of bugs and features can be posted here
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=m9nB%2FSbU28kRuBJqDqU2qZHS3XqMAZMSwmfNgNkMHlo%3D&reserved=0
>> Send bugs reports to
>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C14f675610e9145fe80a308d9e8e21e31%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796880134498350%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9SOv7WpDMROpy6dJi%2FbJkwRmVltQYSlA40AU4YPUvHE%3D&reserved=0
>> 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

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

Date2022-02-05 22:07
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Announcement from the developers
Maybe use a different CMAKE_INSTALL_PREFIX?

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 5 Feb 2022, at 21:55, joachim heintz  wrote:
> 
> and how can csound6 and csound7 be used in parallel?
> i'd like to test, but when i have a concert i would prefer to play with csound6 ...
> 
> 
>> On 05/02/2022 22:37, Victor Lazzarini wrote:
>> It builds and you can test it. There's a new parser in place already with several new possibilities.
>> We'll try to keep it building and running throughout development, although it may get broken from time to time.
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>>> On 5 Feb 2022, at 20:00, 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.
>>> 
>>> wonderful!!!!!
>>> very much looking forward to csound7, and happy to try anything once it
>>> is in the test state.
>>> thanks for your work on it -
>>>       joachim
>>> 
>>> 
>>>> On 05/02/2022 20:29, John wrote:
>>>> Development of Csound has now moved to version 7.0.  This means that
>>>> Csound 6 is now in maintenance mode.
>>>> 
>>>> Version 7.0 is in the develop branch and a new csound6 branch has
>>>> been created to produce 6.x updates to fix bugs until we release 7.0.
>>>> 
>>>> ==John ffitch
>>>> 
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&reserved=0
>>>> Send bugs reports to
>>>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&reserved=0
>>>> Discussions of bugs and features can be posted here
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&reserved=0
>>> Send bugs reports to
>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&reserved=0
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&reserved=0
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&reserved=0
> 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

Date2022-02-05 22:29
FromDave Seidel
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Announcement from the developers
Or perhaps use a different Docker container for each version..

On Sat, Feb 5, 2022 at 5:07 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
Maybe use a different CMAKE_INSTALL_PREFIX?

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 5 Feb 2022, at 21:55, joachim heintz <jh@joachimheintz.de> wrote:
>
> and how can csound6 and csound7 be used in parallel?
> i'd like to test, but when i have a concert i would prefer to play with csound6 ...
>
>
>> On 05/02/2022 22:37, Victor Lazzarini wrote:
>> It builds and you can test it. There's a new parser in place already with several new possibilities.
>> We'll try to keep it building and running throughout development, although it may get broken from time to time.
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>>> On 5 Feb 2022, at 20:00, joachim heintz <jh@joachimheintz.de> 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.
>>>
>>> wonderful!!!!!
>>> very much looking forward to csound7, and happy to try anything once it
>>> is in the test state.
>>> thanks for your work on it -
>>>       joachim
>>>
>>>
>>>> On 05/02/2022 20:29, John wrote:
>>>> Development of Csound has now moved to version 7.0.  This means that
>>>> Csound 6 is now in maintenance mode.
>>>>
>>>> Version 7.0 is in the develop branch and a new csound6 branch has
>>>> been created to produce 6.x updates to fix bugs until we release 7.0.
>>>>
>>>> ==John ffitch
>>>>
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&amp;reserved=0
>>>> Send bugs reports to
>>>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&amp;reserved=0
>>>> Discussions of bugs and features can be posted here
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&amp;reserved=0
>>> Send bugs reports to
>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&amp;reserved=0
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&amp;reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=s9towbRzXf3v4w5UYMsQW6khYL6Ebp362M74jNV0zWs%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C31462a7faca349550fbe08d9e8f20aa6%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637796949259337745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=TpIhaa60SD2di%2BHiSgMpEApmhoULkW2HHRE4cpwV5mY%3D&amp;reserved=0
> 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
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

Date2022-02-06 00:37
Fromluis jure
Subject[Csnd] Questions/requests [was Re: [Csnd] Announcement from the developers]
el Sat, 5 Feb 2022 21:37:25 +0000
Victor Lazzarini  escribió:

> It builds and you can test it. There's a new parser in place already
> with several new possibilities.


Thanks for this, I intend to build and test as soon as I have some time.

I have two related questions/requests (I haven't kept up with all the
new features in Csound for some time, so please excuse me if I'm way off
here):

1. Is it/would it be possible for envelope opcodes (envelope and
lineexp) to accept an array of values as input? 

2. Is it/would it be possible to use an array as a p-field in the score?

Would those be viable requests for Csound7?


-- 
ljc 

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

Date2022-02-06 10:58
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests [was Re: [Csnd] Announcement from the developers]
> 
> I have two related questions/requests (I haven't kept up with all the
> new features in Csound for some time, so please excuse me if I'm way off
> here):
> 
> 1. Is it/would it be possible for envelope opcodes (envelope and
> lineexp) to accept an array of values as input?

I don't see why this can't be done right now, it would be just another overload of an opcode. We can do it any time. For example, ftgen has one such overload. Provided the list of parameters is of the same type, we can create a version with an array.

> 2. Is it/would it be possible to use an array as a p-field in the score?

This is not possible because the numeric score is a completely separate element, has a different syntax etc. We would first need to think of what an array would be in the score, and introduce that. There are no big plans for the numeric score.

However, as in 1., the schedule etc opcode could be developed to have an array overload.

> Would those be viable requests for Csound7?
> 
> 
> --
> ljc 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Cb24693fc107a48d36cee08d9e908fcac%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797047615929757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=5SzNHFZNaviAOTArB438PF2dS%2FkEPOpD2KNHYzVbxuw%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Cb24693fc107a48d36cee08d9e908fcac%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797047615929757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2ByLkGYCxoUkYSaLZgDoinHedFmCbvGc5BjnUla4ZOdk%3D&reserved=0
> 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

Date2022-02-06 14:42
Fromluis jure
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
el Sun, 6 Feb 2022 10:58:04 +0000
Victor Lazzarini  escribió:

> > 1. Is it/would it be possible for envelope opcodes (envelope and
> > lineexp) to accept an array of values as input?
> 
> I don't see why this can't be done right now, it would be just
> another overload of an opcode. We can do it any time.

That would be great, thanks!

> > 2. Is it/would it be possible to use an array as a p-field in the
> > score?
> 
> This is not possible because the numeric score is a completely
> separate element, has a different syntax etc.

I see.

> However, as in 1., the schedule etc opcode could be developed to have
> an array overload.

Yes, I can imagine that could be useful in some situations, but I assume
it wouldn't solve the issue. Or it would? I mean, you still couldn't
use an array as one (or more) of the p-fields within the array passed
to sched*, right?

On an indirectly related note: I assume that the limitation of no more
than one string per scoreline still holds, and that there are no plans
to change that, am I right?

Thanks for your attention.

-- 
ljc 

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

Date2022-02-06 15:18
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
That limitation was removed on 6.0 or even before. 

With schedule, I presume the idea would be that you have the following form

iArr[] fillarray 1,0,1,0dbfs,A4
schedule(iArr)


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 6 Feb 2022, at 14:43, luis jure  wrote:
> 
> el Sun, 6 Feb 2022 10:58:04 +0000
> Victor Lazzarini  escribió:
> 
>>> 1. Is it/would it be possible for envelope opcodes (envelope and
>>> lineexp) to accept an array of values as input?
>> 
>> I don't see why this can't be done right now, it would be just
>> another overload of an opcode. We can do it any time.
> 
> That would be great, thanks!
> 
>>> 2. Is it/would it be possible to use an array as a p-field in the
>>> score?
>> 
>> This is not possible because the numeric score is a completely
>> separate element, has a different syntax etc.
> 
> I see.
> 
>> However, as in 1., the schedule etc opcode could be developed to have
>> an array overload.
> 
> Yes, I can imagine that could be useful in some situations, but I assume
> it wouldn't solve the issue. Or it would? I mean, you still couldn't
> use an array as one (or more) of the p-fields within the array passed
> to sched*, right?
> 
> On an indirectly related note: I assume that the limitation of no more
> than one string per scoreline still holds, and that there are no plans
> to change that, am I right?
> 
> Thanks for your attention.
> 
> -- 
> ljc 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Ca8e60934f41c4b086de408d9e97ef6ab%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797554291164758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=dd16CFsutSdCjqLbzSYzVZlxt2%2BuVNTJauCH64oWpRc%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Ca8e60934f41c4b086de408d9e97ef6ab%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797554291164758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=oI6bCvrA8k7994YTIxsmY43IcxU5b02royoTS4EDgGM%3D&reserved=0
> 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

Date2022-02-06 16:41
FromEduardo Moguillansky
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests

On 06.02.22 15:42, luis jure wrote:
el Sun, 6 Feb 2022 10:58:04 +0000
Victor Lazzarini <Victor.Lazzarini@MU.IE> escribió:

1. Is it/would it be possible for envelope opcodes (envelope and
lineexp) to accept an array of values as input?
I don't see why this can't be done right now, it would be just
another overload of an opcode. We can do it any time.
That would be great, thanks!

2. Is it/would it be possible to use an array as a p-field in the
score?
This is not possible because the numeric score is a completely
separate element, has a different syntax etc.
I see.

However, as in 1., the schedule etc opcode could be developed to have
an array overload.
Yes, I can imagine that could be useful in some situations, but I assume
it wouldn't solve the issue. Or it would? I mean, you still couldn't
use an array as one (or more) of the p-fields within the array passed
to sched*, right?

I created an opcode some time ago for this purpose:

https://csound-plugins.github.io/risset-docs/opcodes/ref.html


    
instr 1
  iArr[] fillarray 1, 1, 2, 3, 5, 8
  schedule 2, 1, -1, ref(iArr), "foo", "bar"
endin

    
instr 2
  iArr[] = deref(p4)
  Str1 = p5
  Str2 = p6
  printarray iArr
  prints "Str1: %s, Str2: %s\n", Str1, Str2
  turnoff
endin

schedule 1, 0, 10

It can be used to pass arrays by reference between instruments and opcodes (in the case of opcodes arrays are passed by value so this method is more efficient)


On an indirectly related note: I assume that the limitation of no more
than one string per scoreline still holds, and that there are no plans
to change that, am I right?

Thanks for your attention.


Date2022-02-06 16:49
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
That's a good idea. Something like that is planned to be part of the language now that the new parser is there.  This is much easier to maintain and extend.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 6 Feb 2022, at 16:42, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:



On 06.02.22 15:42, luis jure wrote:
el Sun, 6 Feb 2022 10:58:04 +0000
Victor Lazzarini <Victor.Lazzarini@MU.IE> escribió:

1. Is it/would it be possible for envelope opcodes (envelope and
lineexp) to accept an array of values as input?
I don't see why this can't be done right now, it would be just
another overload of an opcode. We can do it any time.
That would be great, thanks!

2. Is it/would it be possible to use an array as a p-field in the
score?
This is not possible because the numeric score is a completely
separate element, has a different syntax etc.
I see.

However, as in 1., the schedule etc opcode could be developed to have
an array overload.
Yes, I can imagine that could be useful in some situations, but I assume
it wouldn't solve the issue. Or it would? I mean, you still couldn't
use an array as one (or more) of the p-fields within the array passed
to sched*, right?

I created an opcode some time ago for this purpose:

https://csound-plugins.github.io/risset-docs/opcodes/ref.html


instr 1
  iArr[] fillarray 1, 1, 2, 3, 5, 8
  schedule 2, 1, -1, ref(iArr), "foo", "bar"
endin

instr 2
  iArr[] = deref(p4)
  Str1 = p5
  Str2 = p6
  printarray iArr
  prints "Str1: %s, Str2: %s\n", Str1, Str2
  turnoff
endin

schedule 1, 0, 10

It can be used to pass arrays by reference between instruments and opcodes (in the case of opcodes arrays are passed by value so this method is more efficient)



On an indirectly related note: I assume that the limitation of no more
than one string per scoreline still holds, and that there are no plans
to change that, am I right?

Thanks for your attention.

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

Date2022-02-06 17:23
Fromluis jure
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
el Sun, 6 Feb 2022 15:18:13 +0000
Victor Lazzarini  escribió:

> That limitation was removed on 6.0 or even before. 

Really? That's great, I think the manual page should be updated
accordingly:

https://csound.com/docs/manual/ScoreStrings.html

> With schedule, I presume the idea would be that you have the
> following form
> 
> iArr[] fillarray 1,0,1,0dbfs,A4
> schedule(iArr)

Exactly, what I mean is that still you can't have an array in a p-field.

BTW, any pointers on how to convert a string with sub-strings separated
by a delimiter (for example, a coma) into an array of values?

In your previous example, how could I convert the string
"1,0,1,0dbfs,A4" into the array [1,0,1,0dbfs,A4]?

(Again, sorry if this is something I should know, but I've been out of
touch with Csound for some time..)


-- 
ljc 

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

Date2022-02-06 17:32
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
Yes, a long time ago. If it still says so in the
manual, it's been wrong for maybe ten years.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 6 Feb 2022, at 17:24, luis jure  wrote:
> 
> el Sun, 6 Feb 2022 15:18:13 +0000
> Victor Lazzarini  escribió:
> 
>> That limitation was removed on 6.0 or even before. 
> 
> Really? That's great, I think the manual page should be updated
> accordingly:
> 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcsound.com%2Fdocs%2Fmanual%2FScoreStrings.html&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Ceaf463e63b29440e65f208d9e995719c%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797650947345351%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xkIyF3%2F9cYZo0%2B0LO5jHwGxwbbZ2tbqa%2BTq7rtHME1A%3D&reserved=0
> 
>> With schedule, I presume the idea would be that you have the
>> following form
>> 
>> iArr[] fillarray 1,0,1,0dbfs,A4
>> schedule(iArr)
> 
> Exactly, what I mean is that still you can't have an array in a p-field.
> 
> BTW, any pointers on how to convert a string with sub-strings separated
> by a delimiter (for example, a coma) into an array of values?
> 
> In your previous example, how could I convert the string
> "1,0,1,0dbfs,A4" into the array [1,0,1,0dbfs,A4]?
> 
> (Again, sorry if this is something I should know, but I've been out of
> touch with Csound for some time..)
> 
> 
> -- 
> ljc 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Ceaf463e63b29440e65f208d9e995719c%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797650947345351%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ELkNHxX2zSG5tMcCe%2BXrCmxXkG%2Bt%2BqYVCaV6n9h%2FWf4%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7Ceaf463e63b29440e65f208d9e995719c%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637797650947345351%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Ih5BS4020gapv1e%2BOyciSsMNYmU%2BdzJOqiCleueUyf0%3D&reserved=0
> 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

Date2022-02-06 17:37
Fromjoachim heintz
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
very much agreed.  this feature is perhaps the one which i miss most in 
daily work with csound.


On 06/02/2022 17:49, Victor Lazzarini wrote:
> That's a good idea. Something like that is planned to be part of the 
> language now that the new parser is there.  This is much easier to 
> maintain and extend.
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 6 Feb 2022, at 16:42, Eduardo Moguillansky 
>>  wrote:
>>
>> 
>>
>> On 06.02.22 15:42, luis jure wrote:
>>> el Sun, 6 Feb 2022 10:58:04 +0000
>>> Victor Lazzarini  escribió:
>>>
>>>>> 1. Is it/would it be possible for envelope opcodes (envelope and
>>>>> lineexp) to accept an array of values as input?
>>>> I don't see why this can't be done right now, it would be just
>>>> another overload of an opcode. We can do it any time.
>>> That would be great, thanks!
>>>
>>>>> 2. Is it/would it be possible to use an array as a p-field in the
>>>>> score?
>>>> This is not possible because the numeric score is a completely
>>>> separate element, has a different syntax etc.
>>> I see.
>>>
>>>> However, as in 1., the schedule etc opcode could be developed to have
>>>> an array overload.
>>> Yes, I can imagine that could be useful in some situations, but I assume
>>> it wouldn't solve the issue. Or it would? I mean, you still couldn't
>>> use an array as one (or more) of the p-fields within the array passed
>>> to sched*, right?
>>
>> I created an opcode some time ago for this purpose:
>>
>> https://csound-plugins.github.io/risset-docs/opcodes/ref.html
>>
>> instr 1
>>    iArr[] fillarray 1, 1, 2, 3, 5, 8
>>    schedule 2, 1, -1, ref(iArr), "foo", "bar"
>> endin
>> instr 2
>>    iArr[] = deref(p4)
>>    Str1 = p5
>>    Str2 = p6
>>    printarray iArr
>>    prints "Str1: %s, Str2: %s\n", Str1, Str2
>>    turnoff
>> endin
>>
>> schedule 1, 0, 10
>>
>> It can be used to pass arrays by reference between instruments and 
>> opcodes (in the case of opcodes arrays are passed by value so this 
>> method is more efficient)
>>
>>> On an indirectly related note: I assume that the limitation of no more
>>> than one string per scoreline still holds, and that there are no plans
>>> to change that, am I right?
>>>
>>> Thanks for your attention.
>>>
>> 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

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

Date2022-02-06 18:02
FromEduardo Moguillansky
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests

The implementation would be much safer if the ARRAYDAT structure would gain some metadata regarding memory ownership, because this approach will fail if an array which was de-referenced from another is placed again at the left side of an operation which might cause reallocation. Such a change would even be backwards compatible, since at the moment it is always assumed that an array owns its memory. It would just make things safer for future implementations which can mark such wrong usages as errors.

Another use case for such a flag would be the possibility of accessing tables as if they were scalar arrays by creating an array as an alias to a table, or to create an array as a slice of another one (for example, to iterate over rows of a 2d array), as implemented here:

https://csound-plugins.github.io/risset-docs/opcodes/memview.html

On 06.02.22 17:49, Victor Lazzarini wrote:
That's a good idea. Something like that is planned to be part of the language now that the new parser is there.  This is much easier to maintain and extend.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 6 Feb 2022, at 16:42, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:


On 06.02.22 15:42, luis jure wrote:
el Sun, 6 Feb 2022 10:58:04 +0000
Victor Lazzarini <Victor.Lazzarini@MU.IE> escribió:

1. Is it/would it be possible for envelope opcodes (envelope and
lineexp) to accept an array of values as input?
I don't see why this can't be done right now, it would be just
another overload of an opcode. We can do it any time.
That would be great, thanks!

2. Is it/would it be possible to use an array as a p-field in the
score?
This is not possible because the numeric score is a completely
separate element, has a different syntax etc.
I see.

However, as in 1., the schedule etc opcode could be developed to have
an array overload.
Yes, I can imagine that could be useful in some situations, but I assume
it wouldn't solve the issue. Or it would? I mean, you still couldn't
use an array as one (or more) of the p-fields within the array passed
to sched*, right?

I created an opcode some time ago for this purpose:

https://csound-plugins.github.io/risset-docs/opcodes/ref.html

instr 1
  iArr[] fillarray 1, 1, 2, 3, 5, 8
  schedule 2, 1, -1, ref(iArr), "foo", "bar"
endin
instr 2
  iArr[] = deref(p4)
  Str1 = p5
  Str2 = p6
  printarray iArr
  prints "Str1: %s, Str2: %s\n", Str1, Str2
  turnoff
endin

schedule 1, 0, 10

It can be used to pass arrays by reference between instruments and opcodes (in the case of opcodes arrays are passed by value so this method is more efficient)

On an indirectly related note: I assume that the limitation of no more
than one string per scoreline still holds, and that there are no plans
to change that, am I right?

Thanks for your attention.

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

Date2022-02-06 18:13
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
yes, that all sounds good. The use of tables as arrays and vice-versa should be transparent. We did something towards that in csound 6 and I think it can be built on.

Good discussion to have, but I think we could do it in the dev list instead of here.

Btw all but maybe a couple of the open tickets are enhancement requests for csound 7. There's about 80 of them!

Prof. Victor Lazzarini
Maynooth University
Ireland

On 6 Feb 2022, at 18:02, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:



The implementation would be much safer if the ARRAYDAT structure would gain some metadata regarding memory ownership, because this approach will fail if an array which was de-referenced from another is placed again at the left side of an operation which might cause reallocation. Such a change would even be backwards compatible, since at the moment it is always assumed that an array owns its memory. It would just make things safer for future implementations which can mark such wrong usages as errors.

Another use case for such a flag would be the possibility of accessing tables as if they were scalar arrays by creating an array as an alias to a table, or to create an array as a slice of another one (for example, to iterate over rows of a 2d array), as implemented here:

https://csound-plugins.github.io/risset-docs/opcodes/memview.html

On 06.02.22 17:49, Victor Lazzarini wrote:
That's a good idea. Something like that is planned to be part of the language now that the new parser is there.  This is much easier to maintain and extend.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 6 Feb 2022, at 16:42, Eduardo Moguillansky <eduardo.moguillansky@gmail.com> wrote:


On 06.02.22 15:42, luis jure wrote:
el Sun, 6 Feb 2022 10:58:04 +0000
Victor Lazzarini <Victor.Lazzarini@MU.IE> escribió:

1. Is it/would it be possible for envelope opcodes (envelope and
lineexp) to accept an array of values as input?
I don't see why this can't be done right now, it would be just
another overload of an opcode. We can do it any time.
That would be great, thanks!

2. Is it/would it be possible to use an array as a p-field in the
score?
This is not possible because the numeric score is a completely
separate element, has a different syntax etc.
I see.

However, as in 1., the schedule etc opcode could be developed to have
an array overload.
Yes, I can imagine that could be useful in some situations, but I assume
it wouldn't solve the issue. Or it would? I mean, you still couldn't
use an array as one (or more) of the p-fields within the array passed
to sched*, right?

I created an opcode some time ago for this purpose:

https://csound-plugins.github.io/risset-docs/opcodes/ref.html

instr 1
  iArr[] fillarray 1, 1, 2, 3, 5, 8
  schedule 2, 1, -1, ref(iArr), "foo", "bar"
endin
instr 2
  iArr[] = deref(p4)
  Str1 = p5
  Str2 = p6
  printarray iArr
  prints "Str1: %s, Str2: %s\n", Str1, Str2
  turnoff
endin

schedule 1, 0, 10

It can be used to pass arrays by reference between instruments and opcodes (in the case of opcodes arrays are passed by value so this method is more efficient)

On an indirectly related note: I assume that the limitation of no more
than one string per scoreline still holds, and that there are no plans
to change that, am I right?

Thanks for your attention.

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
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

Date2022-02-07 18:46
Fromjoachim heintz
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Questions/requests
yes: https://github.com/csound/manual/pull/613
cheers -
	j

On 06/02/2022 18:23, luis jure wrote:
> el Sun, 6 Feb 2022 15:18:13 +0000
> Victor Lazzarini  escribió:
> 
>> That limitation was removed on 6.0 or even before.
> 
> Really? That's great, I think the manual page should be updated
> accordingly:
> 
> https://csound.com/docs/manual/ScoreStrings.html
> 
>> With schedule, I presume the idea would be that you have the
>> following form
>>
>> iArr[] fillarray 1,0,1,0dbfs,A4
>> schedule(iArr)
> 
> Exactly, what I mean is that still you can't have an array in a p-field.
> 
> BTW, any pointers on how to convert a string with sub-strings separated
> by a delimiter (for example, a coma) into an array of values?
> 
> In your previous example, how could I convert the string
> "1,0,1,0dbfs,A4" into the array [1,0,1,0dbfs,A4]?
> 
> (Again, sorry if this is something I should know, but I've been out of
> touch with Csound for some time..)
> 
> 

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