Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-12-16 Thread Aere Greenway
rflow parameters in Qsynth? I don't know. > > -- > > Thank You, > Aere > > > -----Original Message- > *From*: David Henningsson <mailto:david%20henningsson%20%3cdi...@ubuntu.com%3e>> > *To*: FluidSynth mailing list <mailto:fluidsynth%20mailing%2

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-12-16 Thread David Henningsson
don't know. -- Thank You, Aere -Original Message- *From*: David Henningsson mailto:david%20henningsson%20%3cdi...@ubuntu.com%3e>> *To*: FluidSynth mailing list mailto:fluidsynth%20mailing%20list%20%3cfluid-...@nongnu.org%3e>> *Subject*: Re: [fluid-dev] problems with f

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-12-15 Thread Aere Greenway
the various overflow parameter settings, and what they do? Also, is it possible to specify the overflow parameters in Qsynth? -- Thank You, Aere -Original Message- From: David Henningsson To: FluidSynth mailing list Subject: Re: [fluid-dev] problems with fluidsynth 1.1.6 on a ra

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-28 Thread Jan Newmarch
Hi I've been looking around for a test suite of MIDI files but I haven't found one yet. Does anyone know of one that would allow me to test specific features of a synthesizer engine? I'm guessing at reverb, sustain, note bending, ... Jan -- On Sun, 2012-11-25 at 21:38 +0100, David Henningsson wr

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-26 Thread Aere Greenway
soundcard. - Aere -Original Message- From: S. Christian Collins To: FluidSynth mailing list Subject: Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi Date: Sun, 25 Nov 2012 09:19:38 -0600 Back when I used to have a 450 MHz machine, I remember avoiding softsynths i

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-25 Thread David Henningsson
On 11/24/2012 02:27 AM, Jan Newmarch wrote: On Wed, 2012-11-21 at 16:26 +0100, David Henningsson wrote: That is a very valid point; we might not strive to eliminate the average CPU as much as the worst-case CPU, even if both are important. Maybe you could run "perf top -d 1" and monitor that,

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-25 Thread David Henningsson
Btw, Chris, I remember you having a MIDI file where you would slide up and down the piano with the sustain pedal down; I think you used it to test voice overflow, but maybe that would be an interesting test case here as well? I'm thinking that it would constantly "overload" the engine in such

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-25 Thread S. Christian Collins
-Original Message- > *From*: Jan Newmarch <mailto:jan%20newmarch%20%3c...@newmarch.name%3e>> > *Reply-to*: FluidSynth mailing list > *To*: FluidSynth mailing list <mailto:fluidsynth%20mailing%20list%20%3cfluid-...@nongnu.org%3e>> > *Subject*: Re: [fluid-dev] prob

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-24 Thread Aere Greenway
ject: Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi Date: Sat, 24 Nov 2012 12:27:44 +1100 On Wed, 2012-11-21 at 16:26 +0100, David Henningsson wrote: > > That is a very valid point; we might not strive to eliminate the average > CPU as much as the worst-case CPU, eve

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-23 Thread Jan Newmarch
Hi Sorry, maybe I didn't mention it. I tried both linear and no interpolation ("interp 1" and "interp 0"). It didn't make any difference that I could hear or see in CPU usage. Jan -- On Fri, 2012-11-23 at 21:51 -0600, S. Christian Collins wrote: > Sorry to keep repeating this, but have you tried

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-23 Thread S. Christian Collins
Sorry to keep repeating this, but have you tried switching FluidSynth to linear interpolation yet? It seems a lot of your CPU usage is tied up in the 4-point interpolation that FluidSynth defaults to. -~Chris On 11/23/2012 07:27 PM, Jan Newmarch wrote: > On Wed, 2012-11-21 at 16:26 +0100, David He

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-23 Thread Jan Newmarch
On Wed, 2012-11-21 at 16:26 +0100, David Henningsson wrote: > > That is a very valid point; we might not strive to eliminate the average > CPU as much as the worst-case CPU, even if both are important. > > Maybe you could run "perf top -d 1" and monitor that, to see if anything > special happe

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-21 Thread Aere Greenway
don't think I have ever observed any improvement in sound by setting polyphony to 256. If any of you have an example of where it improves the sound, I am interested to learn. - Aere -Original Message- From: David Henningsson Reply-to: FluidSynth mailing list To: FluidSynth maili

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-21 Thread David Henningsson
On 11/21/2012 11:07 AM, Jan Newmarch wrote: Hi Some things are getting clearer... First off: it's only parts of nightsin.kar that distort badly - about 20 seconds worth, in different places. The rest plays fine. The bad bits are when CPU usage hits impossible values - "top" says 99.9% and "pids

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-21 Thread Jan Newmarch
Hi Some things are getting clearer... First off: it's only parts of nightsin.kar that distort badly - about 20 seconds worth, in different places. The rest plays fine. The bad bits are when CPU usage hits impossible values - "top" says 99.9% and "pidstat" says anything upto 380%! It isn't a uni

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-20 Thread Louis B.
Try adding the flag -r22050 as this halves the CPU through put. See: "fluidsynth on NetBooks and low performance computers" on this page: http://sourceforge.net/apps/trac/fluidsynth/wiki/ExampleCommandLines On Nov 20, 2012 9:57 PM, "David Henningsson" wrote: > On 11/20/2012 08:58 AM, Jan Newmarch

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-20 Thread David Henningsson
On 11/20/2012 08:58 AM, Jan Newmarch wrote: Hi I recompiled 1.1.6 with polyphony set to 64. There doesn't seem to be a command line option to reset parameters like this, but it shouldn't be too hard to add one. Yes I know, use fluid_settings_setXXX in the code... The option is: "fluidsynth -o

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-20 Thread S. Christian Collins
On 11/20/2012 01:58 AM, Jan Newmarch wrote: > I ran perf (from linux-tools Debian pkg) on the RPi for nightsin.kar using > two soundfonts and got > > 32.07% fluid_rvoice_buffers_mix > 26.89% fluid_rvoice_dsp_interpolate_4th_order > 12.99% fluid_iir_filter_apply > 11.00% fl

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-20 Thread Aere Greenway
arch Reply-to: FluidSynth mailing list To: FluidSynth mailing list Subject: Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi Date: Tue, 20 Nov 2012 18:58:36 +1100 Hi I recompiled 1.1.6 with polyphony set to 64. There doesn't seem to be a command line option to reset param

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-19 Thread Jan Newmarch
make the same change using command-line > parameters. > > > - Aere > > -----Original Message----- > From: David Henningsson > Reply-to: FluidSynth mailing list > To: FluidSynth mailing list > Subject: Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-19 Thread David Henningsson
On 11/19/2012 02:37 PM, Pedro Lopez-Cabanillas wrote: On Mon, Nov 19, 2012 at 1:05 PM, David Henningsson mailto:di...@ubuntu.com>> wrote: Given that floats are faster on ARM devices (and probably older x86 devices as well), I think it makes sense to switch back to using single point

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-19 Thread Pedro Lopez-Cabanillas
On Mon, Nov 19, 2012 at 1:05 PM, David Henningsson wrote: > Given that floats are faster on ARM devices (and probably older x86 > devices as well), I think it makes sense to switch back to using single > point precision by default. I don't really care too much. Double precision needed real worl

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-19 Thread David Henningsson
On 11/19/2012 07:34 AM, Pedro Lopez-Cabanillas wrote: El Lunes, 19 de noviembre de 2012 06:42:38 David Henningsson escribió: On 11/18/2012 07:56 PM, Pedro Lopez-Cabanillas wrote: El Domingo, 18 de noviembre de 2012 12:51:58 David Henningsson escribió: I'll do some experiments with it when I ha

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread Pedro Lopez-Cabanillas
El Lunes, 19 de noviembre de 2012 06:42:38 David Henningsson escribió: > On 11/18/2012 07:56 PM, Pedro Lopez-Cabanillas wrote: > > El Domingo, 18 de noviembre de 2012 12:51:58 David Henningsson escribió: > >> I'll do some experiments with it when I have some more time. > > > > My bet is floating p

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread S. Christian Collins
How much better is the performance when using linear interpolation instead of fourth order? -~Chris On 11/18/2012 11:42 PM, David Henningsson wrote: > On 11/18/2012 07:56 PM, Pedro Lopez-Cabanillas wrote: >> El Domingo, 18 de noviembre de 2012 12:51:58 David Henningsson escribió: >>> I'll do some

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread David Henningsson
On 11/18/2012 07:56 PM, Pedro Lopez-Cabanillas wrote: El Domingo, 18 de noviembre de 2012 12:51:58 David Henningsson escribió: I'll do some experiments with it when I have some more time. My bet is floating point exceptions. I tried to verify this theory on my Nexus 7 device. I've tried to

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread Pedro Lopez-Cabanillas
El Domingo, 18 de noviembre de 2012 12:51:58 David Henningsson escribió: > I'll do some experiments with it when I have some more time. My bet is floating point exceptions. We have already discussed this theory before [1] without fixing too much, and users continue reporting similar problems, so

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread Aere Greenway
ling list To: FluidSynth mailing list Subject: Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi Date: Sun, 18 Nov 2012 12:51:58 +0100 On 11/18/2012 11:07 AM, Jan Newmarch wrote: > Thanks to Christian and Aere. Here are some more results on a file > nightsin.kar of various

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread David Henningsson
On 11/18/2012 11:07 AM, Jan Newmarch wrote: Thanks to Christian and Aere. Here are some more results on a file nightsin.kar of various choices using pidstat: Version flags sound font cpu % memory %comments 1.1.5 noneFluidR3_GM 75% 43% unlistenable 1.1.

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-18 Thread Jan Newmarch
Thanks to Christian and Aere. Here are some more results on a file nightsin.kar of various choices using pidstat: Version flags sound font cpu %

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-17 Thread Aere Greenway
changes work for you. - Aere -Original Message- From: Jan Newmarch Reply-to: FluidSynth mailing list To: fluid-dev@nongnu.org Subject: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi Date: Sat, 17 Nov 2012 21:25:27 +1100 Recently there was a thread about 1.1.5 on an RPi. I&#

Re: [fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-17 Thread S. Christian Collins
Try GeneralUser GS FluidSynth version from this site . It is much smaller than FluidR3, so it should hopefully use less CPU. -~Chris On 11/17/2012 04:25 AM, Jan Newmarch wrote: > Recently there was a thread about 1.1.5 on an RPi. I'm picking that u

[fluid-dev] problems with fluidsynth 1.1.6 on a raspberry pi

2012-11-17 Thread Jan Newmarch
Recently there was a thread about 1.1.5 on an RPi. I'm picking that up for 1.1.6. I have a Model B RPi with 512M RAM. I have the Raspbian hard float image installed rather than the Debian soft float (which behaves worse). I have applied the security fixes suggested by Aere Greenway. I'm running it