Hi All,
I have a problem in OMChroma with a user class that is using a STK opcode (STKClarinet). I enclose the figure of the patch. The text of the orchestra loaded with get-instrument is the following:
instr 1
;asignal STKClarinet ifrequency, iamplitude, [kstiff, kv1[, knoise, kv2[, klfo, kv3[, klfodepth, kv4[, kbreath, kv5]]]]]
ifreq = p5
iamp = p4
kv1 = p6 ;kstiff 0-127
kv2 = p7 ;knoise 0-127
kv3 = p8 ;klfo 0-127
kv4 = p9 ;klfodepth 0-127
kv5 = p10 ;kbreath 0-127
asig STKClarinet ifreq, iamp, 2, kv1, 4, kv2, 11, kv3, 1, kv4, 128, kv5
outs asig, asig
endin
In OMChroma I receive the following error in rendering the audio file:
:: error: syntax error, unexpected T_IDENT (token “STKClarinet”) from file /Users/fabio/Desktop/Balaenoptera/materiale_OM/out-files/.orc (1)
:: line 28:
:: >>>asig STKClarinet# <<<
:: Unexpected untyped word asig when expecting a variable
If I generate only .orc and .sco files (:run option in synthesize object) the same error is present using WinXound:
error: syntax error, unexpected T_IDENT (token “STKClarinet”) from file /Users/fabio/Desktop/Balaenoptera/materiale_OM/out-files/my_synt.csd (1)
line 33:
asig STKClarinet# <<<
Unexpected untyped word asig when expecting a variable
On the contrary, if I load the .orc file in CsoundQt it runs perfectly, both in real time and in rendering the audio file.
It seems to me it could be an error linked to Csound6 and STK opcodes, if so, I apologize if this is not the place where to post this message.
Thank You in advance for help.
fdsdb