Displaying 20 results from an estimated 6000 matches similar to: "frame size in speex"
2005 Oct 17
3
Error Executing sampledec in VC++
hey guys, I just compiled an application similar to sampledec.c (for speex
1.1.10) and it was fine but when I executed it, the app exited without doing
anything. I'm using MS VC 6.0 and this was all I got - First-chance
exception in sampledec.exe : 0xC0000005: Access Violation. Has anyone
encountered this / does anyone know how to deal with it? by the way,
sampleenc executed perfectly...
When
2006 Oct 12
1
Problem with encoding and decoding
I have problem with coding and decoding. I record voice from mic coding
and write to file.
And when I read from file and put it on sound card it's terrible sound.
Have sameone can help me?
#include <speex.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
/*The frame size in hardcoded for this sample code but it
2005 Oct 17
6
Error Executing sampledec in VC++
Hi Steve, thanks for the advice. I placed the appropriate functions outside
the while statement but I still get this error at the while loop:
First-chance exception at 0x004010fa in SPXDEC.exe: 0xC0000005: Access
violation reading location 0x0000000c.
Unhandled exception at 0x004010fa in SPXDEC.exe: 0xC0000005: Access
violation reading location 0x0000000c.
It looks like the same error. I've
2005 Oct 17
0
Error Executing sampledec in VC++
You should really do a check to make sure
nbBytes isn't larger than 200, otherwise you're going to read past the end
of your char array.
fread (&nbBytes, sizeof(int), 1, fo);
_____
From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On
Behalf Of Mo Win
Sent: Monday, October 17, 2005 7:31 PM
To: speex-dev@xiph.org
Subject: Re: [Speex-dev] Error
2005 Oct 17
0
Error Executing sampledec in VC++
Mon,
Here is feedback that I got concerning the access violation, i.e. the failure of the while loop below. Does this solve the problem?
Steve
My guess is that speex_decoder_init() should be outside the while().. loop
as speex_decoder_destroy() is also outside.
----- Original Message -----
From: Mo Win
To: speex-dev@xiph.org
Sent: Monday, October 17, 2005 8:05 AM
Subject:
2007 Feb 13
1
Hello Guys
hello everybody in this great mailing list , i have some difficulties to follow my code .
i solved some problems thanks to Carine Liang , but i still have one problem and i think it is fatal one.
when i encode the voice data in a wav file it is decoded without any errors it gives me 84 bytes wav file size for 139 kbytes wav audio data .Naturally i wanted to return my file back to its normal
2007 Feb 13
0
Hello guys Please help
Why my decoder doesn't want to return the data back to its original wav audio file that i can playback it correctly , is there something wrong in my code .
Encoder :
=======
#include "speex.h"
#include <stdio.h>
#include <iostream>
#include <conio.h>
using namespace std;
/*The frame size in hardcoded for this sample code but it doesn't have to be*/
2004 Aug 06
1
decode in ppc 2003
Hi,
My problem is at the second fread function,
fread(&nbBytes, sizeof(int), 1, fin); //the first fread
fread(cbits,1, nbBytes, fin);// the second fread.
When I'm debugging always nbytes is greater than cbits. This give me a
execution error.
Thanks.
Rodrigo.
<p><p><p>-----Mensaje original-----
De: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] En nombre
2007 May 02
2
Re: Sending speex over a network
Hi All,
In sampleenc.c and sampledec.c, if I change the FRAME_SIZE to any other
value, I get very garbled speech. Can anyone tell me if I need to set
something else if I would like to change the frame size ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070502/35ea524b/attachment.htm
2007 Oct 11
2
Encode and decode using speex
Hi,
I am new to speex and I am trying to use the sample program given in the
speex document.
I have made some modification to that sample, so that input can be read from
a file and the output can be re-directed to the file.
I tried to encode an audio file using the sampleenc and decode the same by
sampledec.c I am able to do it successfully, but when i try to play the
output file from the
2008 Nov 14
0
decoded sample is completely differen from original one
Hi,
Please start with sampleenc.c/sampledec.c from the manual.
Jean-Marc
Andre Kirchner a ?crit :
> Hi all,
>
> I have just started playing with speex, and come up with the following code, which just encode a frame of 160 shorts, and the decode it.
>
> For some reason the decoded sample is completely different than the original one. is my code wrong? If so what? Or is it a
2008 Nov 13
2
decoded sample is completely differen from original one
Hi all,
I have just started playing with speex, and come up with the following code, which just encode a frame of 160 shorts, and the decode it.
For some reason the decoded sample is completely different than the original one. is my code wrong? If so what? Or is it a reasonable which depends of values that weren't correctly set?
Thanks,
Andre
#include <stdio.h>
#include
2005 Aug 11
1
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font size=2>Hi! I excuted
2005 Aug 10
0
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font
2004 Aug 06
2
decode in ppc 2003
Hi all,
Please a moment to look my source code, this is very similar to example of
the documentation. I added FIXED_POINT flag. My source code compile and
build but not decode correctly (the error may be in the while). I work with
eVC 4.0 and pocket pc 2003. Someone know what is the error?
Thanks.
Rodrigo.
#include "speex.h"
#define FRAME_SIZE 160
void CPlayerDlg::OnButton3()
{
2007 Apr 24
2
just noise
Hi, I tried both the stable and beta versions of the speex source
code download on Mac OS 10.4.9. I just do:
./configure
make
sudo make install
Then I added libspeex.a from /usr/local/lib and the headers to my
xcode project. My app compiles and I'm able to call all of the speex
functions. I copied the example code from the website and tweaked it
to include the first 10000 bytes of
2009 Jan 23
0
error in decoding raw speex file
Hi, Speex Fans,
I collected the speex raw file from flash server and tried to decode it with
samepldec.c ( I modified the code the file input) as below.
speex rate=8khz, one framesize=10 bytes in the client,
When I ran the decoding program, it kept displaying the error below and the
file genertaed is corrupt too.
Please help point out what is wrong. I also attach the raw speex file.
Thanks,
2006 Mar 14
1
Windows Mobile 5.0 SDK - SPEEX
Hello
I've looked into SPEEX SDK and source codes provided on site www.speex.org , and I'm trying to include in my Visual Studio 2005 - Visual C++ SmartDevice WM 5.0 the facilities provided by SPEEX (both encoding/decoding).I've downloaded the header files (i.e. Speex.h Speex_bits.h etc) and also the libspeex.lib.After creating my encoding/decoding functions following the
2009 Feb 03
0
Problems with Speex Libary
Hello,
today I try to compile a test-file from the Documentation.
I link the libarys correct but have only one error in this line:
state = speex_encoder_init(&speex_nb_mode);
The error:
main.cpp|21|undefined reference to `speex_nb_mode'|
The linking libarys:
"libspeex.lib" "libspeexdsp.lib"
I ask in more c++ boards, but nobody can help me.
Hopefully I ask the
2006 Dec 25
1
Integrating speex with VideoNet application: Constantbackground noise
Hi Jean-Marc,
Thanks. I've got the code for sampleenc and sampledec. But I didn't know how to verify whether the decoded file is correct.
So I tried to analyse the decoded output and compile with my input.
Test case: PCM samples, 8 bit, 8000 samples per sec.
When I pulled all my input to 0s, after encode and decode, the output fluctuates around -0.12 to 0.2 (in float), so when finally