summaryrefslogtreecommitdiff
path: root/examples/fmwurlie.csd
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2014-01-24 13:54:37 -0300
committerFelipe Sateler <fsateler@debian.org>2014-01-24 13:54:37 -0300
commitbcf06a42deb371baf3deb9f4addb474b08273120 (patch)
tree4a8c3fb811dd164d4486628d8eff6043ebe8a6c3 /examples/fmwurlie.csd
parent3a91171181113761a14bcc36a086a8dda144b77b (diff)
Imported Upstream version 6.02~dfsg
Diffstat (limited to 'examples/fmwurlie.csd')
-rw-r--r--examples/fmwurlie.csd53
1 files changed, 24 insertions, 29 deletions
diff --git a/examples/fmwurlie.csd b/examples/fmwurlie.csd
index 96df346..6251c21 100644
--- a/examples/fmwurlie.csd
+++ b/examples/fmwurlie.csd
@@ -1,50 +1,45 @@
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
-; Audio out Audio in No messages
--odac -iadc -d ;;;RT audio I/O
+-odac ;;;realtime audio out
+;-iadc ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o fmwurlie.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>
-; Initialize the global variables.
-sr = 22050
-kr = 2205
-ksmps = 10
-nchnls = 1
+sr = 44100
+ksmps = 32
+nchnls = 2
+0dbfs = 1
-; Instrument #1.
instr 1
- kamp = 30000
- kfreq = 440
- kc1 = 6
- kc2 = 1
- kvdepth = 0.005
- kvrate = 6
- ifn1 = 1
- ifn2 = 1
- ifn3 = 1
- ifn4 = 2
- ivfn = 1
- a1 fmwurlie kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
- out a1
-endin
+kfreq = 440
+kc1 = p4
+kc2 = 1
+kvdepth = 0.05
+kvrate = 6
+ifn1 = 1
+ifn2 = 1
+ifn3 = 1
+ifn4 = 2
+ivfn = 1
+asig fmwurlie .5, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
+ outs asig, asig
+endin
</CsInstruments>
<CsScore>
-
-; Table #1, a sine wave.
+; sine wave
f 1 0 32768 10 1
-; Table #2, the "fwavblnk.aiff" audio file.
+; audio file
f 2 0 256 1 "fwavblnk.aiff" 0 0 0
-; Play Instrument #1 for two seconds.
-i 1 0 2
+i 1 0 3 6
+i 1 + 3 30
+i 1 + 2 60
e
-
-
</CsScore>
</CsoundSynthesizer>