Hello everybody!
I have some problems with setting up the connection from my iPad to my Mac for controlling Csound via TouchOSC.
I’m new to working with OSC, but i checked out the floss examples.
I initialised the connection via OSCinit in Csound and also tried out sending messages and printing them with the hexler protokol app, which works fine.
But i can’t get values inside my Csound patch, where i want wo print them.
Is there someone who has experience with this and can describe what i have to do to set everything up?
And does someone know if i can print OSC messages inside the terminal of MacOS for debugging purposes?
This is my test instrument and i don’t get errors.
<CsoundSynthesizer>
<CsOptions>
-d -odac -W -3
</CsOptions>
<CsInstruments>
sr = 48000
ksmps = 64
nchnls = 2
0dbfs = 1.0
giOSC OSCinit 9000
instr 1
kAmp init 0
kFreq init 0
kAmpT OSClisten giOSC,"/fader1","f",kAmp
kFreqT OSClisten giOSC,"/fader2","f",kFreq
kAmp scale kAmp,0,-90,1.,0.
printks2 "Amp: %d\n",kAmp
kFreq scale kFreq,80,320
printks2 "Freq: %d\n",kFreq
aSig poscil3 ampdbfs(kAmp),kFreq
outs aSig,aSig
endin
;-----------------------------------------------------------
</CsInstruments>
<CsScore>
i1 0 1000
</CsScore>
</CsoundSynthesizer>
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here