similar to: speex 1.1.x api

Displaying 20 results from an estimated 5000 matches similar to: "speex 1.1.x api"

2004 Aug 06
1
auto-detection of frame boundary
I tried feeding in the 3 encoded frame in ONE BLOCK, and calling speex_decode() 3 times in a roll. Only the 1st frames came out perfectly. For the other 2, I got "corrupt" frame warning. I was supposed to get 38 bytes consumed each frame (narrow-band, VBR off). I tried speex_bits_remaining() to peek on the # of bits consumed, and got variable (clearly wrong)#s returned. But if I
2004 Aug 06
2
What is the format of the PCM/WAV data forspeex_encode & speex_decode?
Ok, I'm using 1.1.4, so I should pass signed short(wav data) directly to speex_encode()? But the samplecode that comes with 1.1.4 shows me to put short in float array, and pass the float array to speex_encode() <p>-----Original Message----- From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf Of Jean-Marc Valin Sent: Saturday, April 17, 2004 6:25 AM To: speex
2004 Aug 06
2
1.1 api suggestion
On Mon, Apr 19, 2004 at 02:46:44AM -0400, Jean-Marc Valin wrote: > OK, I'll try to do *something* about it. It'll be either "support the > 1.0 ABI" or "make sure the link will break". While the former would be > nice, I'm not sure I want to really want to force 1.2 to have the same > ABI as 1.0.x. More on this when I have some time to think about it.
2004 Aug 06
1
openh323 conflict; can speex_encode take short?
openh323 speexcodec.cxx has: BOOL SpeexCodec::EncodeFrame(BYTE * buffer, unsigned & length) { // convert PCM to float float floatData[SAMPLES_PER_FRAME]; PINDEX i; for (i = 0; i < SAMPLES_PER_FRAME; i++) floatData[i] = sampleBuffer[i]; // encode PCM data in sampleBuffer to buffer speex_bits_reset(bits); speex_encode(coder_state, floatData, bits);
2004 Aug 06
1
auto-detection of frame boundary
Here's the situation: 3 frames are being transferred back to back over RTP. The total payload is known (thus the TOTAL frame size). We'd like to decode all 3. According to IETF RTP Profile (appendix C, of Jean-Marc's Speex Codec Manual, verison 1.0), "it's only necessary to consider the sequence of bits as output by the Speex encoder, and present the same sequence to
2004 Aug 06
3
1.1 api suggestion
Hi Jean-Marc, randoms, I've been playing with the 1.1.x api, more specifically modifying code to conditionally build against the 1.0.x api or the 1.1.x api. Code written for 1.0.x builds, with a few warnings, against 1.1.x. The major API change is of course that the type of PCM buffers has changed from float to int. This causes a few warnings related to speex_encode() and speex_decode()
2004 Aug 06
1
draft-herlein-speex-rtp-profile-01
Ok, I figured it out. :) This seems to work: 1) Call speex_bits_read_from() once, specifying the location in memory of the compressed data, and the total length of that data. 2) Keep calling speex_decode() until speex_bits_remaining() returns 0. Then you don't have to keep track of the # of frames per packet, or the size of each compressed frame. It's done magically by the codec.
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
2004 Aug 06
1
DTX and VAD doesn't work on one of my computers.
Hi there, I enable DTX and VAD in speex_encode to detect whether there is silence in voice data. But the same programme got different result on my computers. The function speex_encode always return 38 on one of my computers although it is silence. On all other computers the function speex_encode return 1 when it is silence. It means DTX and VAD doesn't work on particular OS or PC. Do anyone
2004 Aug 06
3
Error in my code
Hi I apologise if the following message is inappropriate for this list. However, I feel this is the only place where I can get some help with my problem. BOOL CALLBACK RecordProc(HRECORD hRecord, void *buffer, DWORD length, DWORD user) { try { long sent = 0; long inputOffset = 0; long outputOffset = 0; long nbBytes = 0; char *outputBuffer = NULL;
2004 Aug 06
1
speex_decode() doesn't empty buffer in u-wideband and quality 4
Hello there I'm having trouble decoding speex frames when using 32KHz audio and quality setting 4. If I encode three frames and then decode the three frames then the speex_bits_remaining() still reports that there are bits remaining. All other band modes and qualities reports that the buffer is emptied. Here's an example that shows 4 bits remaing in the buffer after the frames have
2004 Aug 06
1
reduction of noise due to high microphone gain
Hello, With high microphone gain, I seem to have problem making the silence detection work. The speech detection works well for the rare dish sample, which has very low noise amplitudes in silence regions. However, if the microphone gain is set to really high, noise samples are taken as speech, as indicated by the non-zero return value from speex_encode() calls. I had VAD turned on.
2004 Aug 06
2
rgding VAD
hi, How do i detect whether there is silence in media using speex? Is there any API which decides that the audio data only contains silence? Basically i will have PCM linear data, I want to know whether it is complete silence. Is it that during encoding speex_bits_write will return a lesser number if the audio at byte_ptr contains silence? thanx, Rahul -- Rahul Arvind Jadhav
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
2004 Aug 06
2
DTX in speech
Hello, I am trying to use the DTX feature of speex to tell if the user is speaking. I have VBR, DTX and VAD turned on, but the function speex_encode always returns a non-zero value. It is my understanding that it should return a zero value when the encoder detects silence? Could anyone give me any clues to help figure out why this isn't working for me? I am using the 1.13 version of speex on
2004 Aug 06
1
API changes for Speex 1.2
Hi, Speex is progressing and I've started thinking about the next 1.2 release (don't hold your breath). Though the bit-stream won't change, the API likely will. The API for 1.1.x already differs from 1.0.x because the speex_encode and speex_decode now use shorts instead of floats. Now, since I'm changing the API anyway, I thought I might as well fix things that might be annoying
2004 Aug 06
4
speex_encode / speex_encode_int ... already sorry =)
Hi, i know this question has already been asked, i've checked mailing list logs but ... I didn't figure out the solution for my question. I want to use basic functionnality of speex, only VAD, no pre/post filter, even no VBR. But i *really* want to use less mem/cpu i can. So in which format should i pass data to speex_encode(_int) , float or short ? I quickly looked at the source code
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
silent frame detection
Hi all again, Thanks for the response to my previous question, Jean-Marc. It was of great help. Now another problem I encountered: How do I detect that comfort noise is being sent out (I have VAD, DTX on)? I could not find an API function for it, so tried frame rate. For nb, it gives 2950-3950 for silence, however it seems to also give low number sometimes even for speech periods. I
2004 Aug 06
1
Using speex.
Hi: I am new to speex and I am evaluating the possibility of using Speex for web conferencing (pretty big scale). It looks very promising. I have some questions, maybe very naive, but please help me: <p> 1) Is there any sample implementation using Speex in web conerencing in voice? To be more specific, in Windows platforms? (ActiveX? Java applet implementation?)