Archive for date: July 14, 2009

Downsample from 48khz to 8khz

July 14, 2009 | General | By: Mark VandeWettering

I was tinkering. Wrote some code to low pass and downfilter a 48khz audio signal to only 8khz. Here’s some example output. It filters out audio above 2.7khz or so, and then downsamples to 8khz. The audio is just some test of Holst’s Mars, just meant to test. #include <stdio.h> #include <sndfile.h> #define NTAPS (55) […]