Displaying 20 results from an estimated 700 matches similar to: "Fw: RE: WaveIn/WaveOut and Speex"
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
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
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 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 04
3
WaveIn/WaveOut and Speex
Hello,
I know my question has been asked before because I spent the last week
searching the web for how to use Speex in combination with
WaveIn/WaveOut and I ran into a few posts, but none of them answer the
question. There is still a lot of confusion how to use WaveIn/WaveOut
and Speex by junior developers such as myself. Even after examining code
for SpeexDec and SpeexEnc, I cannot get clear
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
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 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
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
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
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,
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
2010 Apr 20
0
Regarding problem with encoding / decoding
Hi,
I got the following problem with speex. Could you help me to resolve the following issue.
Description: I am taking speech input from MIC storing in a buffer after that i will encode by using speex then decoding and sending to output(speakers).
it is small demo project of speech encoding/decoding in VC++.
I am reading the data from buffer in the following way where data is short[] type and
2012 Mar 11
0
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>
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>
2004 Aug 06
0
Please 30 second to look a my code
Well, you seem to be using FRAME_SIZE but only defining frame_size.
Otherwise, the code looks OK, but it's always hard to tell. I suggest
you start from speexenc/speexdec or from the example I wrote in the
manual at: http://www.speex.org/manual/node12.html
Jean-Marc
Le ven 19/12/2003 à 05:22, Fabio a écrit :
> Hi
> i'm developing a sort of VoIP application
> for my
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
2012 Jan 20
2
No sound in Wine 1.3.37 (tried known solutions already)
Note to admins: Please, read through my whole post this time before deleting it. You will be surprised to find out that I have already tried all solutions detailed in the stickies. If you still think that this topic should be deleted, please be kind enough to notify me why, so that I would know how to proceed about getting help with my problem. Thank you.
I have 64-bit OpenSUSE 12.1 and I have
2011 Jul 22
0
Wine release 1.3.25
The Wine development release 1.3.25 is now available.
What's new in this release (see below for details):
- Rewrite of the audio support, using the Win7 architecture.
- Old-style sound drivers for Jack, NAS and ESD are removed.
- Graphics driver architecture changes for the DIB engine.
- Improved handling of the shell recycle bin.
- Better joystick support in DirectInput.
-