Discussion:
[jOrgan-user] Fluidsynth & Core Number
BrianS
2017-06-01 06:20:25 UTC
Permalink
HI,

I was thinking that by increasing the number of cores in the Fluidsynth
property sheet, would increase the performance of that Fluidsynth instance.
I can change the number of cores in Windows, but when I try to change the
number while on the Raspberry Pi, it hangs.

I thought the Pi also had 4 cores.

Does anybody have any experience with this in both Windows and Raspbian, and
what effect did increasing the number of cores have on the quality of the
sound?

I currently experience beakup of sound, and the settings are 8 and 512 for
each Fluidsynth respectivly for the buffer number and buffer size.

I am using Jack on the Raspbian, so don't really know if I am doing it
right. The latency is very low. On the Christie, there is no sound
breakup, but on the Earlwood, English Cathedral and Neo Baroque I am
experiencing this to a greater or lesser degree.

Regards,

Brian.



-----
Regards,

BrianS
--
View this message in context: http://jorgan.999862.n4.nabble.com/Fluidsynth-Core-Number-tp4665017.html
Sent from the jOrgan - User mailing list archive at Nabble.com.
Graham Goode
2017-06-01 07:39:16 UTC
Permalink
Hi Brian,

I'm able to use 4 cores on my Raspberry Pi 3.

How did you install Fluidsynth on your Raspbian?

When using JACK, the buffer settings in jOrgan Fluidsynth elements are
no longer used, as those settings are controlled in JACK. If you're
experiencing audio breakup then you'll need to adjust the settings in
Qjackctl.

GG
Post by BrianS
HI,
I was thinking that by increasing the number of cores in the Fluidsynth
property sheet, would increase the performance of that Fluidsynth instance.
I can change the number of cores in Windows, but when I try to change the
number while on the Raspberry Pi, it hangs.
I thought the Pi also had 4 cores.
Does anybody have any experience with this in both Windows and Raspbian, and
what effect did increasing the number of cores have on the quality of the
sound?
I currently experience beakup of sound, and the settings are 8 and 512 for
each Fluidsynth respectivly for the buffer number and buffer size.
I am using Jack on the Raspbian, so don't really know if I am doing it
right. The latency is very low. On the Christie, there is no sound
breakup, but on the Earlwood, English Cathedral and Neo Baroque I am
experiencing this to a greater or lesser degree.
Regards,
Brian.
-----
Regards,
BrianS
--
http://jorgan.999862.n4.nabble.com/Fluidsynth-Core-Number-tp4665017.html
Sent from the jOrgan - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
jOrgan-user mailing list
https://lists.sourceforge.net/lists/listinfo/jorgan-user
BrianS
2017-06-01 10:43:04 UTC
Permalink
Thank you Graham.

I did not install FS, it seems to come pre-installed or perhaps I have just
forgotten that I did install it.

I will try to find the settings in Jack then.

This is a wonderful group of helpers.

Brian.



-----
Regards,

BrianS
--
View this message in context: http://jorgan.999862.n4.nabble.com/Fluidsynth-Core-Number-tp4665017p4665025.html
Sent from the jOrgan - User mailing list archive at Nabble.com.
g***@gmail.com
2017-06-01 21:46:03 UTC
Permalink
Hi Brian

I have in the past done extensive experimentation with Fluidsynth settings,
particularly Buffer Size and Number. Buffer Size x Number of Buffers =
Result.

Buffer Size 512 x Number of Buffers 8 = 4096. This seems to be default
settings.
Buffer Size 256 x Number of Buffers 16 = 4096 This will give the exact
same performance result.

It seems that the Buffer Size values should be factors of 8.
The Number of Buffers value is limited to a maximum of 16 in Fluidsynth.
The aim in adjusting these values is to get the smallest result value that
will work without distortion on your system.
Using a smaller Buffer Size value allows for more smaller steps in
reduction of the number of buffers.
As an example, your system might be good with 512 x 6, but break up with
512 x 5. If you change Buffer Size to 256 then Number of Buffers 12 will
be fine, but you may be able to run with 256 x 11 as a slightly smaller
result and reduced audio delay.

You will need to test your system running on the Pi for best results.

Regards
Rick
Post by BrianS
Thank you Graham.
I did not install FS, it seems to come pre-installed or perhaps I have just
forgotten that I did install it.
I will try to find the settings in Jack then.
This is a wonderful group of helpers.
Brian.
-----
Regards,
BrianS
--
http://jorgan.999862.n4.nabble.com/Fluidsynth-Core-Number-tp4665017p4665025.html
Sent from the jOrgan - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
jOrgan-user mailing list
https://lists.sourceforge.net/lists/listinfo/jorgan-user
Loading...