Audio recording in WP8

Why Windows Phone 8 does not support media lib (especially audio recording feature)?

Is this feature in road map for WP8 ?

Because we didn’t have time to add it.  Every feature, every detail, takes time to implement.  We have over 4 years of work that was put into Corona for Android and iOS by a team of developers.  That effort can’t be duplicated within a year for WP8.  :)

For audio playback, we recommend that you use our audio.* API.  This Lua library is fully supported.  We even support the majority of the secret/unofficial OpenAL APIs that we blogged about a few years ago, such as controlling pitch.

We do not currently support audio recording for WP8.  It’s not a popular feature, so, it was low priority.  But you can implement it yourself in C# via Microsoft’s AudioVideoCaptureDevice class.

   http://msdn.microsoft.com/en-us/library/windows.phone.media.capture.audiovideocapturedevice.aspx

How to implement other media library like functionality can be found on Microsoft’s website here…

   http://msdn.microsoft.com/en-us/library/windows/apps/hh202973(v=vs.105).aspx

And we document how to communicate between Lua and .NET here…

   http://docs.coronalabs.com/daily/coronacards/wp8/communication.html

I hope this helps!

Thank you.
I would just like to point out that audio recording could be important for those who develop business applications

I understand.  We’re missing some features that would come in handy to game developers too, like in-app purchase, ads, native TextFields, etc.  We’re not singling any one type of developer out.  We simply prioritized features that were popular *and* the most difficult for .NET developer to implement natively themselves… such as anything involving DirectX (ie: rendering/audio), multitouch, sensor handling, HTTP communications, cryptography, C/C++/Lua/.NET bridging, etc.  Features that could be easily implemented by Corona developers in .NET had less priority.  We’re willing to help you with the Lua/.NET bridging code too if you need it.  We want it to be as painless for everyone as possible.

I did find a C# example on how to implement audio recording here…

   http://independentinnovation.net/blogs/independentinnovation/archive/2012/12/11/Windows-Phone-8-Audio-Recording-using-Windows.Phone.Media.Capture.aspx

And I recommend that you record audio to PCM, which is an uncompress *.wav audio format that you can playback via Corona’s Lua audio.* APIs.

Because we didn’t have time to add it.  Every feature, every detail, takes time to implement.  We have over 4 years of work that was put into Corona for Android and iOS by a team of developers.  That effort can’t be duplicated within a year for WP8.  :)

For audio playback, we recommend that you use our audio.* API.  This Lua library is fully supported.  We even support the majority of the secret/unofficial OpenAL APIs that we blogged about a few years ago, such as controlling pitch.

We do not currently support audio recording for WP8.  It’s not a popular feature, so, it was low priority.  But you can implement it yourself in C# via Microsoft’s AudioVideoCaptureDevice class.

   http://msdn.microsoft.com/en-us/library/windows.phone.media.capture.audiovideocapturedevice.aspx

How to implement other media library like functionality can be found on Microsoft’s website here…

   http://msdn.microsoft.com/en-us/library/windows/apps/hh202973(v=vs.105).aspx

And we document how to communicate between Lua and .NET here…

   http://docs.coronalabs.com/daily/coronacards/wp8/communication.html

I hope this helps!

Thank you.
I would just like to point out that audio recording could be important for those who develop business applications

I understand.  We’re missing some features that would come in handy to game developers too, like in-app purchase, ads, native TextFields, etc.  We’re not singling any one type of developer out.  We simply prioritized features that were popular *and* the most difficult for .NET developer to implement natively themselves… such as anything involving DirectX (ie: rendering/audio), multitouch, sensor handling, HTTP communications, cryptography, C/C++/Lua/.NET bridging, etc.  Features that could be easily implemented by Corona developers in .NET had less priority.  We’re willing to help you with the Lua/.NET bridging code too if you need it.  We want it to be as painless for everyone as possible.

I did find a C# example on how to implement audio recording here…

   http://independentinnovation.net/blogs/independentinnovation/archive/2012/12/11/Windows-Phone-8-Audio-Recording-using-Windows.Phone.Media.Capture.aspx

And I recommend that you record audio to PCM, which is an uncompress *.wav audio format that you can playback via Corona’s Lua audio.* APIs.