similar to: C++ wrapper for speex

Displaying 20 results from an estimated 500 matches similar to: "C++ wrapper for speex"

2004 Aug 06
0
C++ wrapper for speex
Ronald, I recently wrote some wrapper classes for the Speex encoder and decoder for use with my VoIP program. I think they're pretty high level and easy to use. They handle all buffer allocation internally to make life easy. Here's a simple little example that happens to use VAD: // buf is float[] or short int[], buflen is multiple of frame size // (there is a getFrameSize() method
2004 Aug 06
1
C++ wrapper for speex
Ronald, I suggest we take this discussion off the list after this post. I don't see any problems with your code. However, I can make a few suggestions: 1) If you replace the lines: pSpeexHdr->lpData = (char*)pSound; pSpeexHdr->dwBufferLength = decodedSamples * sizeof(short); with: pSpeexHdr->lpData = lpHdr->lpData; pSpeexHdr->dwBufferLength = lpHdr->dwBufferLength;
2004 Aug 06
2
C++ wrapper for speex
hi Tom, i downloaded your speex wrappers and they're really what i'm looking for! i really cannot worry about container support at the moment because i'm working with real-time audio, and hopefully toward VoIP when everything else is in order. im using waveform to capture data from the microphone. the raw PCM sample is stored in the WAVEHDR structure's member lpData, and this
2005 Jan 05
4
Encoding and decoding problem in speex 1.0.4
Hi, I am using the speex 1.0.4 library from Windows. I have posted my problem before but didn't get a solution. I am doing an VOIP project in which i am recording sound and streaming it to the peer. I wanted to encode and decode wav files that brought me to this site. I am recording sound in the following format:- m_WaveFormatEx.wFormatTag = WAVE_FORMAT_PCM;
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
Hi, I am developing a peer-to-peer video conference application which uses speex as a codec for the voice. I am new to speex, so please bear with me if I asked the obvious. After I added the encode and decode function to my MFC app, I heard a constant background noise, even when no one is speaking into the microphone. #define FRAME_SIZE 160 The application is coded in MFC C++. The record
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
Hi, Can someone please help me with my problem below. Any suggestions is appreciated. thanks, Carine ----- Original Message ---- From: Carine Liang <carineliang@yahoo.com.sg> To: speex-dev@xiph.org; speex-dev@xiph.org Sent: Tuesday, 31 October 2006 1:05:49 PM Subject: [Speex-dev] Integrating speex with VideoNet application: Constant background noise Hi, I am developing a peer-to-peer
2006 Nov 02
1
Integrating speex with VideoNet application: Constantbackground noise
Hi John, Thanks for your reply. Yes, my output device is in 8-bit mode, same as my input mode. I'm actually working in char (8 bit) arrays. Is it necessary to work in signed short integers only? I changed all the short arrays in the example to char. Carine ----- Original Message ---- From: John Miles <jmiles@pop.net> To: carineliang@yahoo.com.sg; speex-dev@xiph.org Sent: Thursday,
2006 Nov 05
1
Integrating speex with VideoNet application: Constantbackground noise
Hi, I've changed the m_waveFormatEx.wBitsPerSample for both record buffer and playSound buffer, changed my array from char to short and I'm still getting the same constant background noise. I notice that when I talk into the mike, I will get a slightly louder noise, can't hear any clear speech... Any idea what's wrong? Regards, Carine ----- Original Message ---- From: John Miles
2006 Dec 24
1
Integrating speex with VideoNet application: Constantbackground noise
Hi, I'm still unable to get rid of the background noise though I've changed the PCM samples to 16 bit. I'm began to wonder if I can just take the PCM samples and encode them. What my application tries to do is to record the voice from a microphone, encode it, send it via the socket to a peer, decode at the peer's side and play the voice. My application works fine without the
2012 Oct 25
2
WAVE PCM to OPUS and back
Hello, I have an p2p voice chat application using WAVE PCM (winmm). Now i am trying to add opus encoding to it to send it over the TCP/IP and then decoding it back to play - but without success (without opus it works ok) Here is an example of my code. I get message from input device then encode with opus then decode it back to output wave header and play. Doing it i hear only noise in my
2009 Jan 20
0
VoIP with wavefrom and speex
Hi! I'm totally new to audio programming. I managed to create a VoIP with waveform (PCM). The problem was the really high traffic, so I desided to use speex for compressing the data. I'm recording with mono, 16bit/sample, 8000 samples per second. I tried to add the speex compression, but I always get a crash when I try to decode the data. Here is my encode and decode function: int
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
2005 Nov 05
1
buffer overruns for small files
I wonder if anyone would have a comment on an experiment I have pretty much completed in my MFC/C++ project. With my simple libvorbis implementation, ogg decoding works just fine for files that are 10kb or larger. For anything smaller (actually, I don't have a 9kb file, so <= 8), it seems that I get an inaccurate value for ov_pcm_total. Though ov_read returns zero, I overflow the buffer
2010 Aug 01
0
Wargame Problems - Black screen.
Hello. I have problems with some wargames under Wine. It displays black space instead of maps when I run them. The games are: Future Force Company Commander When I run the game, I get: > err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded > fixme:win:EnumDisplayDevicesW ((null),0,0xe6f55c,0x00000000), stub! >
2008 Sep 10
1
Bug in winealsa.drv? Incredibly specific oddity
I've been struggling desperately to get iGuidance 4 working with Wine and I've come across what seems like an incredibly specific problem. I've been struggling with the TTS output for the navigation, it just keeps randomly locking up the app, sometimes after a mile, sometimes 30, after figuring out I could debug just the wave classes, I think I've found a clue. It keeps hanging
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 Dec 06
1
Echo cancellor on Windows, a few questions.
what i want to achieve is simple, i want to be able to sitback in my chair and talk over a voip call using speex. as the mic and the speakers are built into the laptop, an echo canceller is required. what i am doing is this : First, each time i finish writing a block to the waveout, i copy it into a buffer like this: Segment *pseg = (Segment *)phead; waveOutUnprepareHeader(waveOut, phead,
2010 Mar 05
0
Wine release 1.1.40
The Wine development release 1.1.40 is now available. What's new in this release (see below for details): - Support for Wow64 registry redirection. - Increased coverage of MSI standard actions. - Various Wordpad improvements. - Many shell fixes for better IE support. - Improved support for typelibs. - Better GL card detection. - Various bug fixes. The source is available from
2002 Mar 02
3
sorting listview by clicking header
thanks to all of the great work that has been done to listview, my app is finally readable. cudos on the latest patch that fixed up text (that was getting truncated), it's correct this time around. anyways, the one thing missing to get my app working is column sorting (done by clicking a header). i have below the output from a "trace+listview,trace+header" run of the app, clipped
2010 Nov 28
2
wine: Unhandled page fault on read access
Hi, Thanks for the tips. I tried with winetricks but gave me a problem to get this installed, I finally did it semi-manual. As you said I could open an sample set but nothing more. I then upgraded to wine 1.3.8 today. Will this overwrite the winetricks dll's or not? I could start the application open and save a dataset although they seem to be empty!?. I started to move deeper into the