audio-recording

How can I record 2 microphone in Android simultaneously?

半城伤御伤魂 提交于 2019-12-18 10:56:41
问题 I'm trying to record audio signals from 2 in-built microphone(bottom, top) at the same time. I can pick up bottom microphone signal using MediaRecorder.AudioSource.MIC and top microphone signal using MediaRecorder.AudioSource.CAMCORDER I can record separately but I want to record at the same time from 2 microphones. Does anyone know how to record simultaneously? I tried & or | operator but I can get only 1 channel signal. I use Galaxy S2 device. I will appreciate any response :) Thanks in

MediaRecorder - record calls application

早过忘川 提交于 2019-12-18 09:44:21
问题 im trying to develope application that recording calls. when im recording the output sound sounds very wired - electronic sounds instead the other person voice. here is my code: public class MainActivity extends Activity implements OnClickListener { private Boolean Recording; private Button btn_REC; private MediaRecorder mrec; private File audiofile = null; private static final String TAG = "SoundRecordingDemo"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

audio and video recording errors in android

别来无恙 提交于 2019-12-18 03:38:49
问题 I need to record audio and video files to the 3gp/mp4 format in the same file and at the same time. When I run, my application file is created with videofile.3gp but the video does not record to the SD card on the emulator. Does video record on the emulator? If I run this code on an android supported device will I see these errors? Code and errors below: package com.video; /* * * @copy Rights * audio.java * sample code for Eminosoft Developerworks Article * Android developent Team * www

Recording Audio From Web Page

≯℡__Kan透↙ 提交于 2019-12-18 03:35:08
问题 I'm looking for a solution for capturing audio from a user's microphone and posting it (preferably as MP3) to a server. I need something that I can embed in a web page. I've seen where Flash can do this, but I understand that this approach requires expensive server-side software from Adobe. I'm not aware of whether Silverlight may provide any capabilities to assist with this. I'm curious what others have done. Any advice would be greatly appreciated. 回答1: You can do it with Flash and either

Recording Audio via the Web for an Intranet Solution

五迷三道 提交于 2019-12-17 23:33:17
问题 What is the best (cheapest, most open) way to record audio via a web page. Then keep that recording as MP3 format and make it available via a unique ID / URL. I guess Flash-based plug-in would be best. I'm thinking of something that works like Odeo, but this would be for Intranet-only usage. I can't rely and public URLs or Services. I'm looking for something I can cobble together from existing components (Open Source) projects. 回答1: You need a service server side to record audio, this could

how to convert or record .wav file in 16khz 16bit mono little-endian?

自作多情 提交于 2019-12-17 20:24:53
问题 I m just implementing sphinx4 speech recognition in java..whta i need is how to record sound or convert any sound .wave file in to 16khz 16bit mono little-endian file. had search a lot for this..but no specific guidance i have got..hope anyone from stack overflow family can help me out or give me a proper guidance in that. 1). i need to just record audio in android with the 16khz 16bit mono little-endian file format in wave file or 2). i need to convert the prerecorded file with any sampling

How can I record AMR audio format on the iPhone?

强颜欢笑 提交于 2019-12-17 18:28:40
问题 A voice recorder doesn't need uncompressed Linear PCM audio. Compressed AMR would do fine. The iPhone framework built for recording audio is simple enough, but the only examples I've found for setting up the audio format (which come from Apple) use LinearPCM. I've tried various other combinations of values, but can't seem to get anything to work. Does anybody have any code that actually records AMR ? Edit: The AMR format is one of the options for setting the data type, but the other options

How do I record audio with C#/WPF?

筅森魡賤 提交于 2019-12-17 17:59:13
问题 I have an application to which I want to add the ability to import small audio snippets directly from a microphone device of some sort. I already allow importing of pictures and this works okay with disk files and cameras since cameras magically become disk devices when you attach them so a file import method works for both. Audio however is slightly different. I've already allowed for importing audio files off the disk but I want to add the capability to directly record from a microphone to

How to record call in android? Is it possible?

扶醉桌前 提交于 2019-12-17 13:58:11
问题 I want to record call from android phone. I am using android.media.MediaRecorder pckg. Also used following code: mrec.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL); mrec.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mrec.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); But I didn't succeed in recording an incoming call. Can anyone recommend a tested code snippet? Also, Is this true? http://groups.google.com/group/android-developers/browse_thread/thread/c2bc85eb60ae2aa5?pli

Strange PulseAudio monitor device behaviour

℡╲_俬逩灬. 提交于 2019-12-14 04:20:27
问题 Faced strange PulseAudio monitor device (i.e. audio input device which plays sound sent to speaker) behaviour. I've reduced code from my real project to simple example based on code from PulseAudio docs https://freedesktop.org/software/pulseaudio/doxygen/parec-simple_8c-example.html, I've only added time limit and read bytes counting. It works for example 30 seconds and prints read bytes count. Problem is that bytes count vastly differs if something is played during program run. I've executed