Hello,

On this type of hardware (Orange Pi pc or RPi 2,...), the audio (on jack 3.5) 
is a PWM signal (very low quality signal and very noisy) and the audio driver 
doesn't work very well for low latency.

For example , with –o audio.period=1 audio.period-size=1024 , we obtain a 
distorted sound when the number of voices reachs 80 voices. This issue 
disapears if we

use 2, 3, or 4 cores (using the option -o synth.cpu-cores=4). But at low audio 
level (i.e during note release time) the sound becomes very noisy.

I we ignore this jack 3.5 output and we plug an audio usb card, we get good 
quality and very low latency (about 4 ms with a sample rate 44100) using this 
settings:

-o audio.alsa.device=hw:1 -o audio.period-size=256 -o synth.cpu-cores=4.

With this settings you should excect playing 200 voices maximum (i.e 50 voices 
max for each core).

 

Also, we probably could use the audio on hdmi port. But i haven't not tested 
it. If you intend to do this test, your report on this list will be very 
appreciated.

Regards.

 

 

 

> Message du 13/12/17 19:56
> De : "Даниль Нигаматзянов" 
> A : fluid-dev@nongnu.org
> Copie à : 
> Objet : [fluid-dev] Fluidsynth make strange sounds with ALSA
> 
> Hello! Sorry if my English is bad! I have some midi device (Arduino homemade 
> drum set), and I use FluidSynth. When I tested it on my desktop computer, it 
> works well, but I have a little delay. I think, it because I use PulseAudio. 
> Now, I want to use FluidSynth on Orange Pi mini computer. I don't use 
> PulseAudio on Pi device, just ALSA. And I have a problem! At the beginning, 
> this works well, with low latency, but if I play more intensive it break the 
> sound and I cant't hear nothing but noise. If I restart FluidSynth, it fix 
> problem for some time, but after several seconds of minutes it breaks again. 
> If I don't restart FluidSynth and just wait untill the noise get down, the 
> problem resolved itself, and FluidSynth works well for another several 
> seconds/minutes. My FluidSynth version is 1.1.6 Thank You and sorry for my 
> English again! -- Даниль Нигаматзянов  
> _______________________________________________ fluid-dev mailing list 
> fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to