[Csnd] problem using Soundfonts

Hello,

i'm trying to use fluidengine but after two note csound end.

So i'm wronging something but what?

ubuntu 20.04, csound build yesterday.

output is:

SECTION 1:
new alloc for instr 1:
new alloc for instr 99:
B 0,000 .. 0,500 T 0,500 TT 0,500 M: 0,07900 0,05574
B 0,500 .. 1,000 T 1,000 TT 1,000 M: 0,08920 0,07382
new alloc for instr 1:
B 1,000 .. 2,000 T 2,000 TT 2,000 M: 0,00000 0,00000
B 2,000 .. 2,500 T 2,500 TT 2,500 M: 0,00000 0,00000
Score finished in csoundPerform().

and here is my really simple csd:

<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

giEngine fluidEngine

iSfNum1 fluidLoad "/usr/share/sounds/sf2/FluidR3_GM.sf2", giEngine, 1

fluidProgramSelect giEngine, 1, iSfNum1, 0, 1

instr 1

iKey = p4
iVel = 127

fluidNote giEngine, 1, iKey, iVel
endin

instr 99

aL, aR fluidOut giEngine
outs aL, aR
endin

</CsInstruments>
<CsScore>

i 99 0 3600

i 1 0.00 0.50 40
i 1 0.50 0.50 47
i 1 1.00 0.50 56
i 1 1.50 0.50 59
i 1 2.00 0.50 40
i 1 2.50 0.50 47
i 1 3.00 0.50 56
i 1 3.50 0.50 59

</CsScore>
<CsoundSynthesizer>

Many thanks,

ciao,

francesco.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here