473,404 Members | 2,137 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,404 software developers and data experts.

combining a number of sound files into one filestream?

hi there,

any examples or is it possible to open say 3 wav files, and put all their
file streams together into one filestream?

thanks,
Paul
Jan 19 '07 #1
1 2893
RT
On Fri, 19 Jan 2007 10:38:25 +0100, "Milsnips" <mi******@hotmail.com>
wrote:
>hi there,

any examples or is it possible to open say 3 wav files, and put all their
file streams together into one filestream?

thanks,
Paul
Paul,

The Wav file format is fairly direct. The audio data inside the file
could be merged IF all three files are the same format. But
there are different audio formats; sample rates, mono vs stereo, etc.
You will also need to create a new header, as that describes the
length of the internal audio data.

Format description:
http://www.sonicspot.com/guide/wavefiles.html

A Wav file editor project:
http://www.codeproject.com/cs/media/...asp?print=true

There are probably more on CodeProject (my favorite site).

There's often additional info at the end of a WAV file, so when you
reach the audio data chunk, you may not be home free.

Most commercial audio editing software will handle this, and may do
format conversions if necessary. If you do a direct splice of the WAV
data, you can also be subject to a 'tick,' depending on a number of
factors. Some of the commercial software allows blended crossfade to
avoid this.
Jan 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: MattP | last post by:
Ok, with the help of some examples found on the web and some minor modifications on our own, we have a simple and working encrypt and decrypt solution. It runs as a service, watches for files with...
1
by: Adam Clauss | last post by:
Alright, I have a need to combine 2 (or possibly more - figure if I can get two working, more won't be hard) .wav files into one .wav file. Now, it is relatively easy enough for me to read in the...
4
by: Hrvoje Vrbanc | last post by:
Hello all, I'd like to use an ASP.NET web application to download (or stream down) "third-party" TXT, HTML and XML files from the Internet and then save them to local HDD. I encountered some...
4
by: PiotrKolodziej | last post by:
hi I have a thread that downloades a file. Problem is : Not all files are beeing downloaded. I observed that only the small files are beeing downloaded correctly. I also cant download two files...
6
by: ivan.perak | last post by:
Hello, im a beginner in VB.NET... The thing i would like to do is as it follows.... I have a text file (list of names, every name to the next line) which is about 350000 lines long. I would...
5
by: djhexx | last post by:
Hello. I have an ASP.NET application (C#) that I allow users to upload files. Files get stored in a SQL2005 database. The file data is stored in a varbinary(max) column. When the user uploads...
3
by: =?Utf-8?B?U1MgbWFkaHU=?= | last post by:
Hi, I have two word files. listprice.doc,product.doc I converted each of the documents into bytes byte bytedata - lisprice.doc byte bytedata1-product.doc I create a new array and copy both...
1
by: =?Utf-8?B?UmFkZW5rb19aZWM=?= | last post by:
I am using standard File.Copy(source,dest,true) method in C# and I have problem with copying large number of files. Here is my code: foreach (FileInfo file in files) {...
3
by: s3raph | last post by:
Hi all, I have just inherited some code that sends a file from server to client. However, the code only works for text files, and I'm trying to modify it so that it can send and receive zipped...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.