Displaying 13 results from an estimated 13 matches for "speex_modeid_wb".
Did you mean:
speex_modeid_nb
2007 Apr 11
0
Problem with speex
Hello!
I am downloaded last version of speex library and did compile DLL.
But I am have not good sound : Please see my code (Delphi) and say me
please WHat I am do not right.
Or please send me correct compiled DLL and example of correct using
SPEEX_MODEID_WB and SPEEX_MODEID_UWB , denoise, and other effects.
How I can set MONO mode in decode?
My Code:
smpRt:=32000;
n:=10;
encbits: TSpeexBits;
encstate: Pointer;
encframe: integer;
decbits: TSpeexBits;
decstate: Pointer;
decframe: integer;
buffEnc: array of single;
buffDec:...
2010 Jul 20
2
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
As for me - speex_echo_cancellation is a better choise. Try using it in
capture thread instead
of those speex_echo_capture and speex_echo_playback functions.
And please, describe your problem in details. Cause the fact that you
"didn get echo cancellation"
doesn't mean you are doing smth wrong.
Regards,
Anton A. Shpakovsky
-----Original Message-----
From: speex-dev-bounces at
2007 Dec 12
1
Speex 1.2beta3 is out!
...ovided
> > today, I am getting "unresolved external symbol _speex_wb_mode".
> > I am probably missing some setting with VS6.0 linker... (I am a bit new to
> > windows too)
> > If anyone could point it out, I would appreciate it.
Try to use "speex_lib_get_mode(SPEEX_MODEID_WB)" call instead of
using "speex_wb_mode" directly in your code. MS is tricky about exporting
variables from DLLs.
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
2009 Apr 13
0
encoding -> decoding doesnt work
...e same buffer.
no compiling errors and no errors during runtime, but from the sample of 5
seconds only a short noise is all I get.
I hope you have any ideas!
kind regards juergen
SpeexBits bits;
void *enc_state;
speex_bits_init(&bits);
const SpeexMode *mode;
mode = speex_lib_get_mode (SPEEX_MODEID_WB);
enc_state = speex_encoder_init(mode);
int frame_size = 0;
speex_encoder_ctl(enc_state,SPEEX_GET_FRAME_SIZE,&frame_size);
int tmp = 16000;
speex_encoder_ctl(enc_state, SPEEX_SET_SAMPLING_RATE, &tmp);
tmp = 4;
speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &tmp);
tmp = 1;
s...
2011 Aug 29
0
First encoded byte, mode bits and wideband bit
...MSB of the first encoded byte is 1 (wideband) and that the next 4 bits would be 8 (because I requested mode 8)...but this is the mapping I see
here is my code
?
?
Init Encoder:
speex_bits_init(&thisEncoder->bits);
thisEncoder->speexEncoderInstance = speex_encoder_init(speex_lib_get_mode(SPEEX_MODEID_WB));
speex_encoder_ctl(thisEncoder->speexEncoderInstance, SPEEX_SET_QUALITY, &encodermode);
?
where encodermode = 8
?
?
Init Decoder:
thisDecoder->speexDecoderInstance = speex_decoder_init(speex_lib_get_mode(SPEEX_MODEID_WB));
speex_decoder_ctl(thisDecoder->speexDecoderInstance, SPEEX_SE...
2011 Aug 10
2
Correct detection of bitrate
[This email is either empty or too large to be displayed at this time]
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
...i am calling
speex_echo_capture,speex_preprocess_run,speex_encode_int.
void CspxEnDe::Init(int mode)
{
speex_mode = mode;
initialized = 1;
speex_bits_init(&bits);
int hz = 16000; // 8khz sampling
if (speex_mode == SPEEX_MODE_ENCODE)
{
const SpeexMode * mode = speex_lib_get_mode (SPEEX_MODEID_WB);
enc_state = speex_encoder_init(mode); // For Wideband
speex_wb_mode ,Narrowband speex_nb_mode
speex_encoder_ctl(enc_state, SPEEX_SET_SAMPLING_RATE, &hz);
int quality= 8;
speex_encoder_ctl(enc_state,SPEEX_SET_QUALITY,&quality);
quality = 2;
speex_encoder_ctl(enc_state, SPE...
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
...i am calling
speex_echo_capture,speex_preprocess_run,speex_encode_int.
void CspxEnDe::Init(int mode)
{
speex_mode = mode;
initialized = 1;
speex_bits_init(&bits);
int hz = 16000; // 8khz sampling
if (speex_mode == SPEEX_MODE_ENCODE)
{
const SpeexMode * mode = speex_lib_get_mode
(SPEEX_MODEID_WB);
enc_state = speex_encoder_init(mode); // For Wideband
speex_wb_mode ,Narrowband speex_nb_mode
speex_encoder_ctl(enc_state, SPEEX_SET_SAMPLING_RATE,
&hz);
int quality= 8;
speex_encoder_ctl(enc_state,SPEEX_SET_QUALITY,&quality);
quality = 2;
speex_encoder_ctl(enc_state, SPE...
2009 Sep 02
3
voice sound like robot voice :)
...te( int samplerate )
{
sampleRate = samplerate;
// determine the mode
int modeID = -1;
// speex has limits [6000 - 48000]
if ( sampleRate > 48000 )
return;
if ( sampleRate > 25000 )
modeID = SPEEX_MODEID_UWB;
else if ( sampleRate > 12500 )
modeID = SPEEX_MODEID_WB;
else if ( sampleRate >= 6000 )
modeID = SPEEX_MODEID_NB;
else
return;
// set up mode
pMode = speex_lib_get_mode( modeID );
}
void TVoiceCodec::setupEncoder( uint quality, uint complexity )
{
encoderQuality = quality;
encoderComplexity = complexity;
// catch...
2009 Sep 03
1
Speex-dev Digest, Vol 64, Issue 2
...ID = -1;
> >
> > // speex has limits [6000 - 48000]
> > if ( sampleRate > 48000 )
> > return;
> >
> > if ( sampleRate > 25000 )
> > modeID = SPEEX_MODEID_UWB;
> > else if ( sampleRate > 12500 )
> > modeID = SPEEX_MODEID_WB;
> > else if ( sampleRate >= 6000 )
> > modeID = SPEEX_MODEID_NB;
> > else
> > return;
> >
> > // set up mode
> > pMode = speex_lib_get_mode( modeID );
> > }
> >
> > void TVoiceCodec::setupEncoder( uint quality,...
2010 Mar 04
0
using speex to connect to asterisk
Hi,
I'm trying to use speex codec in iax client to connect to asterisk (all last version)
It seems that when I use speex_encoder_init(speex_lib_get_mode(SPEEX_MODEID_WB))
Instead of speex_encoder_init(speex_lib_get_mode(SPEEX_MODEID_NB))
Asterisk try to downscale the codec to ulaw.
Please advice,
ofer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100304/96e21ced/attachment-0...
2009 Sep 03
0
voice sound like robot voice :)
...gt; // determine the mode
> int modeID = -1;
>
> // speex has limits [6000 - 48000]
> if ( sampleRate > 48000 )
> return;
>
> if ( sampleRate > 25000 )
> modeID = SPEEX_MODEID_UWB;
> else if ( sampleRate > 12500 )
> modeID = SPEEX_MODEID_WB;
> else if ( sampleRate >= 6000 )
> modeID = SPEEX_MODEID_NB;
> else
> return;
>
> // set up mode
> pMode = speex_lib_get_mode( modeID );
> }
>
> void TVoiceCodec::setupEncoder( uint quality, uint complexity )
> {
> encoderQuality =...
2007 Dec 12
4
Speex 1.2beta3 is out!
Hi all,
I am a newbie here and just started using speex in our lab.
During compiling my voice application with windows-compiled version provided
today, I am getting "unresolved external symbol _speex_wb_mode".
I am probably missing some setting with VS6.0 linker... (I am a bit new to
windows too)
If anyone could point it out, I would appreciate it.
- Tim
-----Original Message-----