Questions tagged [speex]

Speex is an open-source audio compression format designed for speech. It is based on CELP and is designed to compress voice at bitrates ranging from 2 to 44 kbps.

Speex is a patent-free audio compression format designed for speech and also a free software speech codec that may be used on VoIP applications and podcasts. Speex is be free of any patent restrictions and is licensed under the revised (3-clause) BSD license. It may be used with the Ogg container format or directly transmitted over UDP/RTP.

The Speex designers see their project as complementary to the Vorbis general-purpose audio compression project. Speex is a lossy format, meaning quality is permanently degraded to reduce file size. The Speex project was created on February 13, 2002.

The first development versions of Speex were released under LGPL license, but as of version 1.0 beta 1, Speex is released under Xiph's version of the (revised) BSD license. Speex 1.0 was announced on March 24, 2003, after a year of development. The last stable version of Speex encoder and decoder is 1.2.0.

The Speex codec has been obsoleted by Opus. It will continue to be available, but since Opus is better than Speex in all aspects, users are encouraged to switch

source : wikipedia.com

152 questions
1
vote
0 answers

JSpeex vs porting Speex in android?

I'd like to use the speex library to handle echo cancellation on an android phone and I found a link to the jspeex project in the speex website. As it is already ported to java, I think that it could spare me some dev time but I'm still wondering…
onizukaek
  • 1,082
  • 1
  • 14
  • 38
1
vote
2 answers

Compile libspeex for iOS using Xcode5.1 error

See also: Compile libogg for iOS using Xcode5.1 error Environment: Mac OS X 10.9.2, Xcode 5.1. There are two shell scripts to build libogg and libspeex, where locates in the same directory. The libogg build scripts is as below: #!/bin/sh set…
Smeegol
  • 2,014
  • 4
  • 29
  • 44
1
vote
1 answer

Decoding audio with Jspeex in android produces choppy/clipped sound

i am developing an android app, which plays live speex audio stream. So i used jspeex library . The audio stream is 11khz,16 bit. At android side i have done as follows: SpeexDecoder decoder = new SpeexDecoder(); decoder.init(1, 11025,1,…
Ichigo Kurosaki
  • 3,765
  • 8
  • 41
  • 56
1
vote
1 answer

Reducing multichannel audio noise with Speex

I've been searching high and low for an example on how to use the Speex library's preprocessor for multichannel audio. The documentation for speex_preprocess_state_init() says that: Creates a new preprocessing state. You MUST create one state per…
dreijer
  • 654
  • 8
  • 22
1
vote
0 answers

UnsatisfiedLinkError while using speex codec library in android

I am completely newbie to this topic .I want to use speex codec in my application for that I have followed this link to include speex lib in android app.I have completed all the steps [getting all c files and compiling them using NDK ] and have run…
Sneha Bansal
  • 941
  • 1
  • 13
  • 38
1
vote
0 answers

How to use ffmpeg to decode speex stream?

I want to decode speex stream and extract audio from it. I've heard FFmpeg support speex codec, but i don't know how to use it. Is there any code sample about decoding speex stream data? Thanks in advance.
1
vote
0 answers

I want to decode Speex raw data

I want to convert Speex raw data to playable wav files in my c++ program. So, for first step, I should be able to decode Speex raw data to PCM. and in next step, i should make suitable header for PCM files (for playing). Are these steps correct? If…
1
vote
1 answer

Determining how Speex encoded audio differs from expected settings

I'm trying to integrate an application with another application that encodes audio using speex. However, when I decode audio sent from the first application to the second, I'm getting noise (not static, more like bleep-bloopy twangs). I need to know…
Craig Gidney
  • 17,763
  • 5
  • 68
  • 136
1
vote
2 answers

Python ctypes & libspeex.dll/libspeex.so; what are the equivilents to #define, typedef, and structs?

I have a reference of the dll file here: http://speex.org/docs/api/speex-api-reference/group__Codec.html What I'm wondering is, in that list, there are a lot of defines. What is the python equivalent, same for the struct class, what are my…
ThantiK
  • 1,582
  • 4
  • 17
  • 31
1
vote
1 answer

speex and jspeex decoding

Jspeex has a method to decode as seen below: public static int decode(byte[] input, int offset, int length, byte[] output) throws StreamCorruptedException { SpeexDecoder decoder = new SpeexDecoder(); decoder.init(0, 8000, 1, true,…
guness
  • 6,336
  • 7
  • 59
  • 88
1
vote
0 answers

Encoding in WP7 with NSpeex works, decoding the stream on a JavaEE server with JSpeex does not

As topic states, I have no problem in encoding audio in Windows Phone 7 with NSpeex(v1.1.1, uses Speex v1.2rc1). I have verified this by first encoding a stream, and then right after decoding it back again, add wav headers and send it back to server…
hsiltala
  • 11
  • 3
1
vote
1 answer

Adding JSpeex Jar file to Blackberry Project

I am trying to add JSpeex's jar file to Blackberry project. Compilation fails if I add it. Also, if I add source files to the project, compilation fails as JSpeex is pure Java and classes are not supported in Blackberry app. Please help me to…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
1
vote
1 answer

Compile speex in Android (STATIC_LIBRARY)

I'm trying to compile the Speex library in Android. When I compile this library in shared mode, everything is ok, but when I try compile it in static mode the ndk seem do nothing and the library it not generates. I've read that I only have to change…
Chris
  • 327
  • 2
  • 6
  • 22
1
vote
0 answers

Output speex encode in a file using python

I'm using the script found on this blog Google speech recognition with python (I give any credit to author). import sys import pyaudio, speex import numpy as np # just for doing a standard deviation for audio level checks import…
imAlessandro
  • 61
  • 1
  • 10
1
vote
1 answer

Convert wav to flv using speex codec

How can I convert a wav file to an flv, resampling to a rate of 11kHz, and encoded with speex? Is it possible?
Vlad
  • 2,739
  • 7
  • 49
  • 100