Displaying 20 results from an estimated 500 matches similar to: "One Minor Bug (Typo) in Speex 1.0"
2004 Aug 06
2
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi,
I'm using speex 1.1.4 and when I query SPEEX_GET_SAMPLING_RATE
as in
speex_encoder_ctl ( m_pEncoderState, SPEEX_GET_SAMPLING_RATE,
&m_SampleRate );
I get
2
The encoder is initialized with
m_pEncoderState = speex_encoder_init ( &speex_wb_mode );
On the decoder side, the correct sampling rate is returned:
m_pDecoderState = speex_decoder_init ( &speex_wb_mode );
2004 Aug 06
1
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi,
No, it only happens with speex_wb_mode.
But like I said, it is because in wideband mode, the function
sb_encoder_init
is called and this function initializes the sampling rate using
speex_*de*coder_ctl
instead of
speex_*en*coder_ctl
In narrowband mode, the sampling rate is just initialized to 8000
st->sampling_rate=8000;
BTW, I saw that my email was added to an existing thread instead of
2004 Aug 06
0
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi,
Do you get that problem with speex_nb_mode too (or only speex_wb_mode)?
Jean-Marc
Le lun 29/03/2004 à 05:35, Chris Flerackers a écrit :
> Hi,
>
> I'm using speex 1.1.4 and when I query SPEEX_GET_SAMPLING_RATE
> as in
> speex_encoder_ctl ( m_pEncoderState, SPEEX_GET_SAMPLING_RATE,
> &m_SampleRate );
> I get
> 2
> The encoder is initialized with
2004 Aug 06
5
Memory leak in denoiser + a few questions
Hello
The st->zeta pointer isn't freed in the speex_preprocess_state_destroy()
function of the preprocess.c file (alloced in line 167). It's in Speex 1.1.4
by the way.
I'm trying to make the denoiser work with my application and has got
reasonable noise reduction after applying the denoiser. I, however, haven't
been able to find any information of what the purpose of
2004 Aug 06
4
Framesize for UWB vs. WB encoding
Hi there.
I am having a little trouble understanding the frame sizes chosen
by the codec.
testenc_uwb.c from the speex-1.0 source distribution has a framesize
of 640 hardcoded and makes use of this value exclusively.
However, a mode query on the actual codec returns 320 as a framesize
for this mode.
int tmp;
speex_mode_query(&speex_uwb_mode, SPEEX_MODE_FRAME_SIZE, &tmp);
2010 Mar 19
4
Speex in flash player: how to work with?
Nicer way:
void* speexState = speex_encoder_init(&speex_wb_mode);
int speexFrameSize, speexRate;
speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate);
SpeexPreprocessState* speexPreprocessState = speex_preprocess_state_init(speexFrameSize, speexRate);
Jozsef
-----Original Message-----
From: Max
2005 Feb 27
2
SPEEX_GET_QUALITY
To close debian bug #271052,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=271052
I went ahead and did the following:
$ diff -u ../original/speex-1.1.6/libspeex/nb_celp.c libspeex/nb_celp.c
--- ../original/speex-1.1.6/libspeex/nb_celp.c 2004-07-15 01:16:52.000000000 -0400
+++ libspeex/nb_celp.c 2005-02-27 08:24:49.000000000 -0500
@@ -1746,6 +1746,21 @@
st->submodeSelect =
2008 Mar 29
0
GCC/ELF Visibility patch
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility
information to all symbols exported from libspeex.so and libspeexdsp.so.
It includes a configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility information
to all symbols exported from libspeex.so and libspeexdsp.so. It includes a
configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2007 Jan 08
1
VAD in preprocessor
Hi all and Jean-Marc,
Firstly thanks a lot to you for helps, at last I accomplished to use
speex-1.2beta1 in my speech application. I try to understand speex source
code and improve speech quality. The problem in my application (like many
people in the list says) is noise. So I've added VAD in preprocessor as
following. VAD in preprocessor is very good, there is not noise outside
speech. I
2016 Jun 28
1
Patches for adding 120 ms encoding
Hi Ulrich, thanks for the suggestion. My concern is that one of the valid
inputs is "2.5", which would require conversion to an int, e.g. x10, but
doing something like this would start to affect the code readability.
On Mon, Jun 27, 2016 at 3:02 PM Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:
> Hi!
>
> A note on style: Looking at this chunk of the patch
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;
2007 Jun 12
2
21bytes vs 38 bytes
Hi, I am developing a voip phone that uses speex v1.2b1 narrowband mode.
Libspeex decodes the 21-byte packets I recieve into 160 bytes and I can play
them fine, but when I encode, the result is 38-bytes long.
I have read that 38 bytes means that it is encoding at 15KHz, but I have set
it to nb-mode and when stepping through the libspeex encoding sourcecode, I
see that st->sampling_rate is
2006 Sep 21
2
AEC in WB mode fixed yet ?
> Today's Topics:
>
> 1. AEC with WB mode (Jean-Christophe.Berge@etu.enseeiht.fr)
> 2. Multiple frame encode and decode (Reza Fatahillah)
> 3. cant link speex_echo.h (jesus)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Sep 2006 08:46:03 +0200 (CEST)
> From:
2010 Jun 15
2
AEC init crashes
Hello,
I've just caught a strange crash in speex_echo_state_init routine. It
happened only on one WinXP machine, while on others using XP, Vista and
7 everything is fine.
Crash occures in mdf.c line 434: st->spec_average =
DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate);
Got any ideas or should I provide more information of the OS?
Thanks a lot!
2008 Nov 10
3
SPEEX on iPhone ?
Hello Ashhar,
thanks for your reply, but i'm a bit surprised.
1- Does it mean that it is possible to make a Real Time Encoding/Decoding
with SPEEX on iPhone ?
2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ? and
what kind of CPU load do they measure for that ?
Thanks by advance,
Vincent
----- Original Message -----
From: "Ashhar Farhan" <farhan at
2010 Mar 30
0
Speex in flash player: how to work with?
On Sat, Mar 20, 2010 at 12:04 AM, Jozsef Vass <jovass at adobe.com> wrote:
> Nicer way:
>
> void* speexState = speex_encoder_init(&speex_wb_mode);
> int speexFrameSize, speexRate;
> speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
> speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate);
> SpeexPreprocessState*
2010 Mar 31
1
Speex in flash player: how to work with?
What are you trying to accomplish? My code sample was about how Flash Player microphone input in speex.
If you want to do decode, please see speexdec.c
Jozsef
-----Original Message-----
From: Max Lapshin [mailto:max.lapshin at gmail.com]
Sent: Tuesday, March 30, 2010 8:53 AM
To: Jozsef Vass
Cc: speex-dev at xiph.org
Subject: Re: [Speex-dev] Speex in flash player: how to work with?
On Sat, Mar
2012 Sep 21
0
Xen 4.2.0 - CPU Frequency Scaling
Hi,
This has been a problem since the xen-acpi-processor code was added to
the kernel source. I wasn''t sure if the problem I was seeing was
related to the old version (4.1.2) of Xen that I was using but now I''m
on 4.2.0 and it still exists I thought I would check if I have a
misconfiguration or if I have discovered a problem. My system is a dual
AMD Opteron(tm) Processor
2007 Jun 13
1
21bytes vs 38 bytes
Hello, thank you for responding. I'm sure I'm confusing something, but I did
not explicitly set either kHz or kbps, I just set the mode to narrowband,
and traced through libspeex's code to see that sample_rate was 8000
something, I'm guessing Hz. My assumption was: if you set PA to nb-mode,
then you should encode 160 bytes to 21. Is that mistaken?
ys
On 6/13/07, Jean-Marc Valin