Displaying 20 results from an estimated 100 matches similar to: "More frames in one packet"
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:
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
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
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:
2007 Apr 25
0
echo cancellation on Blackfin DSK
Hello,
I'm new on DSP and i want to implant speex echo canceller on the Blackfin
DSK version of speex to work on the BF533 EZ-KIT LITE
But i can perform the echo canceller to work
This is my code, so if somebody can tell me where i'm wrong
//-----------------------------------------------------------------------------
// CallBackFunction() - Gets called by the audio pseudo-driver
2005 Jan 05
4
Encoding and decoding problem in speex 1.0.4
Hi,
I am using the speex 1.0.4 library from Windows.
I have posted my problem before but didn't get a solution. I am doing an
VOIP project
in which i am recording sound and streaming it to the peer. I wanted to
encode and decode
wav files that brought me to this site.
I am recording sound in the following format:-
m_WaveFormatEx.wFormatTag = WAVE_FORMAT_PCM;
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
2004 Aug 06
0
Speex wrapper functions for Visual Basic
Hello,
i want to use speex out of visual basic. So i have written a few wrapper functions in VC++ (v6) wich i can call from VB (v6). But i have problems with the encode and decode functions.
Encode wrapper Function:
I want to copy the value of an single array in VB to a float array in C which can be
encoded. And the output of the encoder have to be unsigned char because in VB its an
byte
2006 Aug 06
0
Speex + Ogg package
If by webchat you mean anything interactive, then I can already tell you
what the problem is. TCP+Ogg. For anything real-time, you want UDP/RTP
without Ogg. Also, you need to take into account the fact that computers
do *not* have accurate clock and their soundcards drift. None of these
problems are fatal, but you need to take that into account in the
design.
Jean-Marc
On Mon, 2006-08-07 at
2006 Aug 06
2
Speex + Ogg package
I'm currently working on a speex + theora webchat.
I have both working alone, but to make them work together and to know where
the package goes, I'm trying to use ogg packages.
With theora there has been no problem, but with speex I can't make it work.
The problem is that for a second it works great, but then it begings to gain
lag, and in a little time it has 5-10 lag seconds (into
2006 Dec 29
0
using speex in C#
Hi SAITAMA Taro,
I have been using speex-1.2beta1 dll in our voice application written with
C#. In order to use Speex correctly firstly I advice to you examination
speexenc and speexdec projects.
I have used unsafe code and fixed statements in C#. I have added following
method to library and I used that instead of speex_encoder_init simply.
void *speex_encoder_init_new(int modeID)
{
const
2006 Aug 06
2
Speex + Ogg package
sorry, no webchat, is a videoconference program. And I'm using UDP as you
can read down on the mail.
The problem is that speex packages alone work great, but to split
speex/theora packages on the arrive I need to use some kind of container,
and I'm trying ogg.
On 8/7/06, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:
>
> If by webchat you mean anything interactive,
2006 Dec 28
0
Integrating speex with VideoNet application: Constantbackground noise
Hi Jean-Marc,
I finally make it work! Thanks for telling me that the algo will not work for 8-bit PCM. In fact I've tried using 16 bit PCM last time, but apparently there's a bug. The bug lies with the RecBuffer. The RecBuffer must be set to 320bytes instead of 160 bytes since every sample is now 16 bit.
The compression is amazing, from 320 bytes to 38bytes!
Thanks a million,
Carine
2008 Feb 17
1
Voice activity detection
Thanks for your reply. I changed my code to:
if (speex_preprocess_run(preprocess_state, shortPointer) == 1)
{
speex_encode_int(enc_state, shortPointer, &enc_bits);
}
In the mobile version of the software, compiled against the mobile build of Speech, I get 1 and 0 based on whether the speech is detected. In the version of the software compiled against the Win32 version of Speex,
2011 Jul 26
3
More frames in one packet
After searching the mailing list archive (I forgot to do that before posting, sorry!) I found the solutions:
1) The documentation has a mistake: The bit terminator is NOT set automatically! (I'm using the latest speex version!) It has to be set manually using speex_bits_insert_terminator(&bits);
2) speex_decoder_int() has to be called as long, as it returns -1. After that, all frames
2009 May 14
1
.spx documentation
Hi!
I'm looking for a documentation of the .spx file type? I want/need to know how such a .spx file is built up.
I want to create a .wav to .spx converter. And additionally a .spx player.
I already searched the net and the speex site but I couldn't find anything useful. Maybe I'm missing something?
Thanks for your help!
Best regards,
Peter
--
Neu: GMX FreeDSL Komplettanschluss mit
2008 Feb 15
3
Voice activity detection
This must be a simple issue, but I cannot figure it out.
I want to use VAD, but I don't know how to check if the actual frame has
voice in it or not.
So, in my code, I do:
int tmp = 1;
speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_VAD, &tmp);
speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_DENOISE,
&tmp);
then later, for each frame
2014 Dec 10
2
[LLVMdev] Metadata/Value split has landed
> On 2014 Dec 10, at 08:40, Tom Stellard <tom at stellard.net> wrote:
>
> On Tue, Dec 09, 2014 at 09:22:16PM -0800, Duncan P. N. Exon Smith wrote:
>> The `Metadata`/`Value` split (PR21532) landed in r223802 -- at least, the
>> C++ side of it. This was a rocky day, but I suppose that's what I get
>> for failing to stage the change in smaller pieces.
>>
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
On Wed, Dec 10, 2014 at 05:27:45PM -0800, Duncan P. N. Exon Smith wrote:
> +zalman at google.com
>
Hi Duncan,
This patch plus another small change fixes the assertion failure for
me. With the patch alone, the void* overload of addGarbageObject()
was being used by MDNode::getTemporary(), so I had to cast the object as
an MDNode*:
diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
I committed:
r224058 = 966942da9e68b59c31ce770e7f94c55a63482c6b
r224060 = da75f7277e3a129aed8ef8aa4e0d84de40b76fd4
r224061 = f88e4c8e9171045454b2c8e05054c2af8da3fe4f
Let me know if somehow you're still hitting the problem.
r224061 removes leak detection entirely from `MachineInstr`. There aren't
any leaks to be had there, since they're allocated in a custom allocator.
They're