summaryrefslogtreecommitdiff
path: root/examples/outc.csd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/outc.csd')
-rw-r--r--examples/outc.csd34
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/outc.csd b/examples/outc.csd
new file mode 100644
index 0000000..507659d
--- /dev/null
+++ b/examples/outc.csd
@@ -0,0 +1,34 @@
+<CsoundSynthesizer>
+<CsOptions>
+; Select audio/midi flags here according to platform
+-odac ;;;realtime audio out
+;-iadc ;;;uncomment -iadc if realtime audio input is needed too
+; For Non-realtime ouput leave only the line below:
+; -o outc.wav -W ;;; for file output any platform
+</CsOptions>
+<CsInstruments>
+
+sr = 44100
+ksmps = 32
+nchnls = 5
+0dbfs = 1
+
+instr 1
+
+asig vco2 .05, 30 ; sawtooth waveform at low volume
+
+kcut line 100, p3, 30 ; Vary cutoff frequency
+kresonance = 7
+inumlayer = 2
+asig lowresx asig, kcut, kresonance, inumlayer
+; output same sound to 5 channels
+ outc asig,asig,asig,asig,asig
+
+endin
+</CsInstruments>
+<CsScore>
+
+i 1 0 30
+e
+</CsScore>
+</CsoundSynthesizer>