Csound Csound-dev Csound-tekno Search About

[Csnd] parser error: Unexpected untyped

Date2014-02-05 23:23
Frompeiman khosravi
Subject[Csnd] parser error: Unexpected untyped
Hello,

Running the csd below on he latest OSX release I get this error:

error: syntax error, unexpected T_IDENT  (token "gaussTrig") line 17:

>>>aout gaussTrig <<<

Unexpected untyped word aout when expecting a variable

Parsing failed due to invalid input!

WARNING: Stopping on parser failure




<CsoundSynthesizer>
<CsOptions>
-odac -d
;-o test.aif -d -A -3
</CsOptions>
; ==============================================
<CsInstruments>

sr = 96000
ksmps = 10
nchnls = 1
0dbfs = 1

instr 1

kpitchenv expon 10000, p3, 1 
aout gaussTrig .2, kpitchenv, .1

aampenv expon 1, p3, .0001

out aout*aampenv

endin

</CsInstruments>
; ==============================================
<CsScore>
i1 0 2

</CsScore>
</CsoundSynthesizer>


Date2014-02-06 04:12
FromJim Aikin
Subject[Csnd] Re: parser error: Unexpected untyped
In the manual it's all lower-case, not camel-case.



--
View this message in context: http://csound.1045644.n5.nabble.com/parser-error-Unexpected-untyped-tp5732342p5732351.html
Sent from the Csound - General mailing list archive at Nabble.com.