speex

Speex echo cancellation configuration

做~自己de王妃 提交于 2019-11-30 13:31:25
问题 I am making an Android-to-Android VoIP (loudspeaker) app using its AudioRecord and AudioTrack class, along with Speex via NDK to do echo cancellation. I was able to successfully pass into and retrieve data from Speex's speex_echo_cancellation() function, but the echo remains. Here is the relevant android thread code that is recording/sending and receiving/playing audio: //constructor public MyThread(DatagramSocket socket, int frameSize, int filterLength){ this.socket = socket; nativeMethod

How to Call SPEEX Audio Decode/Encode in HTML5 / JavaScript (Without Flash)

一笑奈何 提交于 2019-11-30 07:06:10
I'm working on a project that requires audio data to be streamed via HTTP to/from server. We need to compress the audio data using SPEEX. In Flash, we can use Alchemy and LibSpeex, but how can we do it in JavaScript. HTML5 can be used. Thanks. Peter I recently implemented a successful HTML5/VOIP client using the following JS port of Speex, truly awesome stuff: https://github.com/jpemartins/speex.js For now you'll need to either wait for MediaStreamRecorder or jump the gun like I did, and make use of this: https://github.com/jwagener/recorder.js/ As for how you piece the whole lot together into

Compiling ffmpeg to support SPEEX decoding

拟墨画扇 提交于 2019-11-29 12:59:59
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 this link. After compiling the header files are available on this path /usr/local/include/speex. Following the above procedure when ffmpeg is compiled to produce support for SPEEX decoding I get the error libspeex not found. Can anyone help me with this? Config.log : BEGIN /var/folders/5p/cffcbsm954b632yfzq4jrbbw0000gn/T//ffconf.5U5MfgMb.c 1 #include <math.h> 2 float foo(float f, float g) { return

How to Call SPEEX Audio Decode/Encode in HTML5 / JavaScript (Without Flash)

試著忘記壹切 提交于 2019-11-29 08:29:39
问题 I'm working on a project that requires audio data to be streamed via HTTP to/from server. We need to compress the audio data using SPEEX. In Flash, we can use Alchemy and LibSpeex, but how can we do it in JavaScript. HTML5 can be used. Thanks. Peter 回答1: I recently implemented a successful HTML5/VOIP client using the following JS port of Speex, truly awesome stuff: https://github.com/jpemartins/speex.js For now you'll need to either wait for MediaStreamRecorder or jump the gun like I did, and

Compiling ffmpeg to support SPEEX decoding

岁酱吖の 提交于 2019-11-28 06:53:22
问题 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 this link. After compiling the header files are available on this path /usr/local/include/speex. Following the above procedure when ffmpeg is compiled to produce support for SPEEX decoding I get the error libspeex not found. Can anyone help me with this? Config.log : BEGIN /var/folders/5p

Android Speex echo cancellation problems

不羁的心 提交于 2019-11-28 05:35:44
问题 I have a basic audiorecord-audiotrack, udp packets voice chat between two android devices. It works, but I have a bad echo. I'm trying to remove the echo using Speex ported to android by JNI. The speex I imported works, but the echo cancellation doesn't. Native C code is: #include <jni.h> #include <speex/speex_echo.h> #define FRAME_SIZE 256 #define FILTER_LENGTH 800 SpeexEchoState *echoState; // Initialization of echo cancelation void Java_telefonie_voip_VoIPActivity_InitEcho(JNIEnv * env,