Debian Codegraph @

examples/inletk.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o inletk.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 connect "bend", "bendout", "guitar", "bendin"
17
18 instr bend
19
20 kbend line p4, p3, p5
21
22 printk2 kbend
23 outletk "bendout", kbend
24
25 endin
26
27 instr guitar
28
29 kbend inletk "bendin"
30 kpch pow 2, kbend/12
31 asig oscili .4, p4*kpch, 1
32 outs asig, asig
33 endin
34
35 </CsInstruments>
36 <CsScore>
37 f1 0 1024 10 1 0 1 0 1 0 1
38
39 i"guitar" 0 5 440
40 i"bend" 2 1.2 -12 12
41 i"bend" 4 .2 -17 40
42 e
43 </CsScore>