summaryrefslogtreecommitdiff
path: root/examples/STKRhodey.csd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/STKRhodey.csd')
-rw-r--r--[-rwxr-xr-x]examples/STKRhodey.csd20
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/STKRhodey.csd b/examples/STKRhodey.csd
index 0ca285e..51ae6bb 100755..100644
--- a/examples/STKRhodey.csd
+++ b/examples/STKRhodey.csd
@@ -1,34 +1,34 @@
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
--odac ;;;RT audio out
+-odac ;;;realtime audio out
;-iadc ;;;uncomment -iadc if RT audio input is needed too
; For Non-realtime ouput leave only the line below:
-; -o STKWurley.wav -W ;;; for file output any platform
+; -o STKRhodey.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32
nchnls = 2
-0dbfs = 1
+0dbfs = 1
instr 1
ifrq = p4
-kndx line p5, p3, p6 ;(FM) Modulator Index One
-
-asig STKRhodey cpspch(p4), 1, 2, kndx, 4, 10, 11, 100, 1, 3, 128, 75
+kv1 line p5, p3, p6 ;(FM) Modulator Index One
+kv5 = p7 ;ADSR 2 and 4 target
+asig STKRhodey cpspch(p4), 1, 2, kv1, 4, 10, 11, 100, 1, 3, 128, kv5
outs asig, asig
endin
</CsInstruments>
<CsScore>
-i 1 0 .5 7.00 75 0 20
-i 1 + . 8.00 120 0 20
-i 1 + 1 6.00 50 120 20
-i 1 + 4 8.00 10 10 127
+i 1 0 .5 7.00 75 0 0
+i 1 + . 8.00 120 0 120
+i 1 + 1 6.00 50 120 50
+i 1 + 4 8.00 10 120 100
e
</CsScore>
</CsoundSynthesizer>