[Csnd] Parsing Failure in 5.18
Date | 2012-09-08 13:33 |
From | Dave Mooney |
Subject | [Csnd] Parsing Failure in 5.18 |
Hi I just updated to 5.18 from 5.13 last night and it seems that when i run certain .csd's I run into parsing issues. Specific lines of code are causing the issues with 5.18 but which were fine in 5.13. I'm wondering if there is a work around anybody could suggest or if there has been a change in the way certain things need to be written when using 5.18? The following was output when I tried to run a file in 5.18 that i was working on yesterday in 5.13. The line of code the error message is referring to is also given. Thanks a lot Dave Dave-Mooneys-MacBook-Pro:~ davemooney$ csound Samplor.csd Csound version 5.18.02 (double samples) Sep 1 2012 WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjacko.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib' (-1) UnifiedCSD: Samplor.csd Creating orchestra Creating score graph init using callback interface error: syntax error, unexpected T_FUNCTION, expecting T_OPCODE or ',' (token "semitone") line 831: >>>kPitch1 semitone <<< Parsing failed due to invalid input! Stopping on parser failure *The line in question as it appears in the file: *kPitch1 semitone (kPitch1TuneFactor) -- View this message in context: http://csound.1045644.n5.nabble.com/Parsing-Failure-in-5-18-tp5715564.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-08 13:43 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Parsing Failure in 5.18 |
Try kPitch1 = semitone (kPitch1TuneFactor) generally speaking in the new parser functions cannot be used as opcodes, whereas in the old you could. If this is causing a headache, you can still run with --old-parser. Not sure whether this type of thing falls under backwards compatibility, maybe it does. Victor On 8 Sep 2012, at 13:33, Dave Mooney wrote: > kPitch1 semitone (kPitch1TuneFactor) Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-09-08 14:20 |
From | Dave Mooney |
Subject | [Csnd] Re: Parsing Failure in 5.18 |
Heya Victor thanks a lot! That did the trick, just putting in the "=" fixed the problem! Cheers Dave -- View this message in context: http://csound.1045644.n5.nabble.com/Parsing-Failure-in-5-18-tp5715564p5715566.html Sent from the Csound - General mailing list archive at Nabble.com. |