Displaying 2 results from an estimated 2 matches for "pechost".
Did you mean:
pdchost
2004 Dec 30
2
echo cancellation
...contain what the speakers are going to play
short * microphoneSample; //what the microphone is going to register
short* cancelledSample; //the ouput without echo
int* cancelledSpectrum; //output cancelled spectrum
//now i assume that i should initialise everything like that:
SpeexEchoState* pechoState = speex_echo_state_init(160,x*160); //do the
second parameter need to be a multiple of the frame size?
AllocBuffers(SpeakerSample,microphoneSample,cancelledSample,cancelledSpectrum);
do{
captureSpeaker(speakerSample);
captureMicrophone(microphoneSample);
speex_echo_cancel(pechoState, microphon...
2004 Dec 30
0
echo cancellation
...to play
> short * microphoneSample; //what the microphone is going to register
> short* cancelledSample; //the ouput without echo
> int* cancelledSpectrum; //output cancelled spectrum
>
> //now i assume that i should initialise everything like that:
>
> SpeexEchoState* pechoState = speex_echo_state_init(160,x*160); //do the
> second parameter need to be a multiple of the frame size?
> AllocBuffers(SpeakerSample,microphoneSample,cancelledSample,cancelledSpectrum);
>
> do{
> captureSpeaker(speakerSample);
> captureMicrophone(microphoneSample);
> spee...