Re: [Alsa-user] Higher quality dmix resampling

2009-06-16 Thread Grant
>>> I get a lot of static-like noise when dmix resamples audio with a USB >>> DAC I'm trying out.  When I have mpd resample internally with >>> libsamplerate, it sounds perfect.  Can I get dmix to use libsamplerate >>> or disable dmix?  One of the main programs I use with audio is miro >>> which do

Re: [Alsa-user] Higher quality dmix resampling

2009-06-16 Thread Jaroslav Kysela
On Tue, 16 Jun 2009, Grant wrote: I get a lot of static-like noise when dmix resamples audio with a USB DAC I'm trying out.  When I have mpd resample internally with libsamplerate, it sounds perfect.  Can I get dmix to use libsamplerate or disable dmix?  One of the main programs I use with audio

Re: [Alsa-user] Higher quality dmix resampling

2009-06-16 Thread Grant
> I get a lot of static-like noise when dmix resamples audio with a USB > DAC I'm trying out.  When I have mpd resample internally with > libsamplerate, it sounds perfect.  Can I get dmix to use libsamplerate > or disable dmix?  One of the main programs I use with audio is miro > which doesn't allo

Re: [Alsa-user] Higher quality dmix resampling

2009-05-17 Thread Grant
>> >> If it's the latter (as usually is on modern systems), then its just >> >> the input interface that changes, you're goin' trough ALSA anyway. >> >> Also, I should mention something that contradicts this.  When I define >> a "format" for dmix in /etc/asound.conf that my DAC doesn't like, no >>

Re: [Alsa-user] Higher quality dmix resampling

2009-05-16 Thread Paolo Saggese
On Saturday 16 May 2009, Grant wrote: > >> If it's the latter (as usually is on modern systems), then its just > >> the input interface that changes, you're goin' trough ALSA anyway. > > Also, I should mention something that contradicts this. When I define > a "format" for dmix in /etc/asound.co

Re: [Alsa-user] Higher quality dmix resampling

2009-05-16 Thread Grant
>>> > So how come that you don't get 'em with mpd?! >>> >>> In mpd I specify oss instead of alsa.  If I specify alsa and involve >>> dmix, I get static in mpd too. >> >> you say OSS... but was that the "real" oss (does it still exist for >> modern kernels/hardware?!) or was it just the ALSA oss emu

Re: [Alsa-user] Higher quality dmix resampling

2009-05-16 Thread Grant
>> > So how come that you don't get 'em with mpd?! >> >> In mpd I specify oss instead of alsa.  If I specify alsa and involve >> dmix, I get static in mpd too. > > you say OSS... but was that the "real" oss (does it still exist for > modern kernels/hardware?!) or was it just the ALSA oss emulation?

Re: [Alsa-user] Higher quality dmix resampling

2009-05-16 Thread Paolo Saggese
On Friday 15 May 2009, Grant wrote: > > So how come that you don't get 'em with mpd?! > > In mpd I specify oss instead of alsa. If I specify alsa and involve > dmix, I get static in mpd too. you say OSS... but was that the "real" oss (does it still exist for modern kernels/hardware?!) or was it

Re: [Alsa-user] Higher quality dmix resampling

2009-05-15 Thread Grant
>> I've tried S24_3LE, S24LE, S24_BE, S24_3BE, FLOAT_LE, and FLOAT_BE. >> None of them produce sound except for S24_3LE.  S16_LE works, but >> stills suffers from the static problem.  Is there another format I >> should try? > > try the "U" (unsigned) ones... i.e. U16_LE, U24_3LE, etc. > >> > BTW:

Re: [Alsa-user] Higher quality dmix resampling

2009-05-15 Thread Grant
>> > (BTW: in Debian /etc/asound.conf does not even exists... >> > are you sure your distribution is setup to use that file?) >> >> I'm using Gentoo and I know /etc/asound.conf works because defining >> dmix's sample rate there lights up the corresponding LED on the USB >> DAC.  I tried moving the

Re: [Alsa-user] Higher quality dmix resampling

2009-05-15 Thread Grant
>> > Nevertheless, I guess these "static" problem is not related >> > to the resample algorithm you are using - unless the problem >> > is related to insufficient system resources. What CPU do you >> > have? >> >> I'm using an AMD64 Athlon 3.1ghz CPU. > > that one should have more than enough horse

Re: [Alsa-user] Higher quality dmix resampling

2009-05-15 Thread Paolo Saggese
On Thursday 14 May 2009, Grant wrote: > I've tried S24_3LE, S24LE, S24_BE, S24_3BE, FLOAT_LE, and FLOAT_BE. > None of them produce sound except for S24_3LE. S16_LE works, but > stills suffers from the static problem. Is there another format I > should try? try the "U" (unsigned) ones... i.e. U1

Re: [Alsa-user] Higher quality dmix resampling

