Displaying 20 results from an estimated 1000 matches similar to: "1.1.6 Manual sampledec.c mistake"
2005 Feb 21
2
1.1.6 Manual sampledec.c mistake
Le lundi 21 f?vrier 2005 ? 15:08 +0100, Claude Brisson a ?crit :
> Why not move the manual on the wiki ?
Because it's already written in LyX and can be easily converted to pdf,
html or anything. However, the trouble shooting part could be on a wiki.
Do you volunteer?
Jean-Marc
> Claude
>
> On Mon, 2005-02-21 at 21:35 +0800, James Oh wrote:
> > Hi,
> >
> >
2006 Jun 10
1
[PATCH] bug in sample code sampledec.c
Hi
there is a small bug in the sample code 'sampledec.c' here:
http://www.speex.org/manual2/node12.html#SECTION000121000000000000000
it is trying to destroy the encoder of the "decoder" state, this
patch should fix it:
Index: doc/sampledec.c
===================================================================
--- doc/sampledec.c (revision 11555)
+++ doc/sampledec.c
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
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
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 Dec 06
1
problems decoding speex... please help
Hi all. I'm trying to decode speex using version 1.1.10's libspeex with
fixed_point enabled. copied the sample in the manual (1.1.11) with minor
revisions. While running the program, encountered this warning:
"Packet is larger than allocated buffer : 38"
when calling speex_bits_read_from (&bits, cbits, nBytes)
then my program terminated unexpectedly with errors (Unhandled
2007 Apr 02
1
Problems with stereo data
Hi all,
I have a problem when I am encoding (or decoding) stereo audio.
With mono data, things are fine and everything works without any problems.
When I try to decode stereo data, all I get is a static sound - similar to that of a radio not tuned to any specific station. I wonder what might be wrong?
Below is the code, first, of the encoder and next that of the decoder. Any information or
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
2005 Feb 22
1
Win CE playback error
Hi,
I have a module sampling raw PCM data on Win CE as 10ms time slice (160 bytes), mono, 8000HZ, 16 bits per sample.
Does anyone know what is the mflops for using fixed point on a Win CE compared to using floating point?
Looking at the manual,
"In practice, frame_size will correspond to 20 ms when using 8, 16, or 32 kHz sampling
rate."
for a 8 kHz sampling, the framesize should be
2005 Jan 13
3
Problem encoding sine wave in 1.1.6 and somewhat in 1.0.4
On Thu, 2005-01-13 at 12:42 -0500, Jean-Marc Valin wrote:
> Le jeudi 13 janvier 2005 ? 10:59 -0500, Jared Whitby a ?crit :
> > Interestingly enough.. I started playing around with preprocessing
> > options in 1.1.6 and happened upon the denoise filter
> > (SPEEX_PREPROCESS_SET_DENOISE). When i run the test tone using that
> > option it is completely filtered out and I
2007 Aug 06
2
Attempting to shrink speex: Are these functions necessary?
Hi,
I am using speex 1.2beta2 on a narrowband 16-bit, 8khz system that has
a severe program space problem and will not fit speex in its normal
operation. In an attempt to shrink speex I placed a breakpoint in every
function and ran a decode and encode and removed the breakpoints that I
hit. in the functions that had a breakpoint that I didn't hit I
commented out those functions (as well as
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
2012 Mar 10
3
problem: The decoded frame is not as the original one
Hi All,
i need your help in determining the problem in the following sample code (taken from speex manual) for fixed point encoding.
i tested encoding a 160 sample frame and then decoding it back But The problem is that the decoded frame is totally different from the original frame(see output below).What is the possible reason for this?.thanks for any help
#include<stdio.h>
2009 Sep 03
1
Speex-dev Digest, Vol 64, Issue 2
hy,
recording and playback is working perfectly without speex.
i have try to set samplerat from 6000 to 441000 and quality from 1 to 10 sam
with complexy, but the best i can get is with 16000 samplerate, 5quality and
3complexy .. but still, the voice that came out is annoying, artificial,
robot ,...
Lp, Tim
+--------------------------+
| email: rico at gama.us |
| www: http://gama.us
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 Jun 01
1
help on Blackfin
hello,
i try to add a speex compression on the TDM Talkthrough on the BF-533 EZ-KIT
LITE but when i compile i obtain the following errors:
[Error li1021] The following symbols referenced in processor 'p0' could not
be resolved:
'speex_bits_destroy [_speex_bits_destroy]' referenced from
'Debug\Process_data.doj'
'speex_bits_init [_speex_bits_init]' referenced from
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
2007 Dec 10
1
SpeexCodec run in linux of decode
Hi , may I ask some question about the decode files?
here is my decode.c
but when the program run to speex_encoder_destroy(state);
It shows that segmentation fault ,I feel comfused, could you tell
thanks!
#define MAX_FRAME_SIZE 320
int main()
{
FILE *fout;
char *inFile;
FILE *fin;
short out[MAX_FRAME_SIZE];
char cbits[200];
int nbBytes;
void *state;
SpeexBits bits;
//int tmp;
int
2011 Nov 16
2
Just getting noise
I'm completely new to speex and I'm having issues adding it to my
application. I can pass raw PCM and that works fine so I know my
transmission code is fine however when I try to encode/decode using
speex I get noise almost like a whining/buzzing sound. I'm sure it's
and issue in my code but I'm not sure where to start looking other
then my gut tells me I'm not sizing or