Displaying 6 results from an estimated 6 matches for "tail_length".
2013 Jan 07
0
Something wrong with echo_diagnostic.m
...nor modifications to the file to correct those errors
and publish it here.
If it can helps the project to be more perfect, please consider
accepting the changes.
The modified code:
% Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'out_file'.
function out = echo_diagnostic(rec_file, play_file, out_file, tail...
2005 Sep 18
1
Adjustable parameters for VAD in preprocessor
...frames without).. I'd like to turn those 4
constants into speex_preprocess_ctl tunable variables, most likely through
SPEEX_PREPROCESS_GET_VAD_PARAMETERS / SET_VAD_PARAMETERS with ptr being a
pointer to
typedef struct {
float trigger_level;
float keep_level;
int keep_window;
int tail_length;
} SpeexPreprocessVadParameters;
I'm a bit unsure if keep_window (used with prob > .1) should be the same as
tail_length. At the moment, I have an external counter in my program that keeps
track of how many frames it's been since the vad returned 1, and if it's less
than a user-s...
2009 Apr 20
2
Echo Can Tail Length
...somewhere. The documentation on http://speex.org/docs/manual/speex-manual/node7.html#SECTION00740000000000000000
says, " The recommended tail length is approximately the third of
the room reverberation time". However, the Octave script
echo_diagnostic.m has the code:
if (b > .3*tail_length)
printf ('This is too much delay, try delaying the far-end
signal a bit\n');
This seems to mandate that the tail length should be at least 3 (or
3.33...) times the delay, which conflicts with what the manual says.
Is this a mistake, or is my understanding incorrect (I'm ass...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...cellation of Speex (1.2beta2) on Windows XP. I use the Windows Media API (i.e. waveInOpen, waveOutOpen etc) for playback and capture, but I cannot make echo cancellation works in my use case. Here is a description of what I tried: (the sound is in 8kHz and 16 bits per sample, the frame size is 240, tail_length is long enough to cover the far end to near end delay)
Experiment 1:
A sine wave is generated in my test program (each frame has a random frequency). And the echo cancellation function is called:
speex_echo_cancellation(echo_state, input_frame, echo_frame, output_frame);
where input_frame has...
2009 Apr 20
0
Echo Can Tail Length
...ion on http://speex.org/docs/manual/speex-manual/node7.html#SECTION00740000000000000000
> says, " The recommended tail length is approximately the third of
> the room reverberation time". However, the Octave script
> echo_diagnostic.m has the code:
>
> if (b > .3*tail_length)
> printf ('This is too much delay, try delaying the far-end
> signal a bit\n');
>
> This seems to mandate that the tail length should be at least 3 (or
> 3.33...) times the delay, which conflicts with what the manual says.
There's no conflict. The b above ha...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...cellation of Speex (1.2beta2) on Windows XP. I use the Windows Media API (i.e. waveInOpen, waveOutOpen etc) for playback and capture, but I cannot make echo cancellation works in my use case. Here is a description of what I tried: (the sound is in 8kHz and 16 bits per sample, the frame size is 240, tail_length is long enough to cover the far end to near end delay)
>
>
> Experiment 1:
>
> A sine wave is generated in my test program (each frame has a random frequency). And the echo cancellation function is called:
>
> speex_echo_cancellation(echo_state, input_frame, echo_frame, out...