Displaying 20 results from an estimated 2000 matches similar to: "speex_encode_int() - pls help.."
2004 Aug 06
4
speex_encode / speex_encode_int ... already sorry =)
Hi, i know this question has already been asked, i've checked mailing
list logs but ...
I didn't figure out the solution for my question.
I want to use basic functionnality of speex, only VAD, no pre/post
filter, even no VBR. But i *really* want to use less mem/cpu i can.
So in which format should i pass data to speex_encode(_int) , float or
short ?
I quickly looked at the source code
2004 Nov 16
3
version 1.0.1 X 1.1.4
Hi,
I am writing a program that should be able to compile using speex
version 1.0.1 and speex version 1.1.4, but a I am getting some trouble
to encode with one version e decode using the other. The program is
taking care of the change in both speex_encode and speex_decode. The
sample being coded or decoded has changed from float to short. To test
it, I have modified the sampleenc.c that
2004 Aug 06
2
Speex/Linux/ALSA
First let me introduce myself:
Sr Computer Scientist
20+ yrs SW/HW development
Audio Rookie < 60 days
Intel based computer
Soundblaster 128 PCI
Linux Fedora Core 2
ALSA - Advanced Linux Sound Architecture
ALSA provides the audio and MIDI functionality to the Linux operating system
as of Fedora Core 2 and is the future of Linux (so I have been told)
http://www.alsa-project.org/
I have read
2005 Jun 22
1
Newbie - Encoding PCM
Hi all,
i've to encode voice from a voicemodem. I choose speex 1.0.5 for its quality
in voice encoding. I've tried to implement an encoder but unsuccesfully.
Here's my code:
/* ============ SPEEX stream ENCODER
============================================ */
int SPEEX_EncodePCM(struct _IDA_ClientSocket *IDA,char *buffer,unsigned char
*PCM,int num_samples) {
/* buffer point to 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
2007 Apr 03
2
Please help, very important (not for fun)
Hi All,
I am a Speex novice but trying to use Speex in my Doctoral thesis. 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
2005 Jan 17
2
Programming questions
Hi All,
I am quite new to voice encoding and to Speex library. I have some
programming questions that I am not able to answer even after having read
the documentation (from the start to the end an from the end to the start)
and by reading the sample code (provided in the documentation) and the
speexdec.c and speexenc.c programs.
I am currently working on an interface between Java code and
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
2005 Dec 11
1
Speex - Real time??
Hi. I tried encoding a raw PCM file to Speex in my Windows Mobile device and
it took about 45 seconds to encode a 10-second file. I had FIXED_POINT
defined and used speex_encode_int. The device has an ARMV4 400 MHz
processor. Question: Is this behavior expected or is it possible to encode
speech to speex real-time such that I can record speech directly as speex in
my device? What, if any, can be
2004 Nov 17
2
version 1.0.1 X 1.1.4
I need to compile with version 1.1.4 because this is the one distributed
with Mandrake 10 and it is my desire to let my application compile in
this distribution and be compatible with other ones.
Fl?vio
Jean-Marc Valin wrote:
>Why do you want your app to with with 1.1.4 in the first place. It's a
>old unstable version and its API has been changed since then.
>
> Jean-Marc
>
2004 Nov 16
2
version 1.0.1 X 1.1.4
On Wed, Nov 17, 2004 at 09:05:05AM +0900, Jean-Marc Valin wrote:
> Why do you want your app to with with 1.1.4 in the first place. It's a
> old unstable version and its API has been changed since then.
>
ie. Flavio, please upgrade to the recent 1.1.6 release. In your code,
you will need to change the follwing line (for the 1.1.x build only):
> > /* Encode the frame */
2007 Nov 04
2
WaveIn/WaveOut and Speex
Thank you for such a quick response.
The only reason I started with Char buffers is because WaveIn and WaveOut on Windows XP accept/emit WAVEHDR structures, which store audio data in LPSTR, which is Char*.
typedef struct {
LPSTR lpData;
DWORD dwBufferLength;
...
} WAVEHDR;
When I was going from Char to float and back looked very wrong to me as well, but I was just not
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
2004 Aug 06
2
1.1 api suggestion
On Mon, Apr 19, 2004 at 02:46:44AM -0400, Jean-Marc Valin wrote:
> OK, I'll try to do *something* about it. It'll be either "support the
> 1.0 ABI" or "make sure the link will break". While the former would be
> nice, I'm not sure I want to really want to force 1.2 to have the same
> ABI as 1.0.x. More on this when I have some time to think about it.
2005 Dec 12
0
Real time in ARM - please help
Thanks for the advice. With complexity=1, bit rates 5950,8000 and 15000 (CBR
only), I'm still getting 30-50 seconds encoding time for a 10-second file.
To anyone who has made this work in ARMv4, or knows how to, can I get some
advice on the settings? FIXED_POINT is already defined in all relevant
files. My source code is patterned after sampleenc and I haven't tried using
Ogg.. my source
2004 Aug 06
0
speex_encode / speex_encode_int ... already sorry =)
On Sun, Apr 25, 2004 at 04:18:16PM +0200, crazylord wrote:
> Hi, i know this question has already been asked, i've checked mailing
> list logs but ...
> I didn't figure out the solution for my question.
>
> I want to use basic functionnality of speex, only VAD, no pre/post
> filter, even no VBR. But i *really* want to use less mem/cpu i can.
> So in which format
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
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
2004 Aug 06
2
speex_encode / speex_encode_int ... already sorry =)
I always think short is better over float, because most of the time we don't
get float form data, from, e.g microphone / wav files
<p>-----Original Message-----
From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf
Of Conrad Parker
Sent: Monday, April 26, 2004 12:58 AM
To: speex-dev@xiph.org
Subject: Re: [speex-dev] speex_encode / speex_encode_int ... already sorry
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the
constructor and destroyed in the destructor of the object. However I'm
still getting the same issue although I'm sure that would have bit me
sooner or later.
The new code is as follows.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
short *in=(short*)inputBuffer;