1<CsoundSynthesizer> 2<CsOptions> 3; Select audio/midi flags here according to platform 4; Audio out Audio in 5-odac -iadc ;;;RT audio I/O 6; For Non-realtime ouput leave only the line below: 7; -o cigoto.wav -W ;;; for file output any platform 8</CsOptions> 9<CsInstruments> 10 11sr=44100 12ksmps=128 13nchnls=2 14 15 instr 1 16ifn1 = p4 17ifn2 = p5 18ielements = p6 19idstoffset = p7 20isrcoffset = p8 21kval init 25 22vpowv ifn1, ifn2, ielements, idstoffset, isrcoffset, 1 23 endin 24 25 instr 2 ;Printtable 26itable = p4 27isize = ftlen(itable) 28kcount init 0 29kval table kcount, itable 30printk2 kval 31 32if (kcount == isize) then 33 turnoff 34endif 35 36kcount = kcount + 1 37 endin 38 39 40</CsInstruments> 41 42<CsScore> 43 44f 1 0 16 -7 1 16 17 45 46f 2 0 16 -7 1 16 2 47 48i2 0.0 0.2 1 49i2 0.2 0.2 2 50i1 0.4 0.01 1 2 5 3 8 51i2 0.8 0.2 1 52i1 1.0 0.01 1 2 5 10 -2 53i2 1.2 0.2 1 54i1 1.4 0.01 1 2 8 14 0 55i2 1.6 0.2 1 56i1 1.8 0.01 1 2 8 0 14 57i2 2.0 0.2 1 58e 59 60</CsScore> 61 62</CsoundSynthesizer>