summaryrefslogtreecommitdiff
path: root/examples/guiro.csd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guiro.csd')
-rw-r--r--examples/guiro.csd30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/guiro.csd b/examples/guiro.csd
new file mode 100644
index 0000000..021a0fa
--- /dev/null
+++ b/examples/guiro.csd
@@ -0,0 +1,30 @@
+<CsoundSynthesizer>
+<CsOptions>
+; Select audio/midi flags here according to platform
+; Audio out Audio in
+-odac -iadc ;;;RT audio I/O
+; For Non-realtime ouput leave only the line below:
+; -o guiro.wav -W ;;; for file output any platform
+</CsOptions>
+<CsInstruments>
+
+sr = 44100
+kr = 4410
+ksmps = 10
+nchnls = 1
+
+ instr 01 ;example of a guiro
+a1 guiro p4, 0.01
+ out a1
+ endin
+
+
+</CsInstruments>
+<CsScore>
+
+i1 0 1 20000
+e
+
+
+</CsScore>
+</CsoundSynthesizer>