Debian Codegraph @

examples/fluidInfo.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out and realtime midi in
5 </CsOptions>
6 <CsInstruments>
7 sr = 44100
8 ksmps = 32
9 nchnls = 2
10 0dbfs = 1
11
12 giengine fluidEngine
13 isfnum fluidLoad "sf_GMbank.sf2", giengine, 1
14
15 instr 1
16 iCnt init 0
17 SSoundFontPrograms[] fluidInfo giengine
18 iNumberOfPrograms lenarray SSoundFontPrograms
19
20 until iCnt>=iNumberOfPrograms do
21 printf_i "%s\n", 1, SSoundFontPrograms[iCnt]
22 iCnt = iCnt+1
23 od
24 endin
25
26 </CsInstruments>
27 <CsScore>
28 i1 0 1
29 </CsScore>
30 </CsoundSynthesizer>