2009-05-15 Thread Dominique Michel
Le Thu, 14 May 2009 08:12:59 -0700, Grant a écrit : > > > > (BTW: in Debian /etc/asound.conf does not even exists... > > are you sure your distribution is setup to use that file?) > > I'm using Gentoo and I know /etc/asound.conf works because defining > dmix's sample rate there lights up the cor

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Grant
>> I added this to /etc/asound.conf: >> >> pcm.!default { >> type plug >> slave.pcm { >> type dmix >> ipc_key 1024 >> slave { >> pcm "hw:0" >> format S24_3LE >> rate 96000 >> } >> } >> } > > are you sure "S24_3LE" is the proper format for your card? > > even if it is a "24-96" card, it may require

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Paolo Saggese
On Thursday 14 May 2009, Grant wrote: > > Nevertheless, I guess these "static" problem is not related > > to the resample algorithm you are using - unless the problem > > is related to insufficient system resources. What CPU do you > > have? > > I'm using an AMD64 Athlon 3.1ghz CPU. that one s

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Paolo Saggese
On Thursday 14 May 2009, Grant wrote: > I added this to /etc/asound.conf: > > pcm.!default { > type plug > slave.pcm { > type dmix > ipc_key 1024 > slave { > pcm "hw:0" > format S24_3LE > rate 96000 > } > } > } are you sure "S24_3LE" is the proper format for your card? even if it is a "24-96" c

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Grant
>> defaults.pcm.rate_converter "speexrate_best" >> >> in /etc/asound.conf and I restarted alsa, but I still have the static >> problem. > > what do you have in your ~/.asoundrc ? > > usually that's the "best" place to put your customizations. > > (BTW: in Debian /etc/asound.conf does not even exis

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Sergei Steshenko
On Thu, 14 May 2009 07:39:14 -0700 Grant wrote: > >> >> I'm playing a video in miro and I get: > >> >> > >> >> # lsof|grep speex > >> >> miro.real  9019     user  mem       REG                8,3    108992 > >> >> 28197654 /usr/lib64/libspeex.so.1.4.0 > >> >> > >> >> Does this mean dmix is using

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Grant
>> >> I'm playing a video in miro and I get: >> >> >> >> # lsof|grep speex >> >> miro.real  9019     user  mem       REG                8,3    108992 >> >> 28197654 /usr/lib64/libspeex.so.1.4.0 >> >> >> >> Does this mean dmix is using speex?  If so, what else could be causing >> >> my static proble

Re: [Alsa-user] Higher quality dmix resampling

2009-05-14 Thread Paolo Saggese
On Wednesday 13 May 2009, Grant wrote: > defaults.pcm.rate_converter "speexrate_best" > > in /etc/asound.conf and I restarted alsa, but I still have the static problem. what do you have in your ~/.asoundrc ? usually that's the "best" place to put your customizations. (BTW: in Debian /etc/asoun

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Sergei Steshenko
On Wed, 13 May 2009 17:50:04 -0700 Grant wrote: > >> I'm playing a video in miro and I get: > >> > >> # lsof|grep speex > >> miro.real  9019     user  mem       REG                8,3    108992 > >> 28197654 /usr/lib64/libspeex.so.1.4.0 > >> > >> Does this mean dmix is using speex?  If so, what e

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Grant
>> I'm playing a video in miro and I get: >> >> # lsof|grep speex >> miro.real  9019     user  mem       REG                8,3    108992 >> 28197654 /usr/lib64/libspeex.so.1.4.0 >> >> Does this mean dmix is using speex?  If so, what else could be causing >> my static problem?  I basically hear sta

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Sergei Steshenko
On Wed, 13 May 2009 14:46:26 -0700 Grant wrote: > I'm playing a video in miro and I get: > > # lsof|grep speex > miro.real 9019 user mem REG8,3108992 > 28197654 /usr/lib64/libspeex.so.1.4.0 > > Does this mean dmix is using speex? If so, what else could be causi

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Grant
>> >> BTW, did you install alsa-plugins-pph or so? >> >> It's a resampler from speex, and it's usually much faster and good >> >> enough. >> > >> > upsampling to 24/192 (to an "hi-end" external DAC connected >> > via I2S from a "Juli@") IME "speexrate_best" actually sounds >> > even better than "sa

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Sergei Steshenko
On Wed, 13 May 2009 12:40:39 -0700 Grant wrote: > >> BTW, did you install alsa-plugins-pph or so? > >> It's a resampler from speex, and it's usually much faster and good > >> enough. > > > > upsampling to 24/192 (to an "hi-end" external DAC connected > > via I2S from a "Juli@") IME "speexrate_bes

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Grant
>> BTW, did you install alsa-plugins-pph or so? >> It's a resampler from speex, and it's usually much faster and good >> enough. > > upsampling to 24/192 (to an "hi-end" external DAC connected > via I2S from a "Juli@") IME "speexrate_best" actually sounds > even better than "samplerate_best" (subje

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Paolo Saggese
On Wednesday 13 May 2009, Takashi Iwai wrote: > BTW, did you install alsa-plugins-pph or so? > It's a resampler from speex, and it's usually much faster and good > enough. upsampling to 24/192 (to an "hi-end" external DAC connected via I2S from a "Juli@") IME "speexrate_best" actually sounds ev

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Grant
>> I get a lot of static-like noise when dmix resamples audio with a USB >> DAC I'm trying out.  When I have mpd resample internally with >> libsamplerate, it sounds perfect.  Can I get dmix to use libsamplerate >> or disable dmix?  One of the main programs I use with audio is miro >> which doesn't

Re: [Alsa-user] Higher quality dmix resampling

2009-05-13 Thread Takashi Iwai
At Tue, 12 May 2009 12:35:48 -0700, Grant wrote: > > I get a lot of static-like noise when dmix resamples audio with a USB > DAC I'm trying out. When I have mpd resample internally with > libsamplerate, it sounds perfect. Can I get dmix to use libsamplerate > or disable dmix? One of the main pr

[Alsa-user] Higher quality dmix resampling

2009-05-12 Thread Grant
I get a lot of static-like noise when dmix resamples audio with a USB DAC I'm trying out. When I have mpd resample internally with libsamplerate, it sounds perfect. Can I get dmix to use libsamplerate or disable dmix? One of the main programs I use with audio is miro which doesn't allow you to s