Results 1 to 3 of 3
- 12-15-2010, 11:11 AM #1
Member
- Join Date
- Sep 2008
- Posts
- 40
- Rep Power
- 0
Concatenating 2 or more WAV files.
Hi. I'm writing a program and I'd like to know what type of buffer would allow me to write to it, and grows dynamically.
I'm look to solve the problem where I have 2 or more WAV files, and when I store them into my buffer I can write them to file. Currently I'm using threads, so using a simple write() won't help (I think it stops the current thread from doing anything).
Really need some help with this :-(
- 12-15-2010, 07:19 PM #2
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
The question is a bit vague, as I'm not sure whether you are trying to use a single buffer to concatinate files, or if you just want a container to hold multiple WAVs.
As far as containers go, you've got lot's of choices, but a jav.util.Vector is probably the best suited.
If you're trying to write a bunch of things to a single output file, a java.nio.ByteBuffer will grow as necessary, and can be used later on to persist to a file.
- 12-15-2010, 10:02 PM #3
Member
- Join Date
- Sep 2008
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
Convert avi, mpeg, wmv media files to .flv files in java code
By vinay1497 in forum New To JavaReplies: 8Last Post: 07-30-2010, 05:47 PM -
import from dsv files and export to csv files
By 10x2 in forum New To JavaReplies: 12Last Post: 04-30-2010, 11:56 AM -
working with files (text files)
By itaipee in forum New To JavaReplies: 1Last Post: 02-24-2009, 11:38 AM -
Behaving text files like binary files
By Farzaneh in forum New To JavaReplies: 2Last Post: 08-27-2008, 03:20 PM -
how to convert mpeg files to .wav files
By christina in forum New To JavaReplies: 1Last Post: 08-06-2007, 04:14 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks