Displaying 20 results from an estimated 32 matches for "input_frames".
Did you mean:
input_frame
2005 Oct 09
0
Fw: problem in encoder/decoder
-------Original Message-------
From: Eid
Date: 10/09/05 14:07:44
To: speex-dev@xiph.org
Subject: problem in encoder/decoder
hi all,
I'm developing an app to broadcast voice over web. i tried to use speex and
download ver 1.04 documentation and use it to develop encoding and decoding
but after decoding voice is damaged i attach my encode/decode function.
BOOL
2005 Jun 07
2
input_frame format
/input_frame/ is a /(float *)/ pointing to the beginning of a speech frame
What is the range on the floats in the input_frame that speex_encode()
needs? The library that I'm using to get the sound gives me floats that
are between -1.0 and +1.0.
I was assuming that this is also the case for speex, but I don't see it
documented.
I'm thinking now that maybe this is not the case for
2005 Jun 23
2
input_frame format
The API reference says it is "+-2^16 range."
Which is right? I've yet to successfully encode or decode anything.
Jean-Marc Valin wrote:
>It is documented and the range is +-32767
>
> Jean-Marc
>
>Le mardi 07 juin 2005 ? 11:59 -0500, Matt DeMoss a ?crit :
>
>
>>/input_frame/ is a /(float *)/ pointing to the beginning of a speech frame
>>
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Hello all,
I am trying out the echo cancellation 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
2007 Jun 26
2
number of samples in input_frame
Hi all
Sorry if this is a dumb question: does the input_frame passed to
speex_encode_int *have* to be frame_size samples long?
e.g., If I only have 100 samples left to encode (which is less than the
frame_size of 160 samples), can I just use an array that contains 100
samples, or do I need to create an array containing the 100 "real"
samples plus 60 null samples at the end?
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);
for(n=0; n<100; n++)
{
read_from_dev(fd1, (float *)input_frame, 1024);
speex_...
2007 Jun 26
0
number of samples in input_frame
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That is a dumb question :)<br>
<br>
The encoder expects SPEEX_GET_FRAME_SIZE at all times. If you are
2004 Aug 06
3
What is the format of the PCM/WAV data for speex_encode & speex_decode?
I'm confused about the format of the PCM/WAV data for speex_encode &
speex_decode
speex_encode(enc_state, input_frame, &bits);
In the manual, it says "input_frame is a (float *) pointing to the beginning
of a speech frame" (for encode)
But I've found that in speexenc.c and testenc.c, short* is used instead of
float*
So, isn't it signed 16 bit samples(if
2006 Sep 21
1
echo cancellation causes assertion
Hello,
i'm adding echo cancellation to my voip application, but when i call
speex_echo_capture() or speex_echo_playback() causes an assertion
failed, it seens that there is a delete in any where.
i've encapsulated echo canceller in a class that storage the state and
simply call the functions:
void EchoCanceller::Playback(short *echo_frame)
{
speex_echo_playback(echo_state,
2006 Oct 27
2
Echo Canceller trouble in 1.2beta1
Hi Folks,
I am having trouble using speex_echo_cancel. As a starting point, I am
using the testecho.c source code. I compiled the 1.2beta1 version. I
have not tried any other versions of speex.
The document says that the order of arguments to Speex_echo_cancel is
(echo_state, input_frame, echo_frame, output_frame, residue) where
"input_frame" is as captured from mic and
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Thank you for you quick reply, Jean-Marc.
I have just used a human voice to replace the sine wave, but the result is like a broken voice after tens of seconds. Do you have some sample voice in .sw that I can test with? I want to have one set or a few sets of sample voice that work for my understanding and debugging.
This is the output from echo_diagnostic.m in my human voice test:
Far end to
2007 Mar 05
1
Performance of the acoustic echo canceller
Hi All, I am working on my master project to port the Speex Acousic Canceller to FPGA. But I am not able to get a satisfied result in its performance whenI integrated it to a SIP softphone as my first step. The SIP softphone calls to a PSTN gateway and lands to my land line phone. I can hear the echo of my every word while I talks on the land line phone. I am using G.711 codec, frame_size 80
2007 Mar 06
0
Performance of the acoustic echo canceller
Hi Jean-Marc, Thanks for the suggesting. I tried the test wtih my recording file offline through the testecho. I got the same result(no prepocessor echo suppression) as my recording file for that live call. Basically I don't see the difference between input_frame and output_frame. As I mentioned in my original post, the echo return loss is about 20db. I guess the echo cancelleris not really
2007 Mar 06
0
Performance of the acoustic echo canceller
All,
Wonder why all my posts has no line breaker when it displayed the forum... I used Hotmail(Windows Live Mail)
with FireFox 2.0. I am posting this msg with IE 7.0 and see if it make any difference. Anybody experienced the
same issue and how to workaround it?
Thanks a lot!
Regards,
William
From: espzzh@hotmail.comTo: jean-marc.valin@usherbrooke.caCC: speex-dev@xiph.orgSubject: RE:
2007 Mar 06
1
Performance of the acoustic echo canceller
It seems like the firefox 2.0 not quite works with hotmail... I am reposting my message again
with IE for easy readability. Sorry about mess.
Hi Jean-Marc, Thanks for the suggesting. I tried the test wtih my recording file offline through the testecho.
I got the same result(no prepocessor echo suppression) as my recording file for that live call.
Basically I don't see the difference
2006 Dec 15
2
About "Convert 8->16 bits"
Hi everybody,
I have been using speex-1.2beta1 and my input data is 8-bit unsigned so I
know that I should convert from 8 to 16 bits. I've done the convertion as
following.
for(int i=0; i<160; ++i)
{
input_frame[i] = (short)( (data[2*i] << 8) | data[2*i+1]);
}
When my codec application didn't work right, I think that the reason is an
error at this
2006 Dec 29
0
using speex in C#
Hi SAITAMA Taro,
I have been using speex-1.2beta1 dll in our voice application written with
C#. In order to use Speex correctly firstly I advice to you examination
speexenc and speexdec projects.
I have used unsafe code and fixed statements in C#. I have added following
method to library and I used that instead of speex_encoder_init simply.
void *speex_encoder_init_new(int modeID)
{
const
2004 Aug 06
0
Speex wrapper functions for Visual Basic
Hello,
i want to use speex out of visual basic. So i have written a few wrapper functions in VC++ (v6) wich i can call from VB (v6). But i have problems with the encode and decode functions.
Encode wrapper Function:
I want to copy the value of an single array in VB to a float array in C which can be
encoded. And the output of the encoder have to be unsigned char because in VB its an
byte
2004 Aug 06
0
What is the format of the PCM/WAV data for speex_encode & speex_decode?
Speex 1.0.3 uses floats, but the unstable version 1.1.x uses short.
Jean-Marc
Le ven 16/04/2004 16:04, Kenji Chan a crit :
> Im confused about the format of the PCM/WAV data for speex_encode &
> speex_decode
>
> speex_encode(enc_state, input_frame, &bits);
>
> In the manual, it says input_frame is a (float *) pointing to the
> beginning of a speech
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.