Displaying 20 results from an estimated 500 matches similar to: "using speex in C#"
2007 Feb 09
1
speex in C# please help
hello guys this is my code for the C# wrapper.
=================================
using System;
using System.Runtime.InteropServices;
using System.IO;
namespace Speex
{
///<summary>
///the following class is the win32 SPEEX API that retrieve
///methods and structures from the libspeex file
///</summary>
public unsafe class Speex_win32
{
#region Speex Constants
//global speex
2006 Dec 28
0
using speex in C#
Hi,
I have read the message below,
http://lists.xiph.org/pipermail/speex-dev/2006-October/004924.html
and try to use P/Invoke to use speex in C#.
This is a part of my code.
[StructLayout(LayoutKind.Sequential)]
public struct SpeexBits {
IntPtr chars; // "raw" data
int nbBits; // Total number of bits stored in the stream
int charPtr; // Position of the byte
2007 Jan 08
1
VAD in preprocessor
Hi all and Jean-Marc,
Firstly thanks a lot to you for helps, at last I accomplished to use
speex-1.2beta1 in my speech application. I try to understand speex source
code and improve speech quality. The problem in my application (like many
people in the list says) is noise. So I've added VAD in preprocessor as
following. VAD in preprocessor is very good, there is not noise outside
speech. I
2006 Dec 29
0
VAD in preprocessor
Hi all and Jean-Marc,
Firstly thanks a lot to you for helps, at last I accomplished to use
speex-1.2beta1 in my speech application. I try to understand speex source
code and improve speech quality. The problem in my application (like many
people in the list says) is noise. So I've added VAD in preprocessor as
following:
int param_enabled = 1;
int param_disabled = 0;
int sampling_rate
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
Hi All,
I am trying to cross compile speex-1.1.12 to powerpc-405,
i get a error after the make, speexec.lo error,
please help me how to get rid of this error.
On 2/9/07, speex-dev-request@xiph.org <speex-dev-request@xiph.org> wrote:
> Send Speex-dev mailing list submissions to
> speex-dev@xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2008 Jul 30
1
Speex in VB .NET
Hi there,
I have searched what seems like everywhere and was unable to find a .NET wrapper so that I can use speex in VB. I did find a speex.NET.dll but this didn't seem to work on what I needed.
I therefore decided I could just use DllImport within VB .NET and create my own unmanaged links to libspeex.dll.
With the help of this partial c# code
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:
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
2007 Apr 15
1
mac ghostscript help
Hello R community,
I am hoping to use a new package that I just installed called
"grImport" to import ps images into R for further manipulation using
either base graphics or grid. I downloaded the most recent version
of Ghostscript from http://www.cs.wisc.edu/~ghost/ that I could find
(v.8.56) for Mac OSX. However, I am apparently quite ignorant about
how the required
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,
2011 Jul 26
0
More frames in one packet
Hi,
I read in the documentation something about how to realize packing more than one encoded frame into a packet. Before I read this, I always encoded every frame seperate and packet them as following together:
[encoded length][encoded frame][encoded length][encoded frame]...
But if I understood the docu correct, it should be easier:
I call speex_encode_int() for every frame until the whole
2008 Mar 29
0
GCC/ELF Visibility patch
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility
information to all symbols exported from libspeex.so and libspeexdsp.so.
It includes a configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility information
to all symbols exported from libspeex.so and libspeexdsp.so. It includes a
configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2008 Apr 04
0
speexdec 1.2.3
Dear Jean-Marc and Peter:
Thank you both very much for your time and advice. I did not realize that Lame MP3 code has a -r option (without reading its code). I have tried the suggested command lines verbatim with the added -r option, along with other combination of option settings. I could not figure out how to eliminate the distortion in the result, like voice turning either high or low
2004 Aug 06
0
Frozen upper spectrum in WB VBR CNG
Great, thanks! That patch solved it. VBR without DTX seems to work
perfectly now. If I enable DTX, there's still a little bit of buzz
but it doesn't seem to last very long when it happens.
I appreciate the quick fix!
Tom
Jean-Marc Valin (jean-marc.valin@hermes.usherb.ca) wrote:
>
> Yep, you found a bug and here's the patch. It should solve your problem
> (using VBR