summaryrefslogtreecommitdiff
path: root/examples/outvalue.csd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/outvalue.csd')
-rw-r--r--examples/outvalue.csd26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/outvalue.csd b/examples/outvalue.csd
new file mode 100644
index 0000000..e3730c4
--- /dev/null
+++ b/examples/outvalue.csd
@@ -0,0 +1,26 @@
+<CsoundSynthesizer>
+<CsOptions>
+</CsOptions>
+<CsInstruments>
+;run this example in CsoundQt, a Csound editor that provides widgets
+;make the Widgets-panel visible, by clicking the Widgets symbol in the menu or pressing (Alt+1).
+
+sr = 44100
+ksmps = 32
+nchnls = 2
+0dbfs = 1
+; written by Alex Hofmann
+
+instr 1 ;move fader
+
+kMoveUp linseg 0, 3, 1, 1, 1, 0.5, 0
+outvalue "movefader", kMoveUp
+endin
+
+</CsInstruments>
+<CsScore>
+i 1 0 5
+e
+</CsScore>
+</CsoundSynthesizer>
+