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.
0
votes
0answers
30 views
WebRtc Acoustic Echo Cancellation3 (AEC3) giving Flat MicOutPut after Echo Cancellation
Let me begin this topic by stating that I am a total newbie to WebRtc and if any I mention anything half-witty, please bear with me in
a forgivable manner.
I am writing an app, that does echo ...
0
votes
1answer
25 views
Compiling Speex and SpeexDSP for Android 64bit architectures results in “error: impossible constraint in 'asm'”
Google recently announced policy requiring support libraries be recompiled for 64bit support so I'm hoping someone else has also been down this road recently.
I'm trying to compile Speex 1.2 for ...
1
vote
1answer
69 views
add cpp classes into android project
How can I add a .cpp class (like speex or opus) into my android studio project ?
I already tried to insert using externalNativeBuild like :
externalNativeBuild {
ndkBuild {
...
0
votes
0answers
34 views
python install speex dsp module error
I would like to ask a question about the installing speexdsp module in python installed with Anaconda3.
I downloaded the swigwin-3.0.12 from website and add it to my system variable, as well as my ...
1
vote
0answers
8 views
speexenc unavailable after install speex on linux
I need to use speexenc to convert wav to spx file. I have installed speex1.2rc and libogg with ./configure then make; make install ,but then speexenc is still unavailable. What should I do now? Thanks!...
1
vote
0answers
38 views
how to convert .wav to .spx(speex) file
i need to convert bunch of files with some scripts . what shall i do? thanks!
either Python or linux shell script with third party pkg is fine.
I tried SoX but failed with flash crash
-4
votes
1answer
55 views
iOS - How to solve echo problems with speex?
My App call to the intercom has an echo, I have used the native method, but it is useless, I want to use the echo cancellation of speex, but I have encountered some problems, in the echo cancellation ...
0
votes
0answers
124 views
Noise Cancellation using speex
i have java application make a live stream to RTMP server, i want to cancel noise using speex via JNI , i make jni implementation very well but in java application it's process the short array well ...
0
votes
1answer
50 views
how to deal with processing time delay of audio codec while streaming over RTP
In section 2.1 of the Speex codec manual it says:
Every speech codec introduces a delay in the transmission. For Speex, this delay is equal to the frame size, plus some amount
of “look-ahead” ...
1
vote
0answers
55 views
Can not cancel echo when using Speex in android
I use speex lib in my android app to complete that two phones can talk to each other.
This is my client code. It works well when I delete this line:
short[] result = SpeexEchoCanceller.getInstance()....
-2
votes
1answer
158 views
How do I remove noise from this audio file?
I am uploading an audacity project with 2 tracks, the 1st one contains a "bitbit" sound resulted from Speex echo cancellation. I tried to remove the sound using Audacity noise cancellation, didn't ...
3
votes
0answers
134 views
Does anyone know how to use the MediaSyncEvent to sync playback and capture?
Reference doc:
https://developer.android.com/reference/android/media/MediaSyncEvent.html
As I'm working on AEC (Acoustic Echo Cancellation), using the Speex library
speex_echo_cancellation();
I ...
-1
votes
1answer
48 views
Speex decoder doesn't produce expected result
I have encrypted data from JAVA j-speex
I am trying to decode this data using the speex decoder in JavaScript.
Most of data is giving -2 and -1 and very few data is giving correct decoded data.
I ...
0
votes
0answers
588 views
Encoding and decoding audio stream with speex in android
Currently I am developing an audio live chat app which just like the walkie talkie. This app transfers audio bytes over tcp sockets between android phones and a remote server. To save the mobile ...
1
vote
0answers
98 views
Ogg Page & Packet & Segment
I am new to use libogg and libspeex. After digging into ogg RFC and libogg doc , the relation of ogg page and packet make me confused.
What I understand is :
an Ogg File for speex = OggPage * (* means ...
0
votes
0answers
552 views
16000 to 44100 resampling using speex(Sampling Rate conversion)
I m doing resampling from 16000 to 44100 Hz using speex.
Also i did resampling between 16000 to 44100 Hz using ffmpeg.
speex is taking more time for resampling conversion.
Also found that speex is ...
0
votes
1answer
461 views
Integrating any codec within an android VOIP application
I am working on an android voip application that need not work on PSTN. I am completely novice to this field and any little help will be appreciated.
I started by researching how whatsapp voice call ...
0
votes
0answers
91 views
Speex installation
I have trouble with installing a Speex library for Visual Studio Community 2015!
The Install file contains only:
*% ./configure [--prefix=<install-path>] % make % make install*
If it's ...
0
votes
1answer
61 views
freeswitch crash for libspeexdsp.so.1.5.0 error
Hi!I had run a freeswitch for a callcenter ivr service.
During this time, freeswitch crash twice for the similar reasons below:
freeswitch[39310]: segfault at 7f556d514638 ip 00007f55dd909dc6 sp
...
1
vote
0answers
121 views
How to compile Speex source files to get a .dll file?
When I use NDK to compile Speex source files and a wrapper to get the .so file,it works fine.
But When I use MinGW64 to compile the files to get a .dll file for a project on Windows,the build failed.
...
1
vote
1answer
259 views
Problems with using speex in gstreamer in python
I'm trying to experiment how to use gstreamer in python 3.x for audio encoding and later for streaming, but got stuck unfortunately.
I've found this simple audio player, which works fine:
import gi
...
0
votes
1answer
204 views
Problems installing pySpeex
When I try to install the pySpeex wrapper on a raspberry Pi, I've got the following error message:
pi@raspberrypi ~/Desktop/speex-1.2rc2 $ python setup.py install
running install
running build
...
0
votes
1answer
4k views
differentiating dynamic RTP payloads using type 97
When receiving and parsing RTP audio, how do I differentiate between the various payload types that all use the same dynamic payload type in the RTP header? For example, I've got both Speex and iLBC ...
0
votes
1answer
74 views
Speex echo canceler, initial state learning
I rebuilding an existing product using the speex echo canceler (to replace an obsolete speakerphone solution). There is a strong feedback from the speaker to the microphone, both mounted in the same ...
0
votes
1answer
112 views
MumbleKit library produces no .a target
I included the MumbleKit library in a project and all seems to compile correctly; yet none of the 3dparty libraries, nor main mumblekit library produces its .a target. I even tried compiling 3dparties ...
3
votes
2answers
505 views
speex splitted audio data - WebAudio - VOIP
Im running a little app that encodes and decodes an audio array with the speex codec in javascript: https://github.com/dbieber/audiorecorder
with a small array filled with a sin waveform
for(var i=0;...
0
votes
1answer
878 views
Libtool issue while compiling Liblinphone
I'm trying to compile this lib:
https://github.com/BelledonneCommunications/linphone-iphone
During generation I get this:
/linphone-iphone/submodules/build/..//externals/speex/libspeex/cb_search.c
...
0
votes
1answer
223 views
android speex mp3 file echo cancellation
I'm working on an application which is recording the microphone's input and at the same time has to be able to play an MP3 file via Loudspeakers.
I need to cancel the echo of the MP3 file. I've tried ...
0
votes
0answers
21 views
Can't compile Speex Library Samplenc [duplicate]
I'm actually trying to recode a skype like application. I successfully managed to install and use portaudio and opencv libraries but I'm having some trouble with Speex on visual studio 2013 (for the ...
0
votes
1answer
534 views
In built AEC Android performance
Does anyone know if the in-built AEC that ships with Android post Jelly Bean works well? I am trying it and the output I get is very low in volume and very choppy. It does cancel all the speaker ...
4
votes
1answer
881 views
pjsip pjsua USB SoundCard choopy
the pjsua runs in openwrt, we use USB SoundCard.
When we answer a call, allways choopy, both the capture and the playback are not work well!
Tips:We have use auddemo tested my soundcard, recoreding/...
0
votes
0answers
994 views
Speex Echo cancellation `Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1)`
I`am developping and android VoIP apps using Audiotracks and Audiorecord. But there is a lot of echo, I tried to use Speex echo canceller with JNI but I get error :
07-21 16:58:39.029: A/libc(7570): ...
1
vote
1answer
281 views
Issue #1 when compiling Xuggler for Raspberry pi with libspeex
I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian),
I followed the 'Basic Build Instructions' available here for compiling Xuggler.
After I successfully installed ...
2
votes
1answer
806 views
Compile echo cancellation using NDK in Android
My problem is how to cancel echo using jni in android between two devices. I tried to use the code in this link Speex echo cancellation configuration
but it didn't work to me! in this code
#include &...
3
votes
1answer
2k views
Echo was not cancelling with speex aec in android with higher sample rates?
I successfully integrated speex aec in android (integrated in Android/frameworks/av/media/libeffects/preprocessing).
Echo was cancelling when I use sample rates 8k and 11k for capturing. But it is ...
0
votes
1answer
1k views
how to test webrtc aec in android?
Hi i want to test the webrtc aec and i want to know how it works..
Because i am going to integrate speex.
I dont know how to do all the things but i have to do.
So please give me the information ...
1
vote
0answers
265 views
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 ...
0
votes
0answers
656 views
Decoding Speex audio and playing decoded PCM data using AudioQueues
I am getting audio stream data in Speex format. I tried compiling ffmpeg for Speex for Speex decoding. I am getting errors when compiling ffmpeg which can be seen in this link. So I used another ...
1
vote
2answers
612 views
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 ...
0
votes
2answers
752 views
Compile libogg for iOS using Xcode5.1 error
Environment: Mac OS X 10.9.2, Xcode 5.1. Build shell scripts as below:
#!/bin/sh
set -xe
VERSION="1.3.1"
DESTDIR="libogg-built"
#ARCHS="i386 x86_64 armv7 armv7s arm64"
rm -rf $DESTDIR
mkdir $...
4
votes
1answer
2k views
Android Echo Cancelation via Speex Library
I am just trying to record my voice via mic and listening my own voice from speaker, now the problem is when i m listening my voice, echo sound is added, i tried to cancel/remove the echo by using ...
1
vote
1answer
363 views
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 ...
0
votes
1answer
719 views
Compiling ffmpeg to support SPEEX decoding
I am trying to compile ffmpeg to support Speex decoding. I have enabled speex decoding using the following flag --enable-libspeex in my shell script. I have also compiled speex 1.2rc1 downloaded from ...
3
votes
0answers
847 views
speex jni wrapper so that use easy
hello, combile speex and write jni wrapper is very hard,so i hope guys can added there wrapper so that other people can easy use. my wrapper as follows:
#include <jni.h>
#include <...
9
votes
1answer
1k views
Android NDK setup for speex
I am trying to integrate speex in my program and just downloaded NDK for it. I have trouble with setup Android NDK (I am on Mac OS). When I type
./ndk-build -C ../android_dev/oler_android/
Android ...
1
vote
1answer
790 views
Speex AEC remove only a part of the echo
I try to use Speex Accoustic Echo Cancellation with Qt 5.2.0, but only a part of the echo is removed, it still remain.
Here is my test (not optimized for memory management). It records voice, remove ...
1
vote
1answer
782 views
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 ...
2
votes
1answer
4k views
GetByteArrayRegion causes ArrayIndexOutOfBoundsException
I'm trying to decode Speex encoded audio files using Speex library but I always get ArrayIndexOutOfBoundsException
JNIEXPORT jint JNICALL Java_com_app_shared_Speex_decode
(JNIEnv *env, jobject ...
1
vote
0answers
401 views
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 ...
1
vote
0answers
2k views
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 ...