Displaying 20 results from an estimated 1000 matches similar to: "Please help, very important (not for fun)"
2007 Apr 04
0
Please help, very important (not for fun)
> Re: [Speex-dev] Please help, very important (not for fun)
I usually only help people who have fun doing what they're doing, but
I'll try and make an exception here...
suhaib obeidat a ?crit :
> gcc sampleenc.cc
>
> Here is what I get:
>
> /tmp/ccXKa3LF.o: In function `main':
> sampleenc.cc:(.text+0x1a): undefined reference to `speex_nb_mode'
>
2007 Apr 04
3
Combining multiple speech files into one
Dear All,
I am trying to send speech across a wireless link. I want to change which
speech compression/rate to use according to some algorithm that I have.
To be more specific, I have a speech file. In real time, I want to keep
changing at which rate speech will be sent next. Let us say, I am
considering three rates.
I will take the original speech file, compress it using the three rates,
which
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
2006 Oct 12
1
Problem with encoding and decoding
I have problem with coding and decoding. I record voice from mic coding
and write to file.
And when I read from file and put it on sound card it's terrible sound.
Have sameone can help me?
#include <speex.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
/*The frame size in hardcoded for this sample code but it
2007 May 23
3
Testing for 1.2beta2
> I have compiled the sample sampleenc.c w/o any errors. then I tried to
> compress a sound file which is in WAV and RAW format but the file size is from
> 200K to 80byte. I think there is somehing wrong but no idea why will be like
> that. any idea?
>
> I used
> 1. sampleenc test.wav > test.spx
> 2. sampleenc test.raw > test.spx
No wonder it's not very
2007 May 23
2
Testing for 1.2beta2
But when I read the source code, we have this line
inFile = argv[1];
fin = fopen(inFile, "r");
I assume samepleenc read a file and output something, right?
Quoting alex@gorex.com.hk:
> HI,
> So I am wrong to input the file. The output is a compressed speex format,
> isn't it?
> Alex
>
>
> Quoting Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>:
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
2005 Dec 06
1
problems decoding speex... please help
Hi all. I'm trying to decode speex using version 1.1.10's libspeex with
fixed_point enabled. copied the sample in the manual (1.1.11) with minor
revisions. While running the program, encountered this warning:
"Packet is larger than allocated buffer : 38"
when calling speex_bits_read_from (&bits, cbits, nBytes)
then my program terminated unexpectedly with errors (Unhandled
2007 Apr 02
1
Problems with stereo data
Hi all,
I have a problem when I am encoding (or decoding) stereo audio.
With mono data, things are fine and everything works without any problems.
When I try to decode stereo data, all I get is a static sound - similar to that of a radio not tuned to any specific station. I wonder what might be wrong?
Below is the code, first, of the encoder and next that of the decoder. Any information or
2006 Oct 04
1
Decode win32 encoded files on TI C5x???
> For encoding into and decoding from "raw Speex stream" (if you can call
> it that), I suggest you start with the sampleenc.c and sampledec.c
> example code in Appendix B of the Speex Manual.
There is no such a thing as a "raw Speex format". Also, sampleenc.c and
sampledec.c are good for learning how to use the API, but the compressed
format shouldn't be used in
2007 May 02
2
Re: Sending speex over a network
Hi All,
In sampleenc.c and sampledec.c, if I change the FRAME_SIZE to any other
value, I get very garbled speech. Can anyone tell me if I need to set
something else if I would like to change the frame size ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070502/35ea524b/attachment.htm
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
2005 Oct 17
2
speex_encode_int() - pls help..
Hi,
I'm using speex 1.1.10 and writing a program similar to sampleenc. I need to
use the fixed point library as I'm eventually porting to ARM processor but I
encountered a problem with speex_encode_int(), which I used in place of
speex_encode(). I gave it a short instead of a float (manual says it takes a
short for the audio - 2nd parameter) but the compiler says it could not
convert the
2005 Oct 17
3
Error Executing sampledec in VC++
hey guys, I just compiled an application similar to sampledec.c (for speex
1.1.10) and it was fine but when I executed it, the app exited without doing
anything. I'm using MS VC 6.0 and this was all I got - First-chance
exception in sampledec.exe : 0xC0000005: Access Violation. Has anyone
encountered this / does anyone know how to deal with it? by the way,
sampleenc executed perfectly...
When
2006 Mar 14
1
Windows Mobile 5.0 SDK - SPEEX
Hello
I've looked into SPEEX SDK and source codes provided on site www.speex.org , and I'm trying to include in my Visual Studio 2005 - Visual C++ SmartDevice WM 5.0 the facilities provided by SPEEX (both encoding/decoding).I've downloaded the header files (i.e. Speex.h Speex_bits.h etc) and also the libspeex.lib.After creating my encoding/decoding functions following the
2007 Jul 12
4
file couldn't play after Speex encode and decode
Dear sir,
I've a problem that the .wav file couldn't play after calling "sampleenc
male.wav|sampledec male_speex_15.wav".I found that the new file
male_speex_15.wav is smaller than the original file in size.I implemented
the test on Linux system.The original file male.wav is 96044 bytes,while the
new file male_speex_15.wav is 96000 bytes.I'm eager to know the reason.Thankyou!
2004 Aug 06
1
HELP?
Platform
Intel
Linux/Fedora Core 2
ALSA
Soundblaster 128 PCI
I am capturing U8 (unsigned 8 bit mono) audio from the sound blaster and
attempting to
compress it with speex. I have built and installed speex on the computer
and can compile
and link with no problems. I have the sample programs (sampleenc.c and
sampledec.c)
which I am following. The only difference is my raw data is in a char array
2007 Jan 06
1
How to use speex?
Hi,
I am a newcomer to speex.
When I use the sampleenc/sampledec programme to have a try of speex, the
encoded and decoded file can not be played in foobar.
But if I use the speexenc.exe/speexdec.exe in the Windows binary tools, the
encoded file can be played well.
Did I misuse something and can anyone provide a simple example for how to use
speex to build my own programme?
Any
2008 Jul 12
1
Raw files or Wav Files
Hello All,
I have recently started working on SPEEX and thanks to the nice tutorial
and examples, i was able to encode/decode files as per the command line
programs speexenc.c and speexdec.c
I tried the sampleenc/sampledec but, i know its only for the raw data.
My question is what kind of raw data should be used to test them?
Also, is it possible for me to use speex without any of the headers but
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