| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
</CsOptions> |
| 4 |
<CsInstruments> |
| 5 |
;run this example in CsoundQt, a Csound editor that provides widgets |
| 6 |
;make the Widgets-panel visible, by clicking the Widgets symbol in the menu or pressing (Alt+1). |
| 7 |
|
| 8 |
sr = 44100 |
| 9 |
ksmps = 32 |
| 10 |
nchnls = 2 |
| 11 |
0dbfs = 1 |
| 12 |
; written by Alex Hofmann |
| 13 |
|
| 14 |
instr 1 ;move fader |
| 15 |
|
| 16 |
kMoveUp linseg 0, 3, 1, 1, 1, 0.5, 0 |
| 17 |
outvalue "movefader", kMoveUp |
| 18 |
endin |
| 19 |
|
| 20 |
</CsInstruments> |
| 21 |
<CsScore> |
| 22 |
i 1 0 5 |
| 23 |
e |
| 24 |
</CsScore> |
| 25 |
</CsoundSynthesizer> |
| 26 |
|