Displaying 20 results from an estimated 500 matches similar to: "Integrating speex with VideoNet application: Constantbackground noise"
2006 Dec 25
1
Integrating speex with VideoNet application: Constantbackground noise
Hi Jean-Marc,
Thanks. I've got the code for sampleenc and sampledec. But I didn't know how to verify whether the decoded file is correct.
So I tried to analyse the decoded output and compile with my input.
Test case: PCM samples, 8 bit, 8000 samples per sec.
When I pulled all my input to 0s, after encode and decode, the output fluctuates around -0.12 to 0.2 (in float), so when finally
2006 Nov 05
0
Integrating speex with VideoNet application: Constantbackground noise
The absolute values may be different for a variety of reasons; you can
hardwire them all to 0 to see if your noise goes away. Make sure the values
on the decompressed (PCM) side are little-endian (low byte first in memory),
assuming you're working in Windows on x86.
-- john
RAD Game Tools
-----Original Message-----
From: Carine Liang [mailto:carineliang@yahoo.com.sg]
Sent: Sunday,
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
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 Nov 05
2
Integrating speex with VideoNet application: Constantbackground noise
Hi John,
I noticed the values after decode is very much different from the values of the original PCM samples. For cases when the PCM sample values are constant (because no one is speaking), the decoded values fluctuate too. These fluatuations are causing the background noise. Is my observation expected?
Thanks,
Carine
----- Original Message ----
From: John Miles <jmiles@pop.net>
To:
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 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 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
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;
2010 Mar 16
1
G-test : log-likelihood ratio test
Dear Peter,
I am running your g.test() with the william's correction but I have a question about the input numbers. These are my data:
"Our data are consistent with those obtained using microarray comparative genome hybridization in that we found significantly fewer variants per Mb on the X compared to the autosomal chromosomes (152 versus 336 respectively, G = 93.4, P < 2e-16, df =
2007 Feb 13
1
Hello Guys
hello everybody in this great mailing list , i have some difficulties to follow my code .
i solved some problems thanks to Carine Liang , but i still have one problem and i think it is fatal one.
when i encode the voice data in a wav file it is decoded without any errors it gives me 84 bytes wav file size for 139 kbytes wav audio data .Naturally i wanted to return my file back to its normal
2011 Jul 26
0
More frames in one packet
Hi,
I read in the documentation something about how to realize packing more than one encoded frame into a packet. Before I read this, I always encoded every frame seperate and packet them as following together:
[encoded length][encoded frame][encoded length][encoded frame]...
But if I understood the docu correct, it should be easier:
I call speex_encode_int() for every frame until the whole
2006 Jun 19
0
codec at very low bit rate (2 kbps)
I'm not sure, but I think that Microsoft have the license now.. anyone know if there is the source code to download? Or others codecs.. thank you very much
---------- Original Message ----------------------------------
From: "John Miles" <jmiles@pop.net>
Date: Mon, 19 Jun 2006 10:15:59 -0700
>Do a search on "Voxware MetaVoice". I'm not sure who licenses
2006 May 26
4
question about coding
Thanks for the answer.
So data are stored in little-endian format on the WAVE file. But have I to encode in big endian format or little endian is ok?!
Thanks
---------- Original Message ----------------------------------
From: "John Miles" <jmiles@pop.net>
Date: Tue, 23 May 2006 12:15:05 -0700
>You are probably reading little-endian samples on a big-endian platform, and
2005 Oct 17
0
Error Executing sampledec in VC++
You should really do a check to make sure
nbBytes isn't larger than 200, otherwise you're going to read past the end
of your char array.
fread (&nbBytes, sizeof(int), 1, fo);
_____
From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On
Behalf Of Mo Win
Sent: Monday, October 17, 2005 7:31 PM
To: speex-dev@xiph.org
Subject: Re: [Speex-dev] Error
2006 Jun 10
1
[PATCH] bug in sample code sampledec.c
Hi
there is a small bug in the sample code 'sampledec.c' here:
http://www.speex.org/manual2/node12.html#SECTION000121000000000000000
it is trying to destroy the encoder of the "decoder" state, this
patch should fix it:
Index: doc/sampledec.c
===================================================================
--- doc/sampledec.c (revision 11555)
+++ doc/sampledec.c
2005 Oct 17
0
Error Executing sampledec in VC++
Mon,
Here is feedback that I got concerning the access violation, i.e. the failure of the while loop below. Does this solve the problem?
Steve
My guess is that speex_decoder_init() should be outside the while().. loop
as speex_decoder_destroy() is also outside.
----- Original Message -----
From: Mo Win
To: speex-dev@xiph.org
Sent: Monday, October 17, 2005 8:05 AM
Subject:
2005 Jan 03
0
sampleenc/sampledec
I can't get the versions of sampleenc and sampledec in the manual to
work back-to-back. I've tried using speex 1.0.4 and 1.1.6. What am I
doing wrong?
[gerv@otter]$ file in.wav
in.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit,
mono 8000 Hz
Strip headers:
[gerv@otter]$ sox in.wav in.raw
Command as given on manual page:
[gerv@otter]$ ./sampleenc in.raw | ./sampledec
2005 Aug 11
1
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font size=2>Hi! I excuted
2007 Oct 11
2
Encode and decode using speex
Hi,
I am new to speex and I am trying to use the sample program given in the
speex document.
I have made some modification to that sample, so that input can be read from
a file and the output can be re-directed to the file.
I tried to encode an audio file using the sampleenc and decode the same by
sampledec.c I am able to do it successfully, but when i try to play the
output file from the