similar to: The decoded voice is just noise and totally different from the original !

Displaying 20 results from an estimated 1000 matches similar to: "The decoded voice is just noise and totally different from the original !"

2012 Mar 14
4
converting unsigned short sample to signed short sample
Thanks a lot for replying, The question now is , after subtracting 32767 from each unsigned sample, will the new signed samples represent the same original voice ? ???? For explanation, assume "Hi" is said in 8000 unsigned sample ,if i subtract 32767 from each sample and play the resulting 8000 sample as signed PCM samples,will they be "Hi" ?! Forgive me about my questions ,
2012 Feb 28
2
Need for help about using vorbis in embedded system
Hi All, ?? I am a new member to the vorbis-dev mailing list. i hope that u receive the help that i've been searching for. I need to compress audio samples captured by wireless sensor node (16-bit PCM at 8Khz). can i use vorbis i such an embedded system environment that has the following HW/SW specifications: -416 MHz Microprocessor(ARM architecture, Intel Xscale family) -32 MB RAM Beside
2012 Mar 06
1
Help about error in linking to libspeex.a
Thanks for the reply, i added (LDFLAGS += -L/usr/local/lib -lspeex -lm) to Makefilebut the error is still appearing ! /tmp/ccDFH8gi.o(.text+0x179c): In function `main': : undefined reference to `BlinkC$speex_bits_init' collect2: ld returned 1 exit status make: *** [exe0] Error 1 i am trying to guess what is missed to correctly link to the lib .Do you have suggestions? Regards,
2012 Mar 14
1
converting unsigned short sample to signed short sample
Thanks for replying. actually 2^15 in decimal is the same as 0x8000 in hex. the idea is clear for me that i should scale down each unsigned sample by 0x8000 for becoming signed. I hope that will work correctly as input raw samples to Speex codec. do you think so ? Regards, Mash'al ________________________________ From: Steve Checkoway <s at pahtak.org> To: Mashal al-shboul
2012 Mar 09
2
using unsigned short instead of short for input frame
Thanks for your appreciated help. i found casting fromunsigned short to short gives different value: unsigned short FFFF=65535 where short FFFF= -1. however, can i configure speex codec (specifically speex_encode_int function) to take input of type unsigned short instead of short so that i avoid casting errors ? Regards, Mashal ________________________________ From: Yanick Bourbeau
2012 Mar 15
0
converting unsigned short sample to signed short sample
Hi Mashal, 2012/3/14 Mashal al-shboul <shboul8989 at yahoo.com>: > Hi Blaise Potard, > Thank you for help. > Actually,i am sure that my samples are unsigned? , specifically, of type > uint16_t which is unsigned 2-bytes, these samples are provided by an audio > driver for an audio subsystem (microphone ADC...) in a wireless sensor > node(intelmote2 ), following is the
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>
2012 Mar 14
0
converting unsigned short sample to signed short sample
I don't understand why you're subtracting 2^15 - 1. Assuming you really do have unsigned samples (which is very odd) that have 0x8000 as the mid point of the range, then you need to subtract 0x8000, as I believe I pointed out already. By mid point, I mean if you have a pure tone (i.e., a sine wave) that has unsigned range 0 to 0xffff, then the mid point is 0x8000. The mid point should be
2012 Mar 06
1
Help about error in linking to libspeex.a
Hi All, i have configured speex1.2rc1 for xscale-elf (ARM architecture) ,then executed MAKE and MAKE INSTALL. so, i obtained libspeex.a in the /usr/local/lib with libogg.a compiled as well. but i when i link the library to my program (by adding LDFLAGS += -lspeex -lm ), and try to compile, i get this error: /usr/lib/gcc/xscale-elf/3.4.3/../../../../xscale-elf/bin/ld: cannot find -lspeex collect2:
2008 Nov 13
2
decoded sample is completely differen from original one
Hi all, I have just started playing with speex, and come up with the following code, which just encode a frame of 160 shorts, and the decode it. For some reason the decoded sample is completely different than the original one. is my code wrong? If so what? Or is it a reasonable which depends of values that weren't correctly set? Thanks, Andre #include <stdio.h> #include
2008 Nov 14
0
decoded sample is completely differen from original one
Hi, Please start with sampleenc.c/sampledec.c from the manual. Jean-Marc Andre Kirchner a ?crit : > Hi all, > > I have just started playing with speex, and come up with the following code, which just encode a frame of 160 shorts, and the decode it. > > For some reason the decoded sample is completely different than the original one. is my code wrong? If so what? Or is it a
2008 Jul 19
2
Noise problem while encoding and decoding
Hi, everyone! I'm a newbie of speex develog. I tried to encode and decode with the sample program in the speex manual. I compile those program with gcc sampleenc.c -o enc -lspeex gcc sampledec.c -o dec -lspeex I run these two program in this way and then speak loudly: ./enc /dev/dsp ? ./dec /dev/dsp I thought I would hear my voice. However, what i heard was a lot of noise. I
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
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
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> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<tr> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<td valign=top style='padding:8pt;'><font size=2>Hi! I excuted
2005 Aug 10
0
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> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<tr> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<td valign=top style='padding:8pt;'><font
2004 Sep 15
0
Problems with sampleenc and sampledec
I suspect I am missing something basic but I do not seem to be able to get the sampleenc and sampledec programs to work together. I suspect the decode operation is failing, but I cannot find out why. Backgound information: 1) 1.0.4 tar package 'make' worked and installed on a mandrake 10.0 linux 2) speexenc and speexdec appear to work fine. 3) testenc and testenc_wb work fine, though
2004 Sep 13
0
Compile flags for sampleenc sampledec.
I suspect I am missing something basic but I do not seem to be able to get the sampleenc and sampledec programs to work together. I think I do not have a compile swtich of flag set correctly. Backgound information: 1) 1.0.4 tar package 'make' worked and installed on a mandrake 10.0 linux 2) speexenc and speexdec appear to work fine. 3) testenc and testenc_wb work fine, though I
2006 Dec 28
0
Integrating speex with VideoNet application: Constantbackground noise
Hi Jean-Marc, I finally make it work! Thanks for telling me that the algo will not work for 8-bit PCM. In fact I've tried using 16 bit PCM last time, but apparently there's a bug. The bug lies with the RecBuffer. The RecBuffer must be set to 320bytes instead of 160 bytes since every sample is now 16 bit. The compression is amazing, from 320 bytes to 38bytes! Thanks a million, Carine