Re: [Alsa-user] Trying to get arecord/aplay to work with M-Audio
Brought to you by:
perex
From: Bill U. <un...@ph...> - 2008-03-27 01:29:11
|
On Thu, 27 Mar 2008, Rene Herman wrote: > On 26-03-08 23:57, Bill Unruh wrote: > >> On Wed, 26 Mar 2008, Helge Fredriksen wrote: >> >> > Ok, here's what I found out: >> > >> > Since these cards seem to lack the support for doing frequency >> > conversion in >> > HW, you simply need to use the alsa plugin >> > plughw instead of hw when referring to the card: >> > >> > arecord -Dplughw:0 test.wav >> > aplay -Dplughw:0 test.wav >> >> AFAIK, alsa frequency conversion is pretty primative ( linear >> interpolation) which produces a huge amount of noise/distortion. > > The default is, but if you install the alsa-plugins package (and > libsamplerate) and add a line > > defaults.pcm.rate_converter "samplerate" > > in /etc/alsa.conf or ~/.asoundrc, things should be better (untested advice). The question is how much latency does that introduce. > > Rene. > > -- William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@ph... Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ |