Debian Codegraph @

examples/JackoTransport.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -n
4 </CsOptions>
5 <CsInstruments>
6 sr = 48000
7 ksmps = 128
8 nchnls = 2
9 0dbfs = 1
10
11 ; by Menno Knevel - 2023
12
13 JackoInit "default", "csound6" ; Csound as a Jack client
14
15 instr 1 ; position & start external DAW
16 JackoTransport 3, 10 ; set playbackhead of DAW to zero in 10 seconds
17 JackoTransport 1 ; start transport and thus the playbackhead
18 endin
19
20 instr 2 ; stop playback of DAW
21 JackoTransport 2
22 endin
23
24 </CsInstruments>
25 <CsScore>
26 i1 5 .1
27 i2 20 .1
28 e
29 </CsScore>
30 </CsoundSynthesizer>