Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

Multiple sound files appended into one large file

This a basic VB problem, I am trying to take multiple sound files and make it into one large sound file, Does anyone know it can be done?
The above can be achieved by Window's Sound recorder (by the inserting many files into one), but since I have a very large number of soundfiles and this activity will be performed frequently, I needed VB code solution to automate this process.
0
Navin58
Asked:
Navin58
  • 3
  • 2
  • 2
  • +2
1 Solution
 
Richie_SimonettiIT OperationsCommented:
What you are trying to do specifically?
Every file has headers that describes what it does.
0
 
Navin58Author Commented:
Richie Simonetti:
In reponse to your comments below, please see further cooments by me
What you are trying to do specifically?
Every file has headers that describes what it does.

Navin58 Comments: I have recorded some sound bites which in total exceeds 99 files, these sound bite files each are approx not more than 25 seconds, and I wanted to concatenate these sound files so I can play them on my portable CD player. The issue are
1) My CD writing software does not write more than 99 tracks, hence the need to concatenate these sound files into several large file, (since I have 659 files I want to make them into 18 large files as I have calculate this will all fit into one CD.
0
 
Richie_SimonettiIT OperationsCommented:
oops!, there is a comment from other expert that disappeared!
Well, i don't know how to do by code, but you could concatenate the files with a simple wav editor (even windows recorder, if i am not too old ;)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
rspahitzCommented:
I'm just listening, but will offer what I've learned about wav files since I'm looking into doing something similar (but haven't had time):

Wave files have headers that define the protocol: MHz (11 or 22), channels (mono or stereo), etc.  After that comes a definition of the data.

When you merge the files, ensure that the headers are compatible, then modify the data pointers so that it recognizes the new length of the datablock, then append the new data.

Again, this is just based on my readings and I haven't tried it yet; you'll also need to know the exact header format, which I don't have available but may be somewhere on the Microsoft site or certainly somewhere on the Internet.
0
 
Richie_SimonettiIT OperationsCommented:
Well, it is necessary to be 99 files?
Could you append each after other with any wav editor?
Must be done with code?
0
 
Navin58Author Commented:
The reason I am looking to for a Visual Basic code solution is because:
1) I need to automate this process, as I have many situations, where I will need to perform this exercise many times in the future. As I can grow this code to include selection and editing of sound files.
2) Also I just want to know if was possible to it in VB and what the code looked like.
 
0
 
rspahitzCommented:
I don't see that it will be very difficult in VB since all you'd need to do is split a few strings and re-assemble them.

The hard part is getting exact specs on the file formats, which you won't find in the VB manuals.
When you have the format, let us know what it is and we can help you write the code if you need it.
0
 
DanRollinsCommented:
Hi Navin58,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

Navin58, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now