Displaying 20 results from an estimated 1000 matches similar to: "Decoding multiple frames"
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;
2006 Jan 17
2
Recommended GUI for Speex
Hi all,
I have recently added Speex support to my app (http://sbooth.org/Max/) and
am in the process of creating a GUI for the user to control the codec
parameters. I am new to Speex and as such I am not really sure which
parameters are more important than others, and deserve prominent
placement, etc. Is there a recommended GUI for people to follow or use as
an example?
Stephen
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
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
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
2005 Sep 02
2
DTX mode using preprocessor?
Could a method be added to use the VAD from the preprocessor to send the
packet with the 'dtx_enable' flag in it, so the decoder on the other end
knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1)
At the moment, I can hack around it by doing something like:
if (VAD for prev frame && ! VAD for this frame) {
iArg = 0;
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
2016 Oct 04
2
encoder with FEC+DTX enabled but not detecting noise
Hi,
When we pass around 9K samples of only ambient noise (no voice), the
encoder which is enabled FEC+DTX is detecting only some 140 frames as
non-voice (returning only TOC, no frame content). We were expecting all or
more to be identified as non-voice.
Our idea was to check how the decoder re-generates the original ambient
noise during the silence duration (when we feed NULL to decoder) when
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
2005 Jun 27
3
More integer / ARM-specific optimizations
Dear Speex Developers,
We are currently using the basics features of Speex
1.1.10 on our little embedded ARM processor and it
works great! However, we hit a brick-wall when trying
to use echo cancellation or the pre-processor; our CPU
(no FPU) jumped to above 90%. Are there any plans in
the immediate future to optimize the VAD/DTX and
pre-processor code of Speex (convert to fixed-point,
ARM
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
2006 Apr 19
2
discontinous transmision causes discontinous sound
Hi, im working on a voIP application. In order to reduce the traffic,
decided not to send "silence" blocks.
Firstly i used an algorithm based on the volume to determine what is
silence, and now im using the return value of the preprocessor to
determine that.
In both cases, after any not sent block, the next block of sound i send
starts ok, then makes a little "pause" and
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
3
Speex settings and jitter
Hi,
Is there are document where the interaction between all the configuration
options of speex is explained?
Speex seems to have CBR, VBR and ABR. You can also use SPEEX_SET_QUALITY
(SPEEX_SET_VBR_QUALITY) and SPEEX_SET_BITRATE which I suppose can't be set
at the same time. Is there a list of possible combinations somewhere?
I also have another question related to jitter. To minimize jitter,
2005 Jan 03
2
Speex codec for 8Kbps setting ?
Hi,
I am looking how to setup speex codec in codecs.conf for 8 Kbps and 6 Kbps.
In config file are many parameters for setting.
I don't know what is need to change for narrowbad like 8 Kbps and 6 kbps.
Any suggestion?
[speex]
;0-10
quality => 4
;0-10
complexity => 4
; true / false
enhancement => true
; true / false
vad => false
; true / false
vbr => false
; 0 = off, otherwise,
2005 Jul 20
4
Alternatives to Digium 729
Per my conversation below with digium, are there any legal alternatives
to digium's G729? It is out of date, and doesn't support VAD nor silence
detection.
Digium has stated that they have no plans to update it anytime soon.
VAD/Silence is a big deal with major carriers and we are having to fight
a battle to get them to make special arrangements to turn off
VAD/Silence in their
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*
2006 Jul 18
1
SpeexEncoder requires 320 samples to process a Frame, not 160
Hi guys
I have tried compiling this attached code, I made all the buffers 320, there is no trace of a 160 buffer, but I get a "
SpeexEncoder requires 320 samples to process a Frame, not 160" error.
Maybe there's something I'm missing, here's my code:
import java.io.IOException;
import java.io.FileOutputStream;
import java.io.File;
import
2006 Oct 04
2
Crash in cb_search.c, line 414
Jean-Marc Valin wrote:
>> gcc version 3.4.5 (mingw special)
>
> Can you try 4.0 or 4.1 just to be sure?
mingw (native gcc for win32) doesn't officially support using gcc 4.0
and 4.1 yet (apparantly there have been some issues), so there are no
binary packages. But if you think it helps, I can compile gcc 4.1 and
give it a shot.
>> Compile flags:
>> DEFINES +=
2004 Aug 06
1
Frozen upper spectrum in WB VBR CNG
Jean-Marc Valin (jean-marc.valin@hermes.usherb.ca) wrote:
>
> > I've been using Speex in my voice-over-IP program on Win32, in
> > wideband (16kHz) mode. I just starting using VBR recently and
> > have run into something that might be a problem within Speex:
>
> Are you turning on DTX in addition to VBR? Also, what version are you
> using. As of 1.0, DTX is