aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRichard <q@1bpm.net>2021-03-18 15:48:41 +0000
committerRichard <q@1bpm.net>2021-03-18 15:48:41 +0000
commitb4158f460d59dcc440e46d011d432bebbd42f7f5 (patch)
tree5e359adfc5357962c3dd80fdf9f035d9a36f7446 /examples
downloadcsound-jstick-b4158f460d59dcc440e46d011d432bebbd42f7f5.tar.gz
csound-jstick-b4158f460d59dcc440e46d011d432bebbd42f7f5.tar.bz2
csound-jstick-b4158f460d59dcc440e46d011d432bebbd42f7f5.zip
initial
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>
+