I am using an ARM board with Ubuntu Linaro 13.04 and Alsa as the sound and MIDI driver. I have a
SF with 13 different instruments and playing through USB MIDI. As the Fluidsynth
starts I use CC 0 7 0.... command to reduce the volume of all the MIDI channels
to zero. When a key is pressed the MIDI sends Note ON command to all 16 MIDI channels. I
switch ON/OFF instruments by setting the MIDI channel volume 0 or 127 again by using cc command
again.
My issue is when I start FS, I get the following warnings,
fluidsynth warning: Requested a period size of 64, got
1024 instead
fluidsynth warning: Requested 16 periods, got 8 instead
When I play 4 notes(up to 4 notes) simultaneously it
plays perfectly but when I press the 5th key (or more) there is a crackling sound like a
buffer underrun and when I release one note (4 again) it plays perfectly again.
I tried using -c and -z to change the period size but cannot
reduce the period size less than 1024 and cannot increase number of periods to more
than 8.
Any suggestion how this can be fixed?
Regards
Herschel