Displaying 20 results from an estimated 1000 matches similar to: "Re: High pitched whine with Speex"
2006 May 21
3
Re: High pitched whine with Speex
Changing from using floats to shorts did fix the high pitched tone
problem. I'm having other problems but I'll look into it more first.
SteveK wrote:
>
> On May 21, 2006, at 6:33 PM, Kevin Jenkins wrote:
>
>> 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
>>
2006 May 21
0
Re: High pitched whine with Speex
On May 21, 2006, at 6:33 PM, Kevin Jenkins wrote:
> 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
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>
2005 Feb 09
2
encoding speex, (insanity looming)
Hi All,
I'm very new to speex and in fact handling audio at all, it seems I have run
in to a problem I seem unable to fix. I'm trying to take audio from a microphone
using alsa, then encode it as speex and save to disk. I have been
wondering if it has something to do with endian type, but speexenc and
speexdec works fine.
Currently I have the following setup:
Platform:
2005 Jun 23
2
Speex and DS
Hello everyone
I've a following problem with the speex codec. I'm developing application
that is supposed to read
sounds from the microphone with DirectSoundCapture. Unfortunately when I
want to compress and decompress
the sound buffer from DirectSound I only have jitter. Maybe you have some
code samples how to compress
standard DS buffers:
LPDIRECTSOUND8 lpDS = NULL;
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 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
2010 Jul 20
2
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
As for me - speex_echo_cancellation is a better choise. Try using it in
capture thread instead
of those speex_echo_capture and speex_echo_playback functions.
And please, describe your problem in details. Cause the fact that you
"didn get echo cancellation"
doesn't mean you are doing smth wrong.
Regards,
Anton A. Shpakovsky
-----Original Message-----
From: speex-dev-bounces at
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the
constructor and destroyed in the destructor of the object. However I'm
still getting the same issue although I'm sure that would have bit me
sooner or later.
The new code is as follows.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
short *in=(short*)inputBuffer;
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
2010 Apr 10
2
Is Speex 1.0 and >=1.1 compatible?
Hi list,
I'm trying to figure out how to do the most compatible implementation that will
work with as many versions of Speex as possible. I am streaming multi frame
Speex blocks over a TCP connection which works fine as long as the version of
Speex is the same on both sides. When using a newer Speex (1.1.?) to encode
and an older version to decode (1.0.5), it does not work.
The encoder
2010 Apr 11
2
Is Speex 1.0 and >=1.1 compatible?
On Saturday 10 April 2010 21.51.55 Jean-Marc Valin wrote:
> All version after 1.0 are compatible with each other and with 1.0.
Hi Jean-Marc and thanks for the quick reply.
I have now looked at this further and got the idea to hard code the number of
frames in the decoder temporarily as a test and voil?, it works! The problem
seem to be some incompatibility in the termination handling. After
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,
2011 Nov 17
1
Just getting noise
I'm only doing one frame using speex_encode_int greatly simplifies my
code I'm not sure why the sample I was working off of was converting
the shorts to floats then calling the other encode/decode methods.
Based off of your suggestions I tried the following but I get the same
result.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
2011 Sep 29
1
Nothing but rhythm was left after encoding and decoding by speex on ipad(XCode 4.1 48110)
hi,
I tried to encode the voice data read from AudioQueue and then decode
it. There was nothing but rhythm left, it sounds like robot's voice,
but I cannot recognize any word.
The app was compiled by XCode 4.1. Speex 1.0.5 and 1.2.rc1 gave the
same result. When compiling speex 1.0.5, I added them to Xcode
project, set the Header Search Paths, then compiled successfully. When
compiling speex
2007 Jul 06
1
bitpack error message
i don't think so. this is my current code:
for(i=0; i<samples;i++){
/*only get max 320 bytes at a time so bits can handle*/
Client->raw_audio[i] = *input++;
Client->temp_audio[i] = Client->raw_audio[i];
Client->session_File[ndx] = Client->temp_audio[i];
ndx+=1;
}
speex_bits_reset(&ebits);
2007 Aug 29
2
high-pass filter issues
Hi, I am using 1.2beta2 on a C5416 doing narrowband
in the decode function I am having a problem with the execution of my
program vectoring off to random interrupts that are not used. I have
tracked down the error to the highpass function called in nb_decode
-very close to the end of the function-context:
it is called here: ln 1719 for me
if (st->highpass_enabled)
highpass(out,
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
Hello,
in my project im using speex 1.2rc1 and the preprocessor VAD seems to
only separate complete silence from not complete silence frames.
The Speex Manual, you can read "The voice activity detector (VAD)
provided by the preprocessor is more advanced than the one directly
provided in the codec."
but if you go to the source code in preprocess.c line 995 "/* FIXME:
This VAD
2004 Sep 29
1
ARM w/ assembly & fixed point crash
I've targeted Speex to run under eCos with Thumb interworking using
arm-elf-gcc 3.3.3
I'd written a small test case to verifiy the operation:
#include <speex/speex.h>
void
speex_test(void)
{
SpeexBits bits;
unsigned int frame_size;
void *enc_state;
float *speex_frame;
cyg_uint64 t1, t2;
int i;
speex_frame = (float *)0x00030000; /* Address of Speex data
2005 Jan 25
1
Is SPEEX_GET_QUALITY implemented ?
Hi All,
Almost all my question is in the subject. I have written the
following small program and I get an error message when I try to use
SPEEX_GET_QUALITY. This functionality seems not to be used in speexenc.c
or speexdec.c.
I would appreciate any hints.
best regards,
Alain Aubord
---------------------------test.c---------------------------------------
#include <stdio.h>
#include