fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Crackling sound when more than 4 notes are played simult


From: Element Green
Subject: Re: [fluid-dev] Crackling sound when more than 4 notes are played simultaneously
Date: Thu, 20 Aug 2015 18:10:32 -0600

Does your ARM processor have a floating point unit (FPU) ?  FluidSynth is heavily floating point based, so if you don't have hardware support for floating point, it will get pretty poor performance.  Check your CPU usage and see if it is maxing out when you press that 5th key.

Best regards,

Element Green


On Wed, Aug 19, 2015 at 6:30 AM, Herschel Karunaratne <address@hidden> wrote:
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

_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]