Csound Csound-dev Csound-tekno Search About

[Csnd] Macro Issues

Date2017-10-02 20:21
FromArmando Gonzalez Sosto
Subject[Csnd] Macro Issues
Hello everyone! 

I've been having issues running some CSD files that include macros. These CSD files have worked in the past, but when I attempt to run them from my current computer (Mac OS 10.12.5, Late 2013 Retina MacBook Pro), I'm receiving errors that seem to exclusively relate to macros. 

I've copied the CSD files onto a pastebin. If there's a better way of sharing CSDs, please let me know. 


Error message for CSD #1 -  https://pastebin.com/6xdSaaYb
Error message for CSD #2 - https://pastebin.com/FS13KhQ9

I'm wondering if due to the age of the files (12 years), perhaps there's been changes to Csound that have rendered the implementation of these macros unusable. Is this the case? 

I'm wondering if a substantial re-writing of the CSD files would be necessary, or if this is something that could be fixed in some other way. In theory, these CSDs should work.

Thank you for your time and suggestions, 

Armando Gonzalez Sosto
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

Date2017-10-03 10:27
Fromjpff
SubjectRe: [Csnd] Macro Issues
Just for the record this is score macros which were extensively rewritten 
last year.

Not had time to investigate yet

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

Date2017-10-03 16:44
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] Macro Issues
John,

Armando is my current TA at Berklee and he is a really great Csounder.  He’s been trying to get to the bottom of this problem for me.  For some reason, all of my previous macro examples crash now.  Sad that I can’t share some inspiring models with my students any longer.  Hope it’s an easy fix.

Good Luck

Dr.B.

Sent from my iPhone

> On Oct 3, 2017, at 5:27 AM, jpff  wrote:
> 
> Just for the record this is score macros which were extensively rewritten last year.
> 
> Not had time to investigate yet
> 
> 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

Date2017-10-03 16:52
Fromjpff
SubjectRe: [Csnd] Macro Issues
I have been busy wit audio arrays for Luis (he asked about them in te dev 
panel)

I think the macro issue is an ordering issue; first look suggested that 
macro expansions were made of undefind (yet) macros.  At least that isan 
idea. In 6.08-> macros are expaded before reading the score ot as they go.

;2~Been a tiring day wit an early start adshort nigt so not efficient yet.

==John

PS Parkinson's better wit dopamin; not cured but better


On Tue, 3 Oct 2017, Dr. Richard Boulanger wrote:

> John,
>
> Armando is my current TA at Berklee and he is a really great Csounder.  He’s been trying to get to the bottom of this problem for me.  For some reason, all of my previous macro examples crash now.  Sad that I can’t share some inspiring models with my students any longer.  Hope it’s an easy fix.
>
> Good Luck
>
> Dr.B.
>
> Sent from my iPhone
>
>> On Oct 3, 2017, at 5:27 AM, jpff  wrote:
>>
>> Just for the record this is score macros which were extensively rewritten last year.
>>
>> Not had time to investigate yet
>>
>> 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

Date2017-10-03 17:07
Fromjpff
SubjectRe: [Csnd] Macro Issues
- is not a valid character in a macro name which explains one of these two

Investigating the nested [...] syntax

On Tue, 3 Oct 2017, jpff wrote:

> Just for the record this is score macros which were extensively rewritten 
> last year.
>
> Not had time to investigate yet
>
> 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

Date2017-10-03 17:48
Fromjpff
SubjectRe: [Csnd] Macro Issues
I ave a versin tat accepts ested [] in score.  Think it isOK but a little 
more testing before committing


On Tue, 3 Oct 2017, jpff wrote:

> - is not a valid character in a macro name which explains one of these two
>
> Investigating the nested [...] syntax
>
> On Tue, 3 Oct 2017, jpff wrote:
>
>> Just for the record this is score macros which were extensively rewritten 
>> last year.
>> 
>> Not had time to investigate yet
>> 
>> 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