[Csnd] Build 5.18 OSC and UDP
Date | 2012-12-07 22:27 |
From | Roger Kelly |
Subject | [Csnd] Build 5.18 OSC and UDP |
I just built 5.18 on Ubuntu and I get this error: error: syntax error, unexpected T_IDENT, expecting T_OPCODE or ',' (token "OSCinit") line 11: >>>gihandle OSCinit <<<
I added commandOptions.Add('useOSC', 'Set to 1 if you want OSC support', '1') Also does same for socksend.
Is there anything else needed? CsoundSynthesizer> <CsOptions> -d -o e.wav </CsOptions> <CsInstruments>
; bus channel gkfreq chnexport "freq", 3 gihandle OSCinit 7770 instr 1 ;kfreq init 440 ;kfreq chnexport "freq", 3
printks "freq %f\n", .3, gkfreq a1 oscil 10000, gkfreq, 1 socksend a1, "172.16.0.255",7777, 200 out a1 endin |