aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/test.csd31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/test.csd b/examples/test.csd
new file mode 100644
index 0000000..a78fb8d
--- /dev/null
+++ b/examples/test.csd
@@ -0,0 +1,31 @@
+<CsoundSynthesizer>
+<CsOptions>
+-odac
+</CsOptions>
+; ==============================================
+<CsInstruments>
+
+sr = 48000
+ksmps = 1024
+nchnls = 2
+0dbfs = 1
+
+
+instr 1
+ kfreq init 440
+ kaxis[], kbuttons[] jstick 0
+ printk2 kaxis[2]
+ kfreq = kaxis[3]
+ a1 oscil 1, kfreq
+ outs a1, a1
+endin
+
+</CsInstruments>
+; ==============================================
+<CsScore>
+i1 0 100
+
+
+</CsScore>
+</CsoundSynthesizer>
+