[Csnd] Macro Issues

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] Macro Issues

Armando Gonzalez Sosto
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Macro Issues

jpff
Just for the record this is score macros which were extensively rewritten
last year.

Not had time to investigate yet

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Macro Issues

Doctor B
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 <[hidden email]> wrote:
>
> Just for the record this is score macros which were extensively rewritten last year.
>
> Not had time to investigate yet
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Macro Issues

jpff
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 <[hidden email]> wrote:
>>
>> Just for the record this is score macros which were extensively rewritten last year.
>>
>> Not had time to investigate yet
>>
>> Csound mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Macro Issues

jpff
In reply to this post by jpff
- 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Macro Issues

jpff
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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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