seamless sound loop

Discussion in 'Java' started by Philipp Fischer, Oct 4, 2003.

  1. Hi,

    I want to play several Sound-Loops synchronously in a loop.
    I have player objects (Java Media Framework) for each loop and the
    following is invoked when the Player receives an endOfMedia event:

    players[0].setMediaTime(new Time(0));

    But it causes a little pause between the end and new beginning.
    How I can create a seamless loop?

    Any ideas? Thanks
    Philipp Fischer, Oct 4, 2003
    1. Advertisements

  2. It should be pretty short. I would check your sound files to make sure
    that there isn't some silence on the beginning or end (or both) of the
    files that's causing your problem.
    Knute Johnson, Oct 6, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.