The MediaPlayer.GetVisualizationData method does not work for Windows Phone 7, so I'm trying to find another way to visualize music playing through the MediaPlayer.
The post Extracting sound spectrum data in WP7 gives a method for doing beat detection given an audio buffer, but it doesn't explain how to get this buffer on the phone.
How can I access audio samples/frequency data from the music MediaPlayer is playing? I'm not trying to access a buffer from the microphone - I need access to the output audio on the device.
See my answer to this other SO question:
Extracting sound spectrum data in WP7
"Visualization data is not available
on Windows Phone. Any attempt to get
visualization data on the phone will
populate the VisualizationData class
with 0s."
Related
I want to record game playing screen audio using UWP in windows 10, not record audio from web camera.
I tried NAudio, But it doesn’t work in UWP.
I have checked MediaCapture, I assume it can record audio or video from something like camera, not screen audio.
Although I found ScreenCapture.AudioSource property in official document, On windows 10 , This api is not supported.
Is there any way to record screen audio in UWP?
noob here.
I am developing an app for windows phone that streams audio from the web. I've put the play function with MediaElement class, and i have no problem with it.
Then, i want to add a feature to get/record the audio that i stream. I've googling and didn't find what i want.
Is there a way to do that?
Regards,
BM
This is the Microphone class link which can be used to capture audi.
Give a try and let me know
Microphone to capture audio
also go nthrough this link
capturing and playing audio
Is it possible to morph the voice of a outgoing call on Windows Phone 7/7.5?
It seems that we need 3 things:
Get audio samples from microphone;
Change the audio according to the expected voice effect;
Use our software to feed the call audio output (instead of the microphone directly).
I can only find information about 1. and 2., but 3. seems to be impossible.
Can you help me?
No, the current version of Windows Phone does not give you the capability to push your own audio through the phone radio or to insert any form of filter into that specific audio stream.
How can I access to input data from microphone in Windows Phone 7.0 or 7.1? (like a Volume Meter), i want to detect start and end input data from microphone.
Have a look at How to: Access the Microphone in a Silverlight Application for Windows Phone for basic usage.
If you want to detect the start and stop of certain audio input you'll have to parse/process the returned stream yourself.
This blog post also has a great tutorial (and code) showing how you access the microphone in WP7 via XNA: http://blogs.msdn.com/b/mikeormond/archive/2010/08/27/xna-from-silverlight-on-windows-phone-7-the-microphone.aspx
Good luck!
I'd like to try creating some sound effects with the windows phone 7. I found a sample from microsoft that shows how to get the input from the microphone.
Microphone Input Sample
I don't know anything about sound manipulation through code - are there any example for changing the pitch, tone, etc of the microphone input?
Take a look at Microsoft.Xna.Framework.Audio.SoundEffect. It has the ability to alter pitch and pan when playing a sound.
You could also try experimenting with the DopplerScale and DistanceScale.