Leon at caresystems.com.au
Wed Jun 7 23:53:20 EDT 2000
how about lowpass filter your original sample rate signal to half of your intentional (ie about 11k)
then simply pick every second sample?
original sound -> lpf (@11kHz - FIR if want, but slow) -> read only every 2nd sample -> final sound
about the source code re filter - others here will be MUCH better at that (i only _used_ to be able to get linear phase FIR lowpass ;-)
From: ronald [SMTP:ronald at ion.com.au]
Sent: Thursday, June 08, 2000 12:59 PM
To: music-dsp at shoko.calarts.edu
Subject: [music-dsp] Downsampling?
I have searched and searched and haven't found ANY c source code
(or any code) to do 'downsample' data by 2.
I need to downsample 44100Khz data to 22050Khz.
I can do this using programs such as Cooledit but I need the source code
because it is not the only thing i wish to do with the data.
Any help would be greatly appreciated.
dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 2605 bytes
Desc: not available
Url : http://music.columbia.edu/pipermail/music-dsp/attachments/20000608/78d82d81/attachment-0002.bin
More information about the music-dsp