473,324 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Storing WAVE FORMAT in an XML FILE

hi,
i want to store the WAVE FILE CONTENTS in an XML.
How do i do it?

thanks
Venugopal
Nov 17 '05 #1
3 2130

"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: webstar | last post by:
hi, could you please tell me how to play a small wave file if a button is pressed. or if there is another format that is easer then use that instead of wave. thanks matt
0
by: david.kettle | last post by:
Hello Python World! I've been playing with the 'wave' and 'audioop' modules in the library, and I have a question. When I tried to read a "wav" file with samples in 32-bit float, I got the...
1
by: Jakub Dudek | last post by:
Hi, I am trying to read wave date (the 16 bits audio words) from a wave file using c++. I have tried using the mmsystems library. I got to the point where I read the wave data chunk into a...
2
by: JamesT | last post by:
Does anyone know how to get the information from a Wave File Header in VB.NET (or VB6). I need to check the sample rate for the correct value. JamesT
9
by: Arnold | last post by:
I need to read a binary file and store it into a buffer in memory (system has large amount of RAM, 2GB+) then pass it to a function. The function accepts input as 32 bit unsigned longs (DWORD). I...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
0
by: Simrat Kaur Sandhu | last post by:
hello friends can anybody tell me how to read data from a wave file.. i have writen code as ... class file { private: FILE *fp; char id; char *sound_buffer; //four bytes to hold 'RIFF' long...
6
by: homevista | last post by:
PART III: Putting things together In part I we examined the modem to verify that it supported voice. If so, we took a note about the voice data format that we would use. In the second part, we...
0
by: mailtosantoshkumar | last post by:
Hi to all, I have problem with how to converting a DSS audio file format to wave format in dotnet. I have a Olympus DSS but i cant able to access the exe as well as dll which they in that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.