Hello,

On Tue, Apr 26, 2016 at 2:25 AM, R.L. Horn <li...@eastcheap.org> wrote:

> On Fri, 22 Apr 2016, Maciej - filologia angielska wrote:
>
> 2. Today I noticed that the problem must be due to Raspberry Pi's
>> limitations in terms of its computing power.
>>
>
> Fluidsynth, it has to be said, is a bit of a CPU hog.  Unfortunately, I
> believe the only way to boost performance is by using boards with more
> processors, which fluidsynth doesn't take advantage of.
>
>

Actually that is not true, in regards to FluidSynth utilizing multiple
CPUs.  It can do exactly that, you just have to tell it to by setting
synth.cpu-cores.  It seems those Raspberry Pi boards have quad cores?  So
you could pass "-o synth.cpu-cores=4".  However, from a quick glance of the
specs of those boards, it isn't apparent as to whether it has an FPU.  If
it does not have an FPU then you will get horrible performance, since all
the floating point math that FluidSynth is based on will be emulated in
software.


fluidsynth -C0 -R0 -r22050 -l -a alsa -o audio.alsa.device=plughw:0
>>
>
> An HW: device would probably be faster (at least you don't have resamplers
> on top of resamplers), but latency is often a problem.
>
> Then I increased the -r to 44100 and subsequently to 48000. With each
>> increase, the Rpi would encounter "funny noises/drop-outs" (I do not know
>> how to call them) and eventually the machine would crash during some of the
>> more complex parts of the MID song.
>>
>
> That's not supposed to happen: you shouldn't get an EIO unless something
> really serious goes wrong.  It sort of sounds like the driver simply gives
> up after X number of under-runs.
>
>

I suspect the same thing.  Something is likely wrong with the driver in
regards to underruns.



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


Best regards,

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

Reply via email to