By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,366 Members | 1,775 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,366 IT Pros & Developers. It's quick & easy.

Storing WAVE FORMAT in an XML FILE

P: n/a
hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?

thanks
Venugopal
Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"VenuGopal" <Ve*******@discussions.microsoft.com> wrote in message
news:4F**********************************@microsof t.com...
hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?


Do you want to represent a wave file as xml or encode the actual binary wave
file into xml?
Nov 17 '05 #2

P: n/a
Hi,

Sorri for not being clear the last time around.
This is what i am trying to do
1. at the client ... i have a WAVE file.
2. this has to go to the server where it will be stored and later retreived
upon request by client in the future.

this is my plan.... if i could maybe store the contents into a XML file and
this if i can send it to the server. Y i think of using the xml is that along
with the ACTUAL FILE CONTENTS i can also squeeze in a few more attributes
like Wave File Record time, UserName e.t.c and it would be very easy to
maintain the entire system

If u can suggest if there are any better ways to do the above operation plz
i'd liove to hear form you.

thanks
Venugopal.B


"Daniel O'Connell [C# MVP]" wrote:

"VenuGopal" <Ve*******@discussions.microsoft.com> wrote in message
news:4F**********************************@microsof t.com...
hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?


Do you want to represent a wave file as xml or encode the actual binary wave
file into xml?

Nov 17 '05 #3

P: n/a
In message <75**********************************@microsoft.co m>,
VenuGopal <Ve*******@discussions.microsoft.com> writes
Hi,

Sorri for not being clear the last time around.
This is what i am trying to do
1. at the client ... i have a WAVE file.
2. this has to go to the server where it will be stored and later retreived
upon request by client in the future.

this is my plan.... if i could maybe store the contents into a XML file and
this if i can send it to the server. Y i think of using the xml is that along
with the ACTUAL FILE CONTENTS i can also squeeze in a few more attributes
like Wave File Record time, UserName e.t.c and it would be very easy to
maintain the entire system
You *could* base64 encode the binary file and embed it in an XML
document. When someone wants to download the file, you could load the
xml document server-side, parse it, decode it and stream the content
back. This would all be quite inefficient, though, both in terms of
storage space, transient memory use and processing overhead.
If u can suggest if there are any better ways to do the above operation plz
i'd liove to hear form you.


Could you store the metadata in a companion XML file or a database?

--
Steve Walker
Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.