Displaying 20 results from an estimated 1000 matches similar to: "Win CE playback error"
2005 Jun 23
1
Speex and DS
Thank you for the quick response Thorvald, but I think that's not the
problem here :[
I know how to capture the buffer and how to play it in the output buffer of
the DS.
The problem is (probably) with same kind of short/floats/bytes error in
conversion/copying
that the coder doesn't get.
I can have my buffer locked during the compression, it not the problem at
the moment.
What I really
2009 Apr 13
0
encoding -> decoding doesnt work
hi all,
i'm new to speex and i'm stuck on a problem. I have a buffer that holds 5
seconds of audio data, sampled at 16000 hz and quantitized with 16 bits pcm.
I only want to encode it with speex and then decode it and write it back in
the same buffer.
no compiling errors and no errors during runtime, but from the sample of 5
seconds only a short noise is all I get.
I hope you have any
2005 Oct 09
0
Fw: problem in encoder/decoder
-------Original Message-------
From: Eid
Date: 10/09/05 14:07:44
To: speex-dev@xiph.org
Subject: problem in encoder/decoder
hi all,
I'm developing an app to broadcast voice over web. i tried to use speex and
download ver 1.04 documentation and use it to develop encoding and decoding
but after decoding voice is damaged i attach my encode/decode function.
BOOL
2004 Aug 06
0
Invalid mode encountered: corrupted stream?
Hi,
in my application i quite often (not allways) get those two warning:
"Invalid mode encountered: corrupted stream?"
"Invalid wideband mode encountered: corrupted stream?"
The stream is not corrupted but i wish to know what those warning mean to
correct my code.
My encode and decode routines are those (libspeex 1.1.4):
SpeexBits enc_bits, dec_bits;
void *enc_state,
2005 Feb 09
1
encoding speex, (insanity looming)
Hi Tom,
Thanks for your reply, I'm having a few difficulty's following you
advise. You mention that I should be calling 'speex_encoder_int' &
'speex_decoder_int', I'm having problems finding these functions in
the speex header. I am currenlty calling speex_encoder_init &
speex_decoder_init in my test code, I have repeated the relevent bits
of the example
2004 Aug 06
0
About sample code
I write a sample code like speex provide , as follows:
SpeeXCodec::SpeeXCodec()
{
rate = 8000;
speex_bits_init(&enbits);
speex_bits_init(&debits);
enc_state = speex_encoder_init(&speex_nb_mode);
dec_state = speex_decoder_init(&speex_nb_mode);
// set option for encoder
speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &frame_size);
speex_encoder_ctl(enc_state,
2005 Feb 09
2
encoding speex, (insanity looming)
Hi All,
I'm very new to speex and in fact handling audio at all, it seems I have run
in to a problem I seem unable to fix. I'm trying to take audio from a microphone
using alsa, then encode it as speex and save to disk. I have been
wondering if it has something to do with endian type, but speexenc and
speexdec works fine.
Currently I have the following setup:
Platform:
2005 Feb 09
0
encoding speex, (insanity looming)
In short try calling speex_encode_int and speex_decode_int.
The calls to speex_encode and speex_decode expects the data to be a floating
point values. The data is passed by pointer and the compiler does not do
the conversion. This is why you are getting the segfault on decode as the
short is 16-bits and a standard float is 32-bits.
Tom
-----Original Message-----
From:
2012 Mar 11
0
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 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>
2006 May 21
2
Re: High pitched whine with Speex
When I just copy the microphone input buffer to the output buffer the
sound plays OK. But if I encode and decode the buffer through Speex I
get a high pitched constant tone in the background. I actually do hear
my voice speaking when I talk, but it's faint and much quieter than the
tone.
Here's what my data looks like:
Input is the first 5 floats of each input buffer.
Output is
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
Anton A. Shpakovsky <saa <at> tomsksoft.com> writes:
>
> As for me - speex_echo_cancellation is a better choise. Try using it in
> capture thread instead
> of those speex_echo_capture and speex_echo_playback functions.
>
> And please, describe your problem in details. Cause the fact that you
> "didn get echo cancellation"
> doesn't mean you are
2009 Jan 20
0
VoIP with wavefrom and speex
Hi!
I'm totally new to audio programming. I managed to create a VoIP with waveform (PCM). The problem was the really high traffic, so I desided to use speex for compressing the data.
I'm recording with mono, 16bit/sample, 8000 samples per second. I tried to add the speex compression, but I always get a crash when I try to decode the data.
Here is my encode and decode function:
int
2012 Jul 15
0
iPhone distorted audio
I'm not sure if anyone is experienced with this but i'm having very strange issues with implementing speex in my iOS application.
I have written a encode and decode function basically exactly like the example files online. To process audio I am using an iOS VoiceProcessingIO Audio Unit which is set at 16bit pcm with 8000 sample rate. After buffering 320 bytes of PCM audio I feed it into
2006 May 21
3
Re: High pitched whine with Speex
Changing from using floats to shorts did fix the high pitched tone
problem. I'm having other problems but I'll look into it more first.
SteveK wrote:
>
> On May 21, 2006, at 6:33 PM, Kevin Jenkins wrote:
>
>> When I just copy the microphone input buffer to the output buffer the
>> sound plays OK. But if I encode and decode the buffer through Speex I
>>
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
Well, I'm not a professional in AEC theory, but what I've mentioned is:
speex_echo_state_init(20, 320*10) - frame size should correspond to
20ms. At your sampling rate (16000hz) is should be 16K*0.02 = 320. The
same I can notice about echo tail. 100ms: 16000*0.3 = 4800, not 3200 as
you has. But that's not crucial I think. Just wanna you get the point.
"Internally,
2006 May 21
0
Re: High pitched whine with Speex
On May 21, 2006, at 6:33 PM, Kevin Jenkins wrote:
> When I just copy the microphone input buffer to the output buffer
> the sound plays OK. But if I encode and decode the buffer through
> Speex I get a high pitched constant tone in the background. I
> actually do hear my voice speaking when I talk, but it's faint and
> much quieter than the tone.
>
> Here's
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
Hi,
Can someone please help me with my problem below. Any suggestions is appreciated.
thanks,
Carine
----- Original Message ----
From: Carine Liang <carineliang@yahoo.com.sg>
To: speex-dev@xiph.org; speex-dev@xiph.org
Sent: Tuesday, 31 October 2006 1:05:49 PM
Subject: [Speex-dev] Integrating speex with VideoNet application: Constant background noise
Hi,
I am developing a peer-to-peer
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
Hi,
I am developing a peer-to-peer video conference application which uses speex as a codec for the voice.
I am new to speex, so please bear with me if I asked the obvious. After I added the encode and decode function to my MFC app, I heard a constant background noise, even when no one is speaking into the microphone.
#define FRAME_SIZE 160
The application is coded in MFC C++. The record
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
Hi everyone,
I'm trying to encode/decode with speex, when I do not, the audio is loud and clear, but when I encode/decode to test audio quality, I get a really poor audio quality and a robotic sound.
Here's my init audio method :
#define AUDIO_QUALITY 10
- (void) initAudio {
try {
//SPEEX CONFIG
speex_bits_init(&bits_in);