audio-recording

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

寵の児 提交于 2019-12-19 04:22:37
问题 The following code is working fine (some checking and code eliminated) at 44100 depth 2 which seems to be the default. Since this interface is usable, but not documented well, anyone know of how to change the default quality? audioCaptureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio]; captureSession = [[AVCaptureSession alloc] init]; audioInput = [AVCaptureDeviceInput deviceInputWithDevice:audioCaptureDevice error:&error]; [captureSession addInput:audioInput];

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

拟墨画扇 提交于 2019-12-19 04:22:08
问题 The following code is working fine (some checking and code eliminated) at 44100 depth 2 which seems to be the default. Since this interface is usable, but not documented well, anyone know of how to change the default quality? audioCaptureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio]; captureSession = [[AVCaptureSession alloc] init]; audioInput = [AVCaptureDeviceInput deviceInputWithDevice:audioCaptureDevice error:&error]; [captureSession addInput:audioInput];

recording stereo with AudioRecord in android

懵懂的女人 提交于 2019-12-19 03:34:12
问题 I'm looking for a definitive answer on getting audioRecord to use both the top mounted and bottom mounted microphones so I don't have 2 identical (mono) channels. I'd like to know what polling I could do before hand to ensure that a gadget will provide a good stream. I'm working on a galaxy nexus 5, and can't get that to work so I'm no way near getting it stable across all the devices. I've tried all the MediaRecorder.AudioSource . AudioRecord audioInputStream1 = new AudioRecord(Media

recording stereo with AudioRecord in android

不问归期 提交于 2019-12-19 03:32:53
问题 I'm looking for a definitive answer on getting audioRecord to use both the top mounted and bottom mounted microphones so I don't have 2 identical (mono) channels. I'd like to know what polling I could do before hand to ensure that a gadget will provide a good stream. I'm working on a galaxy nexus 5, and can't get that to work so I'm no way near getting it stable across all the devices. I've tried all the MediaRecorder.AudioSource . AudioRecord audioInputStream1 = new AudioRecord(Media

Programatically record audio output from web page using jS or html5?

▼魔方 西西 提交于 2019-12-19 02:28:13
问题 Is there any way to programatically capture the audio being played from a webpage using html5, jS, or something else and create a mp3/wav file out of it? I know of the web audio API, but I've only been able to find information on recording audio from microphone input, rather than output of a web page. Thanks 回答1: You can use the Web Audio API to record the output of any Web Audio node, not just microphone input. If the webpage you want to record audio from is using the Web Audio API to

How to video record with specific sound programmatically in android?

断了今生、忘了曾经 提交于 2019-12-18 16:50:11
问题 I have created functionality to record video in my app. When I play a song, that song is recorded with video and a video file is created, similar to a dubshmash application. Now the problem that I am facing is that other voices such as near by sounds also get recorded. The song file is recorded in the video record screen and I play the song when video recording activity launches. How can I have my application record only song with video? mediaRecorder.setAudioSource(MediaRecorder.AudioSource

Can anyone suggest how to record audio from microphone on a website using html5 and javascript

北战南征 提交于 2019-12-18 16:10:33
问题 I want to record audio using javascript and html5, there is device element in html5 but i dont know to use it. Found no examples for the same. 回答1: No current stable browser supports the Stream API (formally known as <device> ), so in practical terms — you can't. The lack of examples using it is a consequence of this. If you want to play with it, you have to use development branches of Chrome. There is a demo of voice input here. 回答2: currently, there are three ways to do it as wav all code

How does Google Keep do Speech Recognition while saving the audio recording at the same time?

淺唱寂寞╮ 提交于 2019-12-18 15:35:11
问题 Android's SpeechRecognizer apparently doesn't allow to record the input on which you're doing speech recognition into an audio file. That is, either you record voice using a MediaRecorder (or AudioRecord for that matter) or you do Speech Recognition with a SpeechRecognizer, in which case the audio isn't recorded into a file (at least not one you can access); but you can't do both at the same time. The question of how to achieve recording audio and doing speech recognition at the same time in

Android AudioRecord which settings to record call

℡╲_俬逩灬. 提交于 2019-12-18 13:15:36
问题 I use AudioRecord class to record the voice during a call. I am intererested to record only the voice of the person who owns the phone ( from the microphone). During the recording I would like to do some audio processing but this is offtopic for now. Android has the following AudioSources options: MediaRecorder.AudioSource.VOICE_CALL MediaRecorder.AudioSource.MIC MediaRecorder.AudioSource.VOICE_UPLINK MediaRecorder.AudioSource.VOICE_DOWNLINK Can you explain what is the differences among them.

Java - Broadcast voice over Java sockets

大兔子大兔子 提交于 2019-12-18 11:43:13
问题 I have created a Server app that receives sound from client, i then broadcast this sound which is stored as bytes and send the bytes back to the clients that are connected to the server. now i am only using one client at the moment for testing and the client is receiving the voice back but the sound is stuttering all the time. Could some one please tell me what i am doing wrong? I think i understand some part of why the sound isn't playing smoothly but don't understand how to fix the problem.