microphone

Audio devices plugin and plugout event on chrome browser

与世无争的帅哥 提交于 2020-01-24 22:47:05
问题 I'm building an audio chat web application using WebRTC. So I trying to build that if any external audio device get plugged-in to the system my application automatically start using that microphone and when that external device plugged out application start using system default microphone (as Hangout do). Is there any event that notify me about device plugged-in plugged-out information?(For chrome browser) Is there any way to know which device to use in all the listed device that we get from

How to stop wavesurfer microphone / `this.stop.stream` is not a function

房东的猫 提交于 2020-01-24 12:05:48
问题 I'm running this wavesurfer microphone instance and i'm running into a problem called this.stop.stream is not a function whenever i'm trying to stop the microphone after starting it. This mic does not record anything - it's just visualizing. But in chrome the mic just stays open until reload. Which is not fun for users. And m. I have found why that happens here => https://wavesurfer-js.org/api/file/src/plugin/microphone.js.html#lineNumber199 all the methods that are called after starting the

Using MediaRecorder and NoiseSuppressor in Android

孤人 提交于 2020-01-23 17:51:27
问题 I'm starting off a project experimenting with the Android microphone using code like this: mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mRecorder.setOutputFile(mFileName); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); After that, a prepare() and start() to begin recording mic audio. Trouble is, I'm trying to also add in some audio processing effects like

HTML 5 Browser camera permission

时光怂恿深爱的人放手 提交于 2020-01-16 08:58:52
问题 I have web application that uses WEB RTC for video communication between two peers. Everything works fine, but we have one headache in production. The thing is that when browser asks for camera and microphone permission, the pop up is often ignored by users and therefor they are getting frustrated why their video is not shown. So i am wondering if there is some library that can predict where the permission pop up is shown, so i can show some arrow from my html and make it more obvious? 回答1:

HTML 5 Browser camera permission

旧街凉风 提交于 2020-01-16 08:58:07
问题 I have web application that uses WEB RTC for video communication between two peers. Everything works fine, but we have one headache in production. The thing is that when browser asks for camera and microphone permission, the pop up is often ignored by users and therefor they are getting frustrated why their video is not shown. So i am wondering if there is some library that can predict where the permission pop up is shown, so i can show some arrow from my html and make it more obvious? 回答1:

RPScreenRecorder startCaptureWithHandler: not returning microphone sound in sample handler

放肆的年华 提交于 2020-01-16 06:57:42
问题 I am trying to use RPScreenRecorder startCaptureWithHandler:completionHandler: api on my iPad with iOS 11.4 to grab audio and video directly. It works well with the app screen, app audio and the camera, but when I turn on the microphone using microphoneEnabled = YES, I never get any audio sample for the mic in the callback. I added the microphone privacy usage key in the info.plist but that did not help. I am not sure what I can do next to try to resolve this issue. Thanks. 回答1: This code

How to listen to microphone and detect sound loudness in Delphi 7

杀马特。学长 韩版系。学妹 提交于 2020-01-14 04:17:26
问题 I need a program to catch an event when microphone input gets louder than certain threshold value. So probably I need to constantly listen to mic, and somehow measure sound amplitude? Is it possible to do that in Delphi 7? 回答1: I recommend you to look AudioLab 回答2: I recommend you to use the BASS Audio Library http://www.un4seen.com/bass.html BASS is an audio library .. to provide developers with powerful stream (MP3.. OGG.. ) functions. All in a tiny DLL, under 100KB in size. it's very easy

Use microphone in multiple app simultaneously in Android

你说的曾经没有我的故事 提交于 2020-01-12 12:54:31
问题 We have an Android device on which we would like to use the microphone in 2 app simultaneously. In fact, we have a vocal command service that is running in the background (we are using the CMU Sphinx library). The problem is when we start a video recorder (camera application), we can't start the recording as 2 applications can't access to the microphone at the same time. Error 08-20 12:20:14.601: I/MediaRecorderJNI(7261): prepare: surface=0x59590668 08-20 12:20:15.916: E/MediaRecorder(7261):

Use microphone in multiple app simultaneously in Android

久未见 提交于 2020-01-12 12:54:02
问题 We have an Android device on which we would like to use the microphone in 2 app simultaneously. In fact, we have a vocal command service that is running in the background (we are using the CMU Sphinx library). The problem is when we start a video recorder (camera application), we can't start the recording as 2 applications can't access to the microphone at the same time. Error 08-20 12:20:14.601: I/MediaRecorderJNI(7261): prepare: surface=0x59590668 08-20 12:20:15.916: E/MediaRecorder(7261):

Immediate Audio Input & Output Android

╄→尐↘猪︶ㄣ 提交于 2020-01-12 12:53:45
问题 In my Android App, I would like to take in some audio from the mic of the smartphone and play it immediately, live, like a microphone, with no lag. I am currently thinking of using AudioRecord and AudioTrack classes (from what I have read), but I'm not quite sure how to proceed. I checked out some other questions on Stack Overflow but they don't exactly answer what I would like to do. And most are from 2012. So how can I use these classes to input and output audio simultaneously? ALSO: I had