Sound effects with windows phone 7 - windows-phone-7

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.

Related

How to record or get the audio while the audio is playing in windows phone 8?

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

Expensify WP7 test framework

Can we use the Expensify Frame work to test Voice Commands on Emulator/Device..
The feels like this should be possible, but isn't something that I've already coded.
To achieve it, you'd have to setup some sort of playback system to create the audio voice commands. This could be done, for example, by using audio playback triggered from C# SpecFlow steps on the PC - e.g. using something like DirectShow/quartz - http://csharp-slackers.blogspot.co.uk/2008/10/playing-wav-or-mp3.html
This audio would then be played out and captured back into the emulator through the speakers and microphone on the host PC - just make sure they are positioned appropriately.

Windows Phone 7.5 phone call voice morphing

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.

access to input data from microphone in WP7?

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!

Accessing the output audio buffer on Windows Phone 7

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."

Resources