1<CsoundSynthesizer>
2<CsOptions>
3; Select audio/midi flags here according to platform
4-odac      ;;;realtime audio out
5;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
6; For Non-realtime ouput leave only the line below:
7; -o notequal.wav -W ;;; for file output any platform
8</CsOptions>
9<CsInstruments>
10
11sr = 44100
12ksmps = 32
13nchnls = 2
140dbfs  = 1
15
16instr 1
17
18ipch   = cpspch(p4)
19iprint = p5
20if (iprint != 1) igoto skipPrint
21print  ipch
22asig   vco2 .7, ipch
23       outs asig, asig
24
25skipPrint:
26
27endin
28
29</CsInstruments>
30<CsScore>
31f 1 0 65536 10 1	;sine wave
32
33i1 0 .5 8.00 0
34i1 0 .5 8.01 1 ; this note will print it's ipch value and only this one will be played
35i1 0 .5 8.02 2
36
37e
38</CsScore>
39</CsoundSynthesizer>
40