944,107 Members | Top Members by Rank

Ad:
Nov 18th, 2007
0

Convert .wav file into bytes

Expand Post »
I was wondering if it is possible to write a program in C or C++(maybe even Visual Basic, as i m more experienced with that programming language) to convert a .wav file into bytes and save the same file as a text file.
I am a Visual Basic programmer and have little (almost no) knowledge about C or C++ programming. Please Help.

By far, I have achieved success in only loading up the .wav file in Visual Basic. I am still wanting to learn how to extract data from the wav file using Visual Basic
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
black3 is offline Offline
10 posts
since Nov 2007
Nov 19th, 2007
0

Re: Convert .wav file into bytes

You aren't going to save a binary file as a text file.

The question is: do you want to make a binary dump of the file (displaying the hexadecimal code for the content of each byte as text), or separate out the bytes themselves, leaving them in numeric form?

In VB, use the hex$(byte1) function to turn a byte's internal value (byte1) into the text representing that value. The result is a string with two hexadecimal digits.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Sep 11th, 2008
0

Re: Convert .wav file into bytes

i just want to convt the .wav file with RIFF header and insert it into SQL Server using C++ in byte form, not in .NET platform.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kingshuk.sarkar is offline Offline
1 posts
since Sep 2008
Oct 9th, 2009
0
Re: Convert .wav file into bytes
I want to convert wav file into bytes and then read it..plz can you help me to implement this using C#..i would be very thankful for your cooperation..I'l be presenting my proj in few days so i need to implement this as soon as possible.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
riteshdalvi is offline Offline
2 posts
since Oct 2009
Oct 9th, 2009
0
Re: Convert .wav file into bytes
I want to convert wav file into bytes and then read it..plz can you help me to implement this using C#..i would be very thankful for your cooperation..I'l be presenting my proj in few days so i need to implement this as soon as possible.
Well...
I'm sorry to have to say this to you, but HTML and CSS are not capable of doing much of anything with your wav files except playing them, and what I really meant to say is that you are in the wrong section of the forum.
Reputation Points: 120
Solved Threads: 61
Posting Pro
Troy III is offline Offline
511 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Acient in Modern
Next Thread in HTML and CSS Forum Timeline: Css div problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC