Debian Codegraph @

examples/prints.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac -iadc ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o prints.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 /* Written by Matt Ingalls, edited by Kevin Conder. */
12 ; Initialize the global variables.
13 sr = 44100
14 kr = 4410
15 ksmps = 10
16 nchnls = 1
17
18 ; Instrument #1.
19 instr 1
20 ; Init-time print.
21 prints "%2.3f\\t%!%!%!%!%!%!semicolons! %%\\n", 1234.56789
22 endin
23
24
25 </CsInstruments>
26 <CsScore>
27
28 /* Written by Matt Ingalls, edited by Kevin Conder. */
29 ; Play instrument #1.
30 i 1 0 0.004
31
32
33 </CsScore>
34 </CsoundSynthesizer>