fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] ALSA driver consuming too much CPU


From: Paul Millar
Subject: Re: [fluid-dev] ALSA driver consuming too much CPU
Date: Tue, 21 Nov 2006 14:30:41 +0000
User-agent: KMail/1.9.5

On Saturday 18 November 2006 12:00, Mihail Zenkov wrote:
> You have this problem with sample rate = 48000 ?

I'm not sure which of the problems you mean (failing to set the sample rate or 
100% CPU usage), but both remain a problem.

I can set the sample rate to 48kHz in fluid_settings_t;  but, when I start the 
audio output, it falls back to 41.1kHz giving the usual warning:

fluidsynth> The sample rate is set to 44100, the synthesizer may be out of 
tune

BTW, when I try using my second sound card there is no problem.  (I have two 
in my desktop machine, because the built-in Intel chip was only fairly 
recently supported under Linux.)

hw:0 is Ensoniq AudioPCI (TriTech TR28602)
hw:1 is Intel 82801DB-ICH4 (Realtek ALC650D)

The following table contains the results when trying to set different 
frequencies with the cards.  "Y" means I get the above warning message 
("...synthesizer may be out of tune"),  "N" means no message generated.

                        Sound card
Freq/kHz                hw:0    hw:1
44.1                    Y               N
48                      Y               N

BTW, the Wikipedia article about the card:
  http://en.wikipedia.org/wiki/Ensoniq_AudioPCI
says the card supports  "16-bit [...] playback at up to 48 kHz".

Cheers,

Paul.

PS.
setting the ALSA device to "default" whilst trying to set the freq to 48kHz 
still gives 100% CPU usage but setting this to "hw:0" works fine.

Attachment: pgpCCyu9npEMY.pgp
Description: PGP signature


reply via email to

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