From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene Herman Subject: Re: [Alsa-devel] Quality resampling code for libasound Date: Wed, 21 Mar 2007 17:38:21 +0100 Message-ID: <46015F7D.8030703@gmail.com> References: <45D92131.50601@usherbrooke.ca> <45D99DF7.90204@usherbrooke.ca> <45D9A848.9040803@usherbrooke.ca> <45DA8CD2.1040606@usherbrooke.ca> <45DAE188.6010405@usherbrooke.ca> <45DAEBB8.70808@usherbrooke.ca> <45DB713F.9090804@superbug.co.uk> <45DC0E52.1060805@usherbrooke.ca> <45DD8329.6080809@usherbrooke.ca> <45E4E4A5.6020405@usherbrooke.ca> <45EF5FE1.5080407@usherbrooke.ca> <45FFE014.1080100@usherbrooke.ca> <45FFEAA9.4040606@usherbrooke.ca> <4600539A.2070804@usherbrooke.ca> <46012E39.3020201@usherbrooke.ca> <46014EDE.6090700@gmail.com> <46015087.6090003@usherbrooke.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by alsa0.perex.cz (Postfix) with ESMTP id 78FD7243F8 for ; Wed, 21 Mar 2007 17:39:21 +0100 (CET) In-Reply-To: <46015087.6090003@usherbrooke.ca> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jean-Marc Valin Cc: alsa-devel@alsa-project.org, James Courtier-Dutton List-Id: alsa-devel@alsa-project.org On 03/21/2007 04:34 PM, Jean-Marc Valin wrote: >> Users of these distributions would then have to be fairly familiar with >> alsa to know they could improve sound by recompiling alsa-lib against >> the speex libraries, but given that it's (also) dirt cheap soundcards >> that need the resampling, their users aren't too likely to _be_ fairly >> familiar. They'd just observe (still) that their sound is "much better >> on windows". > > Oh, I meant using a copy of the pph code in the mean time, not the > current linear interpolation resampler. Mmm, I believe Takashi Iwai was though. If I interpreted him correctly he proposed to optionally link libasound against libspeex (libresample?) if so ./config-ured and found at alsa-lib compile time but to keep using the current resampler when not. Given the idea that distributions probably don't want their alsa-lib package dependent on their speex package (alsa-lib is right above the kernel and mandatory on any Linux system wanting to do anything with sound while speex is significantly higher up on the chain) I worried this would mean your code wouldn't be used in practice. >> If the standard code is as lousy as I've read in this thread, >> keeping it as default is probably not the best thing. > > It's worse than you think :-) Try playing an 8 kHz file to a > soundcard that only does 44.1/48. It's just horrible. Trouble is that I don't have a soundcard that can only do 44.1/48. I'll go hack up a driver to pretend I do though and try. Have a nice 8 kHz file I can try with? :) Rene.