similar to: ARM7 Speex decoder

Displaying 20 results from an estimated 1000 matches similar to: "ARM7 Speex decoder"

2006 Mar 21
1
ARM7 Speex decoder
Dear Jan My intention is to read a piece at time of an .ogg file (stored in and external Multimedia card) decompress it and render it on and LPC2000 DAC. Because I don't have enough RAM memory to load the complete ogg file, I must read only a piece of file at certain time, then decompress and render it, and repeat the previous process until the end of the file. The problem is that I don't
2006 Mar 22
1
ARM7 Speex decoder
Dear Ralph Thank you for your info. My file_read() function only get a specified number (nbBytes) of bytes from the .ogg file and store it in cbits, nothing else lb = file_read(&file, nbBytes, (void *)cbits); Unfortunately I have only 32K (first section) + 8 (second section) = 40 Kbyte of RAM to do all, including the file system management (I get the FS from the EFSL project). Speex
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,
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() {
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
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
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
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 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
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;
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
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) {
2006 Sep 15
2
Constant noise in the background in realtime data
Hi everyone, Our team is working on a realtime voice communication application. We are using openAL 1.1 to capture the samples and then encode them using speex. On the remote machine we decode the samples and play them using openAL again. Capture and play formats for the samples is AL_FORMAT_MONO16 and frequency is 22050. we are using wide band encoding/decoding. The encoding sample
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
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
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
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
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
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*/
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,