<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
-odac     ;;;RT audio out
;-iadc    ;;;uncomment -iadc if RT audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o STKStifKarp.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>

sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

instr 1

ifrq	=	p4
kpos	line	p6, p3, p7				;Pickup Position
ksus	=	p5					;String Sustain

asig	STKStifKarp cpspch(p4), 1, 4, kpos, 11, ksus, 1, 10
	outs asig, asig
endin

</CsInstruments>
<CsScore>

i 1 0  2  5.00 0  100 100
i 1 +  40 5.00 127 1  127
i 1 10 32 5.00 127 1  10
e
</CsScore>
</CsoundSynthesizer>
