Displaying 20 results from an estimated 800 matches similar to: "Problems with sampleenc and sampledec"
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
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
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>
        <tr>
        <td valign=top style='padding:8pt;'><font
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 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
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
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
2008 Jul 20
0
Noise problem while encoding and decoding
On Sat, Jul 19, 2008 at 12:29 PM, ???? <oovoov008 at gmail.com> wrote:
> 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:
2005 Oct 17
6
Error Executing sampledec in VC++
Hi Steve, thanks for the advice. I placed the appropriate functions outside
the while statement but I still get this error at the while loop:
First-chance exception at 0x004010fa in SPXDEC.exe: 0xC0000005: Access
violation reading location 0x0000000c.
Unhandled exception at 0x004010fa in SPXDEC.exe: 0xC0000005: Access
violation reading location 0x0000000c.
It looks like the same error. I've
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
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
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
2017 Feb 20
0
compiling with --enable-valgrind
Hello. I want to compile trunk speex.
./configure --prefix=/opt/speex --enable-option-checking --disable-silent-rules --disable-maintainer-mode \
--enable-shared=yes --enable-static=yes --enable-fast-install=yes --enable-dependency-tracking \
--enable-libtool-lock --enable-valgrind --enable-sse --enable-binaries --enable-vbr \
--disable-fixed-point-debug --enable-vorbis-psy --with-pic
2005 Feb 21
2
1.1.6 Manual sampledec.c mistake
Hi,
The manual 1.1.6 of sampledec.c says that
/*Destroy the decoder state*/
speex_encoder_destroy(state);
Should it be be
/*Destroy the decoder state*/
speex_decoder_destroy(state);
instead?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20050221/c460253b/attachment.html
2005 Feb 21
2
1.1.6 Manual sampledec.c mistake
Le lundi 21 f?vrier 2005 ? 15:08 +0100, Claude Brisson a ?crit :
> Why not move the manual on the wiki ?
Because it's already written in LyX and can be easily converted to pdf,
html or anything. However, the trouble shooting part could be on a wiki.
Do you volunteer?
Jean-Marc
> Claude
>
> On Mon, 2005-02-21 at 21:35 +0800, James Oh wrote:
> > Hi,
> >
> >
2017 May 29
0
[PATCH] Add CMake build script
Description
===========
This patch adds support of CMake meta build system, so you can generate
Unix makefiles, VS 6.0-2017 projects and many more.
Features
========
* Win32 and Linux tested
* Travis CI test added
* Generates working Visual Studio 6.0-2017 solutions
* Generates working Unix Makefile
* Supported options (<option> - <default value>):
* `ENABLE_FLOATING_POINT` - on
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
2004 Aug 06
3
smapleenc.c and sampledec.c (from manual)
Hello,
I had tried to run smapleenc.c and sampledec.c
from the manual (don't confuse it with the encoder and decoter command line
utils ; the code ther is different).
the final decoded audio file is with a very poor quality audio
when using it with 16 bit PCM raw audio input .
Did anybody tried these samples with success ?
Or should I add something ?
regards
JOHN Z.
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