speex

Encode audio from getUserMedia() to a .OGG in JavaScript [duplicate]

心不动则不痛 提交于 2019-12-03 10:03:18
问题 This question already has answers here : converting .wav file to .ogg in javascript (4 answers) Closed 5 years ago . So I have this HTML5 project I'm working on, where I'm converting an iOS app to a web-based one. Accompanying part of the content creation of the app is an audio recording, which I'm trying to replicate in JavaScript without the use of plugins; so far, I've been able to record audio from getUserMedia(), and turn it into a WAV thanks to Recorder.js. Now, however, I'm a bit lost.

Packing Speex with Ogg on iOS

风格不统一 提交于 2019-12-03 10:01:10
I'm using libogg and libogg, I've succeeded to add those libraries to my iPhone xCode project and encode my voice with Speex. The problem is that I cannot figure out how to pack those audio packet with ogg. Does someone know how a packet of that kind should look like or have a reference code I can use. I know in Java it's pretty simple (you have a dedicated function for that) but not on iOS. Please help. UPD 10.09.2013: Please, see the demo project , which basically takes pcm audiodata from wave container, encodes it with speex codec and pack everything into ogg container. Maybe later I'll

Android Speex echo cancellation problems

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 #include #define FRAME_SIZE 256 #define FILTER_LENGTH 800 SpeexEchoState *echoState; // Initialization of echo cancelation void Java_telefonie_voip_VoIPActivity_InitEcho(JNIEnv * env, jobject jobj) { echoState = speex_echo_state_init(FRAME_SIZE, FILTER_LENGTH); } /

Android Echo Cancelation via Speex Library

点点圈 提交于 2019-12-03 08:27:26
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 Speex library, but not succedded. Can someone please help me, below is the code: Downloaded the code Speex-Android from https://github.com/yayanyang/speex-android . I have added the echoCanceler.c file in jni as shown below MainActivity.java package com.example; import android.annotation.SuppressLint; import android.app.Activity; import android.app.Fragment; import android.content.Context; import

speex support in android

☆樱花仙子☆ 提交于 2019-12-03 04:30:44
问题 Can anybody help me on how to use speex or jspeex in android? I have searched a lot but could not able to find anywhere.There are many issues regarding this in code.google.com/android but none have answered it. Here also this question did not got a good response as my another question regarding this is Decoding speex encoded byte array in Android. So If you know something about this then Please provide me information regarding this. I need to encode and decode bytearray of audio file using

speex support in android

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Can anybody help me on how to use speex or jspeex in android? I have searched a lot but could not able to find anywhere.There are many issues regarding this in code.google.com/android but none have answered it. Here also this question did not got a good response as my another question regarding this is Decoding speex encoded byte array in Android . So If you know something about this then Please provide me information regarding this. I need to encode and decode bytearray of audio file using this codec. I have tried Android-ndk and got

Encode audio from getUserMedia() to a .OGG in JavaScript [duplicate]

ⅰ亾dé卋堺 提交于 2019-12-02 23:21:33
This question already has answers here : converting .wav file to .ogg in javascript (4 answers) So I have this HTML5 project I'm working on, where I'm converting an iOS app to a web-based one. Accompanying part of the content creation of the app is an audio recording, which I'm trying to replicate in JavaScript without the use of plugins; so far, I've been able to record audio from getUserMedia(), and turn it into a WAV thanks to Recorder.js. Now, however, I'm a bit lost. I currently have two separate views, one for recording content and one for playing it back, but I don't know how to get the

speex support in android

半城伤御伤魂 提交于 2019-12-02 17:42:12
Can anybody help me on how to use speex or jspeex in android? I have searched a lot but could not able to find anywhere.There are many issues regarding this in code.google.com/android but none have answered it. Here also this question did not got a good response as my another question regarding this is Decoding speex encoded byte array in Android . So If you know something about this then Please provide me information regarding this. I need to encode and decode bytearray of audio file using this codec. I have tried Android-ndk and got encoding done, but getting a problem in decoding the byte

Combining multiple sound streams in Java

假装没事ソ 提交于 2019-12-01 13:53:48
I have a number of voice sound streams encoded in PCM (PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian) which I want to send over the network. To save bandwidth I currently encode the streams using JSpeex. However to save even more bandwidth I would like to (if possible) combine these multiple streams into a single stream before encoding with JSpeex. My DSP knowledge is severely lacking & I am wondering how to go about combining the streams in Java? I combine multiple audio streams with this MixingAudioInputStream . The mentioned AudioConcat example uses the same class and it

Combining multiple sound streams in Java

喜夏-厌秋 提交于 2019-12-01 12:53:13
问题 I have a number of voice sound streams encoded in PCM (PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian) which I want to send over the network. To save bandwidth I currently encode the streams using JSpeex. However to save even more bandwidth I would like to (if possible) combine these multiple streams into a single stream before encoding with JSpeex. My DSP knowledge is severely lacking & I am wondering how to go about combining the streams in Java? 回答1: I combine multiple