microphone
Disable noise cancellation for microphone in Android (1.5)?
Noise filters in audio recording sources on Android vary greatly from device to device. It isn’t until Ice Cream Sandwich that any sort of definition was put into the device compatibility document defining a method for not having filtering. That method id to use the MediaRecorder.AudioSource.VOICE_RECOGNITION audio source. Before that it’s just choose a setting … Read more
Detect tap with pyaudio from live mic
One way I’ve done it: read a block of samples at a time, say 0.05 seconds worth compute the RMS amplitude of the block (square root of the average of the squares of the individual samples) if the block’s RMS amplitude is greater than a threshold, it’s a “noisy block” else it’s a “quiet block” … Read more
iOS check if application has access to microphone
You can check the with recordPermission(), which has been available since iOS 8. Keep in mind that starting with iOS 10, you must set the NSMicrophoneUsageDescription property in your info.plist for microphone permissions and include a message for the user. This message is shown to the user at time of the request. Finally, if localizing … Read more
Multichannel USB recording with Java Sound API?
I think that a simple way to do this would be using Soundflower and Soundflowerbed. I can’t see how to make the USB mics inputs to Soundflower and then pipe them into a Java. It sounds like you have Soundflower installed already. Soundflowerbed is found in the same disk image as Soundflower and is a … Read more
How do you enable a microphone input in the android emulator
have you seen this tutorial? see the comment: You guys are not able to record sound in emulator because the android emulator doesn’t support it yet. This code should only work on the phone. Update Now it is possible to record audio by android emulators, just need to enable it: Extended controls (3 dots in … Read more
How get sound input from microphone in python, and process it on the fly?
If you are using LINUX, you can use pyALSAAUDIO. For windows, we have PyAudio and there is also a library called SoundAnalyse. I found an example for Linux here: #!/usr/bin/python ## This is an example of a simple sound capture script. ## ## The script opens an ALSA pcm for sound capture. Set ## various … Read more
Access microphone from a browser – Javascript
Here we capture microphone audio as a Web Audio API event loop buffer using getUserMedia() … time domain and frequency domain snippets of each audio event loop buffer are printed (viewable in browser console just hit key F12 or ctrl+shift+i ) <html><head><meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″> <title>capture microphone audio into buffer</title> <script type=”text/javascript”> var webaudio_tooling_obj = … Read more
“SimulatorTrampoline.xpc” would like to access the microphone
This is part of Apple’s fix for radar 45715977, where Simulator devices would prompt repeatedly to access the microphone (as often as every time your app was run). You can find a brief reference to the fix in the Xcode 10.2 release notes. There are no references in your project because the prompt comes from … Read more