Displaying 20 results from an estimated 5000 matches similar to: "decode in ppc 2003"
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 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
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
2012 Mar 07
1
Error while decoding the audio file.
I have successfully encoded a wav file in android using speex(ndk). But when i try to decode it back, the file size keep on increasing to a very large size.
The recorded audio file consists of sample rate - 8000 , 16 BIT, MONO. Why the decoder gives such a large size wav file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Aug 06
0
decode in ppc 2003
You are writing to a test.wav file, but I don't see a RIFF header being written to this file.
-----Original Message-----
From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org]On Behalf Of Rodrigo Parra M
Sent: Monday, 19 January 2004 11:20 p.m.
To: speex-dev@xiph.org
Subject: [speex-dev] decode in ppc 2003
<p>Hi all,
Please a moment to look my source code, this is very similar
2004 Aug 06
0
decode in ppc 2003
Note that FIXED_POINT is only related to compiling speex, not your
application. Also, in 1.1.x, the output and output format for audio
changed to 'short' (instead of float).
Jean-Marc
Le lun 19/01/2004 à 05:19, Rodrigo Parra M a écrit :
> Hi all,
>
> Please a moment to look my source code, this is very similar to
> example of the documentation. I added FIXED_POINT
2004 Aug 06
2
Please 30 second to look a my code
Hi
i'm developing a sort of VoIP application
for my ipaq using speex...
I'm still at beginning and i have many problems encoding and decoding my
wav files....output is only noise! Why?
I'm using
Libspeex 1.1.3,
Embedded VisualC++ 3.0,
Ipaq 3850(206 MHz Intel® Strong ARM 32-bit RISC Processor) PocketPC 2002 (Windows CE 3.0).
Libspeex is complied with the definition of
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
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
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
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
Hi,
I am an user of speex codec.Can I ask some question about the speexcodec 1.2beta2
on installed to linux(fedora 6) thanks!
After I downloaded the latest version of codec
then I type the commands to install :
configure -prefix=/home/...../test -enable-shared -enable-static
make
make install
then I try to compile my encode.c
here is the encode.c of mine:
=====================================
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*/
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
2004 Aug 06
1
About reducing noise..
Hello,
When I decode a recoded sound encoded by speex, it has too much noise.
The noise is "slightly" reduced if I set the quality to 10. How do I get
rid of this noise? The code is as follows.
For encoding .
state = speex_encoder_init ( &speex_nb_mode );
tmp = 7;
speex_encoder_ctl ( state, SPEEX_SET_MODE, &tmp);
// set quality
tmp = 10;
speex_encoder_ctl ( state,
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin
<jean-marc.valin at usherbrooke.ca> wrote:
> Jahn, Ray (R.) a ?crit :
>
> > Dear Speex codec community:
> >
> > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any
2012 Mar 14
0
Audio file is corrupted after decoding
I successfully encoded and decoded a wav file of PCM 16 , MONO and with
sample rate 8000 in Android OS. The size of the original wav file and
decoded file is near.
But i am not able to play the decoded audio file, the mediaplayer says
that the file has been corrupted.
ENCODING:
#include <jni.h>
#include <stdio.h>
#include "speex/speex.h"
#define FRAME_SIZE 320
void
2004 Aug 06
1
[PATCH] Re: Decoding .spx with 1.0 on ppc produces noise!
On Thu, 2003-04-17 at 07:48, Kaveh Goudarzi wrote:
> Hi,
>
> I had a similar question ... is the endian-ness of the encoded
> speex file, system dependent? or is it always little endian? If it's
> always little endian (like the header seems to be) then big endian
> machines (or java) will need to map everything to bigendian before
> decoding ...
>
I have spent some
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the
constructor and destroyed in the destructor of the object. However I'm
still getting the same issue although I'm sure that would have bit me
sooner or later.
The new code is as follows.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
short *in=(short*)inputBuffer;
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
2011 Nov 17
1
Just getting noise
I'm only doing one frame using speex_encode_int greatly simplifies my
code I'm not sure why the sample I was working off of was converting
the shorts to floats then calling the other encode/decode methods.
Based off of your suggestions I tried the following but I get the same
result.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{