/usr/share/doc/pd-csound/examples/csapi_demo.csd is in pd-csound 1:5.17.6~dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | <CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr= 44100
kr = 4410
ksmps = 10
nchnls= 4
instr 1
kfreq invalue "freq"
kamp invalue "amp"
a0 = 0
asyn oscili p4*kamp, p5*kfreq, 1
outq asyn*0.7, asyn*0.3,a0,a0
kchn chnget "blobs"
S1 chnget "blar"
printf "blar: %s blobs: %d\n", kchn, S1, kchn
endin
instr 2
as1,as2,as3,as4 inq
krvt invalue "rev"
klt invalue "del"
kfm invalue "modf"
kmod phasor kfm
adel upsamp klt
a0 = 0
acmb flanger as4, adel, krvt
outvalue "mod", kmod
outq a0,a0,acmb*0.3, acmb*0.7
endin
</CsInstruments>
<CsScore>
f0 450000
f1 0 4096 10 1
i2 0 450000
</CsScore>
</CsoundSynthesizer>
|