similar to: Moving from Speex to Opus (question 2)

Displaying 20 results from an estimated 400 matches similar to: "Moving from Speex to Opus (question 2)"

2011 Dec 21
3
Decoding only a certain frame results in different values than when decoding the entire file
Sorry, it seems I have only replied to Lakhdar, not to the newsgroup. Below is my reply to Lakhdar, and I would like to make it more clear now, using some pseudo values for simplicity: I read bytes 1 to 124 from my encoded spx file. I decode themt and get the values: ---Frame 1---- -293 -8234 2134 17 ---Frame 2---- -9323 -732 189 2329 Both frames are just perfect as I need them. But now when I
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
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
2011 Dec 22
2
Decoding only a certain frame results in different values than when decoding the entire file
To make it complete, here is the code that I am using to encode a large file: int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, unsigned int inlen) { //char *testFile; //FILE *ftest; //testFile = "test"; //ftest = fopen(testFile, "wb"); //fwrite(inBuf,1,inlen,ftest); //take every 320 bytes //copy every short to float
2006 Sep 08
2
problem with compression and decompression
Hi, I am facing a problem with my Voice Communication application. I am using the Speex API, and have based my application on the given example files sampleenc.c and sampledec.c. I'm using the OpenAL SDK for voice capture. I have provided below the two main functions within which the problem exists. "Compress()" and "Decompress()". Below the code for these functions, I
2011 Dec 22
0
Decoding only a certain frame results in different values than when decoding the entire file
HI Hermann, I am not sure I understand exactly what you are trying to do. Let me try to describe what I understood (I assumed your byte array starts @ 1 and not 0 as it is supposed to be in C) : ############################## CASE 1: (output is good) ############################## - INITILIAZE_DECODER (reset state memory) - READ bytes 1 to 124 - SpxDecode(DinBuf, DoutBuf, unsigned int
2007 Apr 11
0
Problem with speex
Hello! I am downloaded last version of speex library and did compile DLL. But I am have not good sound : Please see my code (Delphi) and say me please WHat I am do not right. Or please send me correct compiled DLL and example of correct using SPEEX_MODEID_WB and SPEEX_MODEID_UWB , denoise, and other effects. How I can set MONO mode in decode? My Code: smpRt:=32000; n:=10; encbits:
2004 Aug 06
2
Port to uClinux
Hi, I'm trying a quick port of this terrific codec to uClinux, a Linux-derivate for mmu-less systems. I'm particulary interested in the alloc()'s the library does, and it's stack usage. In nb_celp.c I found two lines of code doing memory allocation : nb_celp.c: st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(float)); nb_celp.c: st =
2005 Feb 19
2
memory usage
Hi I am currently trying to port speex v1.1.6 to a microcontroller with very limited memory (<64Kbyte RAM). what I found when initialising the encoder, a chunk of 32Kb was attempted to be alloced, which failed: src/nb_celp.c: void *nb_encoder_init(const SpeexMode *m) { /* snip */ st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(spx_sig_t)); /* snip */ } same goes for the
2005 May 25
1
Deallocation of buffers
I noticed that in the narrow band and wide band destroy functions only the main pointer is being freed. I think that it should be: void nb_decoder_destroy(void *state) { DecState *st; st=(DecState*)state; speex_free (st->inBuf); speex_free (st->excBuf); speex_free (st->innov); speex_free (st->interp_qlpc); speex_free (st->qlsp); speex_free
2005 Jul 20
1
Speex Windows from 1.1.6 source
Hi All, I am using Speex for encoding/decoding the audio stream for my streaming application. I have used almost the same code In the sampleenc.c and sampledec.c, except that I have used The buffers from the mic as input for encoder and encoded audio As input for decoder, instead of files input. My Problem is the audio played on the receiving side after decoding Is only a "hush" or it
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
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
2006 Dec 09
1
A question about speex_bits_write function
Hi everybody, I need clarification about speex_bits_write function usage. There is an example usage of it. nbBytes = speex_bits_write(&bits, cbits, MAX_FRAME_BYTES); I examine the content of this function and which value should I set to MAX_FRAME_BYTE. In speexenc project, it is 2000 and in manual it is 200. For example, I set it to 200 but the length of bits->chars is 250
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:
2015 Sep 24
4
Meet at MTV to discuss TSAN/android/aarch64?
Hi everyone. Thanks to everyone for taking the time to meet yesterday. I think it was very productive! I am writing to keep a "minutes" of the meet, as I remember them. Action Items: - Jasonk: split up bionic patch to explicitly replace CPP macros with actual calls, one file at a time. - Google/Android: pthread_barrier interface in bionic - *Enh*: 1 paragraph to explain
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
Hi, Sorry! Marc Gimpel. I wrote it in a false thread before. It was my first time. :-) I have to write a small programm which should be able to record speeches and in addition synchronize the recorded speeches with measuring data. My idea is to record the speech in the normal way with speex and without ogg. If a sync message was received, i write a custom in-band messages using mode 13
2011 Nov 28
1
Speex stereo encoding
Hi. I trying to encode PCM16 8000Hz stereo data to speex and put it into the .flv file format. But at the output I can hear only noise. What I doing wrong? Here is the code: void main() { SpeexBits bits; void *enc_state; int frame_size; int quality = 10; char cbits[MAX_FRAME_BYTES]; FILE *fin, *speex; short input[MAX_FRAME_SIZE]; int nbBytes; int channels =
2011 Dec 23
0
Decoding only a certain frame results in different values than when decoding the entire file
It would be nice to get more input. I am really lost because I am not sure what is going on here, and there are no sources to investigate on. Thank you. Hermann Am 22.12.2011 20:55, schrieb Hermann Weber: > To make it complete, here is the code that I am using to encode a large > file: > > int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, > unsigned int inlen)