combine multiple sound clips


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 8 of 8

Thread: combine multiple sound clips

  1. #1
    Join Date
    Sep 2004
    Posts
    7

    combine multiple sound clips

    Hi,

    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

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    Do you mean merge then into a single file or simply play several audio files back-to-back?
    ArchAngel.
    O:-)

  3. #3
    Join Date
    Sep 2004
    Posts
    7

    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.

  4. #4
    Join Date
    Mar 2003
    Posts
    834
    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?
    ArchAngel.
    O:-)

  5. #5
    Join Date
    Sep 2004
    Posts
    7

    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:

    combined clip
    A
    |-------------------------->
    B|---------------------->
    C|---------------------->

  6. #6
    Join Date
    Sep 2004
    Posts
    7

    re: wrong scale

    HTML changed my indenting of last posting, hope u understand the diagram by reading the numbers.

  7. #7
    Join Date
    Mar 2003
    Posts
    834
    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.
    ArchAngel.
    O:-)

  8. #8
    Join Date
    Sep 2004
    Posts
    7

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center