Subject: Re: Proposal: Audio: Sampling rate conversion
To: None <tech-kern@netbsd.org>
From: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
List: tech-kern
Date: 03/14/2002 10:54:19
At Thu, 14 Mar 2002 03:34:51 +0900,
IWAMOTO Toshihiro wrote:
> I noticed that Matlab has a digital filter design tool and played with
> it to generate a set of filters to do 44.1 <-> 48kHz conversion.
> 
> I've put the code temporarily at
>     http://www.sat.t.u-tokyo.ac.jp/~iwamoto/misc2/aurateconv.c
> which should have sufficiently high quality for most purposes.
> It does 44.1 <-> 50.4 <-> 48kHz two-staged conversion, which idea I

I thought it over and now I think this approach wasn't good.
By directly converting, it uses about 20kB more memory but runs
about twice faster.

I updated the code.  Old behavior is retained by using -DTWOSTAGED.

--
IWAMOTO Toshihiro