search for: sampleenc

Displaying 20 results from an estimated 104 matches for "sampleenc".

2007 Apr 03
2
Please help, very important (not for fun)
...I installed Speex, was able to encode and decode files. Right now, I want to write my own cpp program that handle Speex-files. I tried to compile and run the two sample programs that come with the documentation (after having insalled the speex-devel-1.0.5-1.i386.rpm). However, when I compile. gcc sampleenc.cc Here is what I get: /tmp/ccXKa3LF.o: In function `main': sampleenc.cc:(.text+0x1a): undefined reference to `speex_nb_mode' sampleenc.cc:(.text+0x1f): undefined reference to `speex_encoder_init' sampleenc.cc:(.text+0x43): undefined reference to `speex_encoder_ctl' sampleenc.cc:(...
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. sample...
2007 May 23
2
Testing for 1.2beta2
...tput 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>: > > > > 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? > > > > >...
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 sampledec.c, i am able to hear only some noise. Is it possible for me to encode a sample.wav file to encoded.spx using sampleenc.c and decode it using sampledec.c and store the outpu...
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' > sampleenc.cc:(.text+0x1f): undefined reference to `speex_encoder_init' > sampleenc.cc:(.text+0x43): undefined reference to `sp...
2005 Aug 11
1
About sampleenc and sampledec in appendix B
...'' 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 "sampleenc male.wav | sampledec male1.wav"(follow sample), but its result (male1.wav) is like durt. How to certify this file? winxp, VC++ 6.0 My step is as below: -I built libspeex.dll with libspeex_dynamic.dsp(speex-1.1.10) -I built sampleenc, but error(sampleenc.obj : error LNK2001: unresolved external...
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...
2007 May 22
2
Testing for 1.2beta2
Dan Everton a ?crit : > Just one minor issue while building for ARM4 targets. The prototype for > the normalize16 function hasn't been updated in filters_arm4.h. The > attached patch should fix that. Patch applied. Thanks. In case you're interested, there's plenty of ARM4 optimisations that need to be updated (since 1.1.12) :-) > Apart from that, the 1.2beta2 release is
2005 Aug 10
0
About sampleenc and sampledec in appendix B
...;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><P>Hi!</P> <P>&nbsp;</P> <P><BR> I excuted "sampleenc male.wav | sampledec male1.wav"(follow sample), but its result (male1.wav) is like durt. How to certify this file?</P> <P>winxp, VC++ 6.0</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>My step is as below:<BR> -I built libspeex.dll with libspee...
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, t...
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 f...
2007 Apr 30
4
Sending speex over a network
Hi All, I would like to communicate speech over a network compressed using speex. However, I do not want to communicate a whole Ogg-formatted file. I am interested in only the speech frames. I invoked: speexenc input-file-name - > raw-speech This, I am thinking gives the speech frames only. To play this back at the receiving end, do I need to format it into Ogg formatted file before I can
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/pi...
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.Than...
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 any real application. Jean-Marc >...
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...
2005 Oct 17
3
Error Executing sampledec in VC++
...(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 I removed the "while" loop in sampledec, the program executed fine (I placed printf's to check which lines were executed). I also tried running the loop only once (erasing only the while statement and retaining the code within it) and it worked fine again....
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 can hardly recognize my voice. Then I tried in another way. cat /dev/ds...
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 and not written to a file. Everytime I call speex_encode and speex_bits_write I get a return value of 38. I found the max byte size bit stream of 2000 in the speex_bits.h but no matter if I pass it 200...
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 spee...