1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out Audio in
-odac -iadc ;;;RT audio I/O
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 128
nchnls = 1
; Example by David Akbari 2007
; Modified by Jonathan Murphy
; Use this file to generate OSC events for OSCmidircv.csd
#define IPADDRESS # "localhost" #
#define PORT # 47120 #
turnon 1000
instr 1000
kst, kch, kd1, kd2 midiin
OSCsend kst+kch+kd1+kd2, $IPADDRESS, $PORT, "/midi", "iiii", kst, kch, kd1, kd2
endin
</CsInstruments>
<CsScore>
f 0 3600 ;Dummy f-table
e
</CsScore>
</CsoundSynthesizer>
|