combine multiple sound clips
Does anyone know how to combine several audio clips with its specified starting time, say in mp3 format, into a single audio clip?
Thanks in advance
Do you mean merge then into a single file or simply play several audio files back-to-back?
re: merge audio clips
Thanks for your reply.
I need to merge them together acoording to each specified time as I need to synchronise with a video later by using Player.addController(). With multiple player of clips, it is quick infeasible to sync with the video player; that's why I want to combine all clips into one file.
Sorry, still not quite sure:
(a) merge then into a single file
(b) simply play several audio files (or sections of audio files) back-to-back?
re: merge into same file
I mean (a): merging clips into same file, but each clip start to play back at different times. For example,
clip A (start at 0 sec)
0 1 2 3
clip B (start at 2 sec)
2 3 4
clip C (start at 3 sec)
3 4 5
After combined, the clips will be saved as a single file, but can be played simultaneously according to each starting time:
re: wrong scale
HTML changed my indenting of last posting, hope u understand the diagram by reading the numbers.
I think you're just going to have to find a 3rd party library that supports MP3 editing - I don't think their are any libraries that come with the usual Java installation.
re: java media library
Sorry I should have clarified that Java Media Framework (jmf) is being used for this project. Do you know any java forum got people have experience in jmf?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL