similar to: WaveIn/WaveOut and Speex

Displaying 20 results from an estimated 400 matches similar to: "WaveIn/WaveOut and Speex"

2007 Nov 04
2
WaveIn/WaveOut and Speex
Thank you for such a quick response. The only reason I started with Char buffers is because WaveIn and WaveOut on Windows XP accept/emit WAVEHDR structures, which store audio data in LPSTR, which is Char*. typedef struct { LPSTR lpData; DWORD dwBufferLength; ... } WAVEHDR; When I was going from Char to float and back looked very wrong to me as well, but I was just not
2007 Nov 05
2
WaveIn/WaveOut and Speex
Again, thank you for helping me. I know this might seem like a trivial matter to you and other experts in the field, but believe me, there are a lot of programmers, whose posts I saw on the web, who tried to use WaveIn/WaveOut and Speex and failed. As I understand it, WaveIn just buffers audio data according to the bit rate specified. So, if we use waveFormat.wBitsPerSample = 8, then each Char of
2007 Nov 04
0
WaveIn/WaveOut and Speex
> When I was going from Char to float and back looked very wrong to me it not only *looked* wrong! > as well, but I was just not sure (and still am) how to translate the > Char* audio stream generated by WaveIn to a format that can be > understood by Speex. Would using speex_decode_int and > speex_encode_int instead of speex_decode and speex_encode be the > answer? Using
2007 Nov 05
0
Fw: RE: WaveIn/WaveOut and Speex
Begin forwarded message: Date: Mon, 5 Nov 2007 07:27:21 -0500 From: "Evgueni Tsygankov" <eugenet@rusmex.com> To: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca> Cc: speex-dev@xiph.org Subject: RE: [Speex-dev] WaveIn/WaveOut and Speex Again, thank you for helping me. I know this might seem like a trivial matter to you and other experts in the field, but believe
2007 Nov 04
0
WaveIn/WaveOut and Speex
I'm not sure what input/output format you're trying to use, but it looks wrong. You're using the float functions that take +-32767 values and you're feeding (or converting) chars. Unless your machine has very special chars (which I doubt), a +-32767 value just isn't going to fit in. This has nothing to do with Speex BTW, it's just handling the audio data properly.
2007 Nov 05
2
WaveIn/WaveOut and Speex
Evgueni, Don't listen to this guy. The last thing someone confused about types should use is a union. Listen, whatever types you're using, you're just dealing with data in memory. For an array, it's just a big block of data in memory. You need to know how that data is stored in memory. For audio data, WAVEFORMATEX tells you that with its contents. Don't let types
2008 Feb 17
1
Voice activity detection
Thanks for your reply. I changed my code to: if (speex_preprocess_run(preprocess_state, shortPointer) == 1) { speex_encode_int(enc_state, shortPointer, &enc_bits); } In the mobile version of the software, compiled against the mobile build of Speech, I get 1 and 0 based on whether the speech is detected. In the version of the software compiled against the Win32 version of Speex,
2008 Feb 15
3
Voice activity detection
This must be a simple issue, but I cannot figure it out. I want to use VAD, but I don't know how to check if the actual frame has voice in it or not. So, in my code, I do: int tmp = 1; speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_VAD, &tmp); speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_DENOISE, &tmp); then later, for each frame
2007 Nov 05
0
WaveIn/WaveOut and Speex
Evgueni Tsygankov wrote: > Again, thank you for helping me. I know this might seem like a > trivial matter to you and other experts in the field, Sorry, Jean Marc and many others, including me, care very little about an crappy OS produced by that company in the US which has been convicted of (but not punished for) anti-competitive behaviour. > but believe me, there are a lot of
2001 Sep 20
4
DirectSound ?? WaveIn ?? MM ??
well i discoverd, HL uses waveIn, which is a part of the DirectSound ... so ... is there a Wine binding for waveIN ? - -moritz angermann
2008 Sep 12
1
Echo Cancellation not working on WinCE
Hello Friends, I am trying to use speex-1.2beta3 version for echo cancelling. On my WinCE board I am using WaveIn/WaveOut functions to record and playback audio. I am receiving audio data on udp socket, then playing it on speaker using WaveOutWrite function. I registered callback to capture microphone data, then data chunk came from socket ( which I played on speaker) and data captured from
2010 Apr 05
2
Regarding problem with encoding / decoding
Hi, Tank you for your reply. I have tried the sample programs given the manual and done encoding and decoding a wave file. That is working fine. I have already read the manual and API reference. But this problem did not occured with the wave file encoding/decoding. While capturing the data from MIC and encoding/decoding is giving this problem. Thanks and Regards, Vijender Reddy, -----
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>
2010 Jun 28
1
ACE does not work for me at all.
Hello, all. 1) ACE does not work for me I am in a voip project using Speex, failed to have hte Speex ACE work. here is how I initialize it: /** * Configurations : * #define BITS_PER_SAMPLE (16) * #define SAMPLE_RATE (8000) * #define CHANNEL_NB (1) * #define DURATION (20) * SPEEX_MODEID_NB */ _eco_state = speex_echo_state_init(_encframe_size, 10*_encframe_size); speex_echo_ctl(_eco_state,
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
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,
2003 Oct 17
3
Streaming audio to the waveout device
Hi, Please excuse my ignorance but I'm having trouble with a very basic matter: I'm using vorbisfile to stream audio to the waveout device in Win32 (using waveOutWrite). I'm basically reading packets from an ogg file and streaming them using a simple buffering scheme. The thing is, this works great when the bitrate is more or less constant but the audio sounds garbled if there is a
2006 May 21
2
Re: High pitched whine with Speex
When I just copy the microphone input buffer to the output buffer the sound plays OK. But if I encode and decode the buffer through Speex I get a high pitched constant tone in the background. I actually do hear my voice speaking when I talk, but it's faint and much quieter than the tone. Here's what my data looks like: Input is the first 5 floats of each input buffer. Output is
2005 Jul 26
1
SETAR Estimation
Dear R-helpers, I was wondering if anyone has or knows someone who might have an implementation of algorithm for estimating SETAR models including the lag-order. For some reason my code gives me a bit wrong results. I am fighting with it for a week and cannot bring it down. Thanks a million in advance, Sincerely, Evgueni McGill University Department of Economics
2006 Jun 22
2
How to get audio data from microphone on pocketPC ?
Hi, My name is Patrick, i am french, and i am developping a softphone for pocket PC using speex. Sorry in advance for my bad english. So i have make an GUI in C# that use the speex functions through dll write in C++. And the encoding and the decoding using speex seems to work not too badly.(i test with a wave file) My problem is that i need to get audio data from the microphone. In order to do