Click here to get back home

Creating/Playing Wav File from binary data.

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Creating/Playing Wav File from binary data. MBruce 04-18-2008
Posted by MBruce on April 18, 2008, 6:00 pm
Please log in for more thread options
I am just starting mobile development. I don't know C++ so I am creating an
application managed code in C#. I have a webservice that is returning byte[]
data of a wav file format.

How would I play this on a smartdevice? Should I create a file from the
binary data or stream the data directly to a player?

If I need to save it as a file first, how would I create a wav file with the
byte[] data in C#? I can't seem to find any examples of this on the internet
and I have been searching for a week.

If there is no way to do this for a wav file format, I can also get the
binary data in a QCP format.

Any help would be greatly appreciated.



Posted by MBruce on April 28, 2008, 11:33 am
Please log in for more thread options
I found the best solution was to save the file locally and play by using the
windowsmediaplayer control.

http://msdn2.microsoft.com/en-us/library/bb262038(VS.85).aspx


"MBruce" wrote:

> I am just starting mobile development. I don't know C++ so I am creating an
> application managed code in C#. I have a webservice that is returning byte[]
> data of a wav file format.
>
> How would I play this on a smartdevice? Should I create a file from the
> binary data or stream the data directly to a player?
>
> If I need to save it as a file first, how would I create a wav file with the
> byte[] data in C#? I can't seem to find any examples of this on the internet
> and I have been searching for a week.
>
> If there is no way to do this for a wav file format, I can also get the
> binary data in a QCP format.
>
> Any help would be greatly appreciated.
>
>

Similar ThreadsPosted
encrypting data November 2, 2007, 5:28 pm
SmartPhone Data Connections ?? November 3, 2005, 8:49 am
Program to keep txt data secure October 3, 2005, 11:57 pm
Check on Data plam February 25, 2007, 1:04 am
Move Data to Storage Card September 29, 2005, 12:25 pm
How can I save data on the phone between session November 17, 2005, 4:20 pm
Microsoft Activesync corrupts data February 27, 2006, 11:36 am
Moto Q - Not all data syncs! bummer June 26, 2006, 7:10 pm
override smartphone with outlook data November 20, 2007, 7:14 am
Data Usage of Push Mail December 1, 2007, 12:32 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap