audio-recording

Recording audio from external source in an android application

六月ゝ 毕业季﹏ 提交于 2019-12-08 08:52:37
问题 I saw there was a similar question here: Is it possible to record from the external mic when recording video in Android? However, the question was never really answered and android documentation does not clearly state how this is done. This person in this thread states that it is possible, but does not say how. Real-time audio capture and playback from an external mic It would make sense for you to make the selection in the "setAudioSource" section, but none of the options are for external

Why is Codename One on iOS recording audio as CAF?

杀马特。学长 韩版系。学妹 提交于 2019-12-08 08:16:42
问题 My question is related to this other SO question. I am trying to record audio in iOS via Capture.captureAudio() . It outputs an audio file that can be read on the computer but neither on iOS (iPhone 4S) nor on Android. ffmpeg -i yields : Input #0, caf, from 'myFile.m4a': Duration: 00:00:07.04, start: 0.000000, bitrate: 37 kb/s Stream #0:0: Audio: aac (aac / 0x20636161), 16000 Hz, mono, s16, 23 kb/s If I record a file with iOS via Voice Recorder app I get from ffmpeg : Input #0, mov,mp4,m4a

Android. Call recording

对着背影说爱祢 提交于 2019-12-08 07:23:01
问题 My app records calls using standard MediaRecorder. After a few seconds after incoming call started, starting call recording (MediaRecorder.start). After this, interlocutor hear me very bad. If I connect/disconnect headphones during recording, then problem disappeared. How do resolve the problem programmatically? 回答1: I've resolved this problem. AudioManager.setSpeakerphoneOn() true then false helped me. Thanks to all. 回答2: From what I understand, this is possible on some phones, but the

How to record a audio in Android and save it in Database?

给你一囗甜甜゛ 提交于 2019-12-08 06:49:27
问题 Hi I am making an Android app for recording a audio for 5-10 sec and store that in Database. For audio recording i follow this http://xhampa.pastebin.com/Yr2hie6q But it is not working properly. What to do ? I can not record the Audio on my G1 mobile. Any suggestion welcome. 回答1: For your audio recording, try this code: MediaRecorder recorder; public void startRecording() throws IOException { SimpleDateFormat timeStampFormat = new SimpleDateFormat( "yyyy-MM-dd-HH.mm.ss"); String fileName =

Is it possibly to have sumultaneously two instances of AudioRecord with Echoprint in Android?

不问归期 提交于 2019-12-08 05:14:17
Hi all! Sorry in advance for my English. :) I am trying to make an audio recognition app with Echoprint code. One instance works fine, but we would like to listen simultaneously with several AudioRecords. For example, instead of analyzing 20 seconds of a song for recognition, we would like to have, for example, 3 audio recorders with 3 matches to improve the results. Ex. one listening from the 0s to 20s, another one listening from 0s to 10s and another one listening from 10s to 20s. That way we will have 3 matches-responses, which we expect will give us more accuracy or more possibilities of

Is it possibly to have sumultaneously two instances of AudioRecord with Echoprint in Android?

*爱你&永不变心* 提交于 2019-12-08 05:11:24
问题 Hi all! Sorry in advance for my English. :) I am trying to make an audio recognition app with Echoprint code. One instance works fine, but we would like to listen simultaneously with several AudioRecords. For example, instead of analyzing 20 seconds of a song for recognition, we would like to have, for example, 3 audio recorders with 3 matches to improve the results. Ex. one listening from the 0s to 20s, another one listening from 0s to 10s and another one listening from 10s to 20s. That way

Recording and saving sounds from applications?

心已入冬 提交于 2019-12-08 04:28:29
I Would like to make an appliaction in c# (or vb.net) that records every sound that comes out from the speakers when i tell it to, and when im finished i want to push a button and save it as an mp3 (or some other format). So far i have only found APIs that can record something from a microphone. My Question is: Is there anything in the .NET framework or is there some API for making this possible? I haven't seen much on sound recording from the soundcard purely from the .NET framework, but you may find this interesting. There are libraries such as FMOD and BASS that work with .NET and may

Recording and saving sounds from applications?

霸气de小男生 提交于 2019-12-08 04:03:44
问题 I Would like to make an appliaction in c# (or vb.net) that records every sound that comes out from the speakers when i tell it to, and when im finished i want to push a button and save it as an mp3 (or some other format). So far i have only found APIs that can record something from a microphone. My Question is: Is there anything in the .NET framework or is there some API for making this possible? 回答1: I haven't seen much on sound recording from the soundcard purely from the .NET framework,

Downsample the audio from buffer inputs from 48000 to 16000

老子叫甜甜 提交于 2019-12-08 04:00:02
问题 I have the recorder.js which will record the audio and takes buffer inputs but I want to downsample the audio buffers but I am lot confused where to call it though I have written it. Please check my function and if possible please suggest where to call it. import InlineWorker from 'inline-worker'; export class Recorder { config = { bufferLen: 4096, numChannels: 2, mimeType: 'audio/mp3' }; recording = false; callbacks = { getBuffer: [], exportWAV: [] }; constructor(source, cfg) { Object.assign

How to mute Microphone when recording from headset

不羁的心 提交于 2019-12-08 02:50:22
I am making a application to record audio from bluetooth headset. After that, the signal sound from headset will be played in to speaker of android phone. However, my problem is that some signal from microphone of android phone is also played. I want to mute microphone of android during playing. Is it possible. I am refering some link but it does not useful. Please give me one solution to turn of my microphone. This is my setting _audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); int maxJitter = AudioTrack.getMinBufferSize(SAMPLE_RATE, AudioFormat.CHANNEL_OUT_MONO,