microphone

Getting raw microphone data on the Windows Phone?

◇◆丶佛笑我妖孽 提交于 2019-12-24 05:54:21
问题 Is it possible to obtain raw microphone data on the Windows Phone 7 to measure the ambient sound? If so, how can I do this? 回答1: not sure if you are familiar with Dealing with micrphone in WP7 or not but you can check this blog post for a full detailed tutorial : you initialize a buffer with the size of the data : _buffer = new byte[_microphone.GetSampleSizeInBytes(_microphone.BufferDuration)]; and whenever the Microphone data is ready in this event handler get the data from the microphone

Trying to stream 2 way audio over TCP?

这一生的挚爱 提交于 2019-12-24 04:18:17
问题 I'm trying to make a video conferencing application (written in c#) that would allow 2 users to video conference using TCP. In addition, users can text chat separately. Right now, I have a working video stream, yet don't have the audio working yet. I'm unsure of how to access the microphone, stream it using TCP, and then play it on the other user's speakers as I'm relatively new to c# and brand new to using media. If anyone could point me towards sample code, help me know how to access the

Microphone detection Actionscript 3

戏子无情 提交于 2019-12-24 00:52:56
问题 I'm having a few problems detecting whether a microphone is detected or not. I'm running the function Microphone.getMicrophone() and that should return null if there is no microphone attached, or if the user has clicked Deny on the security panel, right? The problem I'm facing is, on some computers where there is no microphone installed, Microphone.getMicrophone() still traces out as [object Microphone] . So say for example the user doesn't have a microphone, and clicks allow in the security

Graphic sound analyzer of microphone

放肆的年华 提交于 2019-12-23 10:09:36
问题 I am building on an app which has a function which records the sound which comes in the microphone. It would be handy to give a graphical view of the incoming sound , like http://www.filebuzz.com/software_screenshot/full/10920-Audio_Edit.gif for example. I searched a little bit for a tutorial online, but the only thing I found was Audalyzer, but it is difficult for me to get a grip on it, it also is using the whole interface and not clear how to implement it as a widget... Maybe somebody

Recording data using microphone for a fixed duration

天涯浪子 提交于 2019-12-23 04:32:50
问题 I would like to know if there is a way to fix the duration of recording using mobile's microphone. Like when I click a button the recording should start and it should stop after 5 seconds on its own, what method do you propose me to use :-) Edit: Sorry for the confusion but I am using AudioRecorder class to record data and I don't think the MediaRecorder class function works properly (/at all) for the same. 回答1: If you just use a timer, I do not think that you can accurately control how much

tutorial on using flash or java servlet to upload microphone data from browser to server? [closed]

无人久伴 提交于 2019-12-22 11:17:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . There was a question on how to get data from a microphone on a client to a server via an HTTP browser, and the answer was "use flash or maybe a java servlet applet". Fine, but how? Is there any sample code or tutorial out there? Can it be done with a vanilla server or do I need adobe media server? 回答1: I believe

Detect blow in Mic and do something

爷,独闯天下 提交于 2019-12-22 05:16:40
问题 i found this tutorial , and it's good , but doesn't work for me ! here is the code : - (void)listenForBlow:(NSTimer *)timer { [recorder updateMeters]; const double ALPHA = 0.05; double peakPowerForChannel = pow(10, (0.05 * [recorder peakPowerForChannel:0])); lowPassResults = ALPHA * peakPowerForChannel + (1.0 - ALPHA) * lowPassResults; if (lowPassResults > 0.95) NSLog(@"Mic blow detected"); //change the background color e.g ! } in the console show me the nslog reseult like this (without any

Get Audio from PC microphone with a C# program

こ雲淡風輕ζ 提交于 2019-12-22 01:16:27
问题 I need to capture audio from a PC with Windows 7 with a C# program. I need to get all the frequencies until 20 khz. Do you know if there are a way to do it? 回答1: You could take a look at the NAudio Library at codeplex http://naudio.codeplex.com. A nice project for recording mic input with NAudio can be found here http://voicerecorder.codeplex.com/. 回答2: I found some links that could help you Visit http://www.codeproject.com/Articles/2615/DirectShow-NET? Or http://www.codeproject.com/Articles

Virtual audio driver (microphone)

放肆的年华 提交于 2019-12-21 20:33:06
问题 I want to develop a virtual microphone driver. Please, do not say anything about DirectShow - that's not "the way". I need a solution that will work with any software including Skype and MSN. And DirectShow doesn't fit these requirements. I found AVStream Filter-Centric Simulated Capture Driver (avssamp.sys) in Windows 7 WDK. What I need is an audio part of it. By default it reads avssamp.wav and plays it. But this driver is registered as WDM streaming capture device. And I want it in Audio

Outputting audio stream into microphone

∥☆過路亽.° 提交于 2019-12-21 04:51:39
问题 Hey everyone. Is there a way of outputting audio from my program and redirecting that stream to the system's microphone input 'layer'? I understand this might require some low-level calls being 'Pinvoked', but are there any articles that might help me. For example, if I was to run the output audio stream of my application into Window's Sound Recorder program, it would think that the audio is coming from a microphone and thus record that. I don't want to record a stream, just output it to the