/usr/share/doc/pd-csound/examples/csapi_demo.csd is in pd-csound 1:6.10.0~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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr= 44100
kr = 4410
ksmps = 10
nchnls= 4
instr 1
kfreq chnget "freq"
kamp chnget"amp"
a0 = 0
asyn oscili p4*kamp, p5*kfreq, 1
outq asyn*0.7, asyn*0.3,a0,a0
S1 chnget "blar"
printf "blar: %s, amp: %f freq: %f \n", kamp, S1, kamp, kfreq*p5
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,as4*0.1, acmb*0.1
endin
</CsInstruments>
<CsScore>
f0 450000
f1 0 4096 10 1
i2 0 450000
</CsScore>
</CsoundSynthesizer>
<bsbPanel>
<label>Widgets</label>
<objectName/>
<x>0</x>
<y>0</y>
<width>0</width>
<height>0</height>
<visible>true</visible>
<uuid/>
<bgcolor mode="nobackground">
<r>255</r>
<g>255</g>
<b>255</b>
</bgcolor>
</bsbPanel>
<bsbPresets>
</bsbPresets>
|