Displaying 20 results from an estimated 2000 matches similar to: "rgding VAD"
2004 Aug 06
1
rgding VAD
On Tue, 2003-04-15 at 11:31, Jean-Marc Valin wrote:
> > How do i detect whether there is silence in media using speex?
> > Is there any API which decides that the audio data only contains
> > silence?
> > Basically i will have PCM linear data, I want to know whether it is
> > complete silence.
>
> Well, the best way is probably to turn VAD *and*
2004 Aug 06
0
Re: Please confirm your message
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title></title>
</head>
<body>
<a class="moz-txt-link-abbreviated" href="mailto:speex-dev@xiph.org">speex-dev@xiph.org</a> wrote:
<blockquote type="cite"
cite="mid1050398492.11049.TMDA@motherfish-II.xiph.org">
<pre
2004 Aug 06
0
rgding VAD
> How do i detect whether there is silence in media using speex?
> Is there any API which decides that the audio data only contains
> silence?
> Basically i will have PCM linear data, I want to know whether it is
> complete silence.
Well, the best way is probably to turn VAD *and* DTX on. Then when
there's silence, the speex_encode function will return zero, which
2004 Aug 06
1
LIB usage
Hello,
I'm trying to use the speexlib but I just can't do it. I've made just like the
example (on the site) says. Some times I get SIGFAULT. Also, I'm reading the
input_frames from /dev/dsp (directly). What is missing here?
speex_bits_init(&bits);
enc_state = speex_encoder_init(&speex_nb_mode);
speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &frame_size);
2004 Aug 06
1
DTX and VAD doesn't work on one of my computers.
Dear Jean,
Thank you so much for reply my message.
I am sorry the function return 38 is speex_bits_write(). This function doesn't work on one of my computers. But after I add the function speex_preprocess(), it works well. I am wondering what is the possible reason? What the function speex_preprocess() does?
Another problem I have now is when I enable dtx and vad with function
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
Hello,
in my project im using speex 1.2rc1 and the preprocessor VAD seems to
only separate complete silence from not complete silence frames.
The Speex Manual, you can read "The voice activity detector (VAD)
provided by the preprocessor is more advanced than the one directly
provided in the codec."
but if you go to the source code in preprocess.c line 995 "/* FIXME:
This VAD
2004 Aug 06
1
DTX and VAD doesn't work on one of my computers.
Hi there,
I enable DTX and VAD in speex_encode to detect whether there is silence in voice data. But the same programme got different result on my computers. The function speex_encode always return 38 on one of my computers although it is silence. On all other computers the function speex_encode return 1 when it is silence. It means DTX and VAD doesn't work on particular OS or PC. Do anyone
2012 Mar 10
3
problem: The decoded frame is not as the original one
Hi All,
i need your help in determining the problem in the following sample code (taken from speex manual) for fixed point encoding.
i tested encoding a 160 sample frame and then decoding it back But The problem is that the decoded frame is totally different from the original frame(see output below).What is the possible reason for this?.thanks for any help
#include<stdio.h>
2005 Jun 06
1
SpeexBits Questions
The example in the documentation demonstrates using speex_bits_reset
before encoding and decoding each frame.
"
speex_bits_reset(&bits);
speex_encode(enc_state, input_frame, &bits);
nbBytes = speex_bits_write(&bits, byte_ptr, MAX_NB_BYTES);
"
What happens if this is not done? I think I'm missing the point of
having a SpeexBits object.
2005 Jun 06
1
SpeexBits Questions
Thanks, it makes more sense to me now. Does speex_bit_read_from also
append in that manner?
Jean-Marc Valin wrote:
> speex_bits_reset is before encoding, not decoding. If you don't call it,
> then everything you encode will be appended so it will grow without end.
> As for the point of the SpeexBits struct, it's there as a sort of "array
> of bits" to it's easy
2004 Aug 06
3
Error in my code
Hi
I apologise if the following message is inappropriate for
this list. However, I feel this is the only place where I
can get some help with my problem.
BOOL CALLBACK RecordProc(HRECORD hRecord, void *buffer,
DWORD length, DWORD user)
{
try
{
long sent = 0;
long inputOffset = 0;
long outputOffset = 0;
long nbBytes = 0;
char *outputBuffer = NULL;
2007 Sep 19
1
Speex Questions <./Configure %install make [-enable-fixed-point] setting> and Encoding Times etc...
Hi, Speex-dev
I've been able to get Speex to compile on SM400M(MIPSII) with problems.
------ Rebuild All started: Project: speexenc, Configuration: Debug SM400M
(MIPSII) ------
Deleting intermediate and output files for project 'speexenc', configuration
'Debug|SM400M (MIPSII)'
Compiling...
getopt.c
getopt1.c
skeleton.c
speexenc.c
.\speexenc.c(501) : warning
2006 Oct 24
2
Does VAD/DTX work without VBR and Preprocessor
Hello,
I'm try to run speex on some ARM processor.
I'd like to cut away some speex features including VBR, ABR and preprocessor
while still supporting VAD/DTX.
But I've found some puzzles in the source code regarding VAD as below,
1) there are VAD related codes in the source file preprocess.c.
Will VAD still work If I don't use the source file preprocess.c?
2)The speex manual
2010 Sep 04
1
Possible malformed G729B - SID (VAD/DTX) frames from carrier endpoint ?
Hello,
We are in the process of debugging a voice quality issue for a client of
ours that is a VoIP services provider. The client uses a softphone that
runs on a pjsip stack.
When placing a call using the softphone, it negotiates the use of G729
codec with the remote endpoint (ptime = 20ms). The endpoint transmits RTP
packets with encoded G729 payload. VAD/DTX is enabled. We see that the
last
2006 Oct 24
1
Does VAD/DTX work without VBR and Preprocessor
Hi Marc,
Thanks for your quick response.
So if VAD is enabled then VBR will be enable although it's a special VBR.
How about take out the VAD code from the VBR and remove the code else?
Lianghu
On 10/24/06, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:
>
> > 1) there are VAD related codes in the source file preprocess.c.
> > Will VAD still work If I
2004 Aug 06
0
DTX and VAD doesn't work on one of my computers.
Dear Jean,
> Actually, 38 is normal for the 15 kbps mode. For the rest, could you
> give more details. Also, what platform is the problematic machine? (What
> CPU, what OS, what compiler).
Thanks for your reply.
The platform is WindowsXP Professional with SP1.
CPU is Celeron CPU 1.70GHz.
Compiler is VC++ 6.0.
I have enabled VAD and DTX . In this computer, speex_bits_write() still
2005 Apr 26
1
tgAudioCodec.zip
I have (finally) posted my Speex wrapper classes. They are at:
http://www.grandgent.com/spx/tgAudioCodec.zip
I followed your recommendations and they worked fine with 1.1.0.
However, I'm still having the same problem with 1.1.7 that I had the
last time I tried to upgrade. I'm using the same code with both versions,
except for calling speex_encode_int instead of speex_encode, and
2004 Aug 06
2
--dtx alone does nothing?
I'm running a:
for band in n w u
do
for quality in 0 1 2 3 4 5 6 7 8 9 10
do
for complexity in 3
do
for vad in "" "--vad"
do
for dtx in "" "--dtx"
do
echo speexenc -${band} --quality ${quality} --comp ${complexity} ${vad} ${dtx} input.${band}.wav
2005 Jun 27
1
VAD encoder sensitivity?
Hi,
When using the encoder function, speex_encode_int(st, in_short, &bits),
with VBR disabled and VAD enabled, the function always return a 1.
Also, when enabled DTX along with VAD enabled, most of the time the
function return a 1 even when it is silence.
Is there a way to change the sensitivity of the VAD by changing some
parameters in the source code, so when it is silence, the
2004 Aug 06
2
DTX in speech
Hello,
I am trying to use the DTX feature of speex to tell if the user is
speaking. I have VBR, DTX and VAD turned on, but the function
speex_encode always returns a non-zero value. It is my understanding
that it should return a zero value when the encoder detects silence?
Could anyone give me any clues to help figure out why this isn't working
for me? I am using the 1.13 version of speex on