microphone

How to record sound from a microphone in VB6?

三世轮回 提交于 2019-12-11 06:28:32
问题 We've been recording sound for over a decade using what seems like a very clunky method using the Winmm.dll and the MCIsendString. I've read that this doesn't set the recording quality value correctly (not sure if that article was ever true or is still true). I was wondering if there is any better way to record sound, such as using the MCI control, etc. 回答1: "Clunky" is right. I've also been using the MciSendString method. If you are willing to move off VB6, you could use the Microphone

Android audio recording using phone microphone when handsfree is attached

你。 提交于 2019-12-11 05:34:24
问题 When I connect bluetooth handsfree to Android phone device, is it possible to use phone microphone to record sound and hear it in the handsfree? I manage to record sound by phone microphone and hear it on the phone speaker or headphones. But when the headphones has microphone, typically handsfree, it records sound using handsfree microphone by default. I need to mute somehow handsfree microphone and use phone microphone. Is it possible in Android? I haven't found any answer. At android

How can I sample an audio stream on iOS for visualization regardless of the audio source?

≯℡__Kan透↙ 提交于 2019-12-11 05:14:05
问题 I'm interested in creating an iOS audio visualizer, not one that uses AVPlayer or any other similar derivatives, but one that is able to parse through an audio signal and create an audio visualization regardless of the application that is playing it. For instance, if Spotify is playing, or iTunes is playing. From whatI understand, you don't have access to that stream pragmatically unless the application specifically allows it. Another approach I was thinking of was to use the microphone, but

Is Android capable of managing microphone/input volume?

寵の児 提交于 2019-12-11 03:50:48
问题 I've searched everywhere, including the RootTools source. I can't find anything that manages the microphone, apart from muting it altogether. And there are no hints inside the AudioRecorder.setMicrophoneMute(bool) method either... There are a few posts about this issue, but none of them ever go anywhere (through no fault of OPs'). Is it (legally) possible to override the OS and get to the mic hardware directly or something? Thanks, -tre 回答1: You can't directly set the recording volume, but

Intel INDE - How to control (mute) microphone input volume (input gain) in Android

一笑奈何 提交于 2019-12-11 03:32:35
问题 I'm using Intel INDE for video streaming purposes (Android) and it's giving me headaches to solve some problems. The main problem is how to mute/unmute the devices microphone in Android. Looks like Intel INDE is overriding the input volume to be always active. The only way I found is to not set the AudioFormatAndroid of Intel INDE API deleting these lines: audioFormat = new AudioFormatAndroid("audio/mp4a-latm", 44100, 1); capture.setTargetAudioFormat(audioFormat); The problem is that I need

Why do I get only hear noise after changing the audio input in java?

佐手、 提交于 2019-12-11 03:21:42
问题 I initialize the AudioInputStream like this: dataLineInfo = new DataLine.Info(TargetDataLine.class, getAudioFormat()) ; targetDataLine = (TargetDataLine) AudioSystem.getLine(dataLineInfo); targetDataLine.open(getAudioFormat()); targetDataLine.start(); That works fine and I can hear the Audio Input of the Microphone. If I try to change the Audio Input to another device I only hear noise. I tried to solve this problem for a week now and I really don't have a clue anymore why I can't hear the

Get the amplitude at a given time within a sound file?

南笙酒味 提交于 2019-12-11 00:49:11
问题 I'm working on a project where I need to know the amplitude of sound coming in from a microphone on a computer. I'm currently using Python with the Snack Sound Toolkit and I can record audio coming in from the microphone, but I need to know how loud that audio is. I could save the recording to a file and use another toolkit to read in the amplitude at given points in time from the audio file, or try and get the amplitude while the audio is coming in (which could be more error prone). Are

How to get hardware information of (in-build) microphone?

假如想象 提交于 2019-12-10 15:37:03
问题 Is it possible to read the hardware information (at least the name) of the (in-build) microphone while a user is recording an audio file on my website? Is that possible with JavaScript or is there another way to solve this problem? I searched the web but could only find scripts for recording with JavaScript. 回答1: Newer version : Available in Firefox, MS Edge, and Chrome 45 with experimental flag. Using the standard navigator.mediaDevices.enumerateDevices() , you can get a list of available

Live Microphone amplitude measurement in c#

只谈情不闲聊 提交于 2019-12-10 12:38:23
问题 I am looking for simple solution which will return integer value of microphone input in c#. I was already checking available samples on net, but none of them worked in a x64 environment. (VS2008 + W7 x64). Is there any simple solution that will return value of amplitude (or frequency) of microphone input in c#? I tried NAudio without results and this: http://www.codeproject.com/KB/audio-video/cswavrec.aspx?msg=2155497 without luck. 回答1: I reckon the easiest route to go is to use the old

visualize mediastream which is coming from a remote peer connection

南笙酒味 提交于 2019-12-10 11:08:51
问题 Since some days I`m trying to visualize an audiostream which is coming over webrtc. We already wrote some visuals which are working fine for the normal local stream (webaudio microphone usage). Then I found some really interesting things on https://github.com/muaz-khan/WebRTC-Experiment/tree/master/ for streaming the microphone input between different browsers. We need this to have the same audio data from one backend for all clients in the frontend. Everything works fine and some tests