Re: Convert sampling rate
- From: "Alessandro Angeli [MVP::DS/MF]" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Jun 2006 16:58:58 +0200
alex wrote:
I am recording a voice from the mic input in the
following format: 16000Hz, 16 bit per sample.
So, a 20 ms frame contains 320 samples of type "short".
I need to downsample the data into 8000Hz inside my C++
code.
Just copy the buffer dropping every other sample.
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// a dot angeli at psynet dot net
.
- Follow-Ups:
- Re: Convert sampling rate
- From: Chris P. [MVP]
- Re: Convert sampling rate
- References:
- Convert sampling rate
- From: alex
- Convert sampling rate
- Prev by Date: Convert sampling rate
- Next by Date: Re: Convert sampling rate
- Previous by thread: Convert sampling rate
- Next by thread: Re: Convert sampling rate
- Index(es):
Relevant Pages
|
Loading