User Tag List

Results 1 to 7 of 7

Thread: Gap between samples

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Gap between samples

    I have 2 sample files that make up a song(intro and loop). The intro is supposed to play once and then the loop should play and repeat. I have the code working, but the moment the intro ends and the loop should begin, there is a noticeable pause/hiccup.

    I know the samples are seamless when played back to back in Winamp, but when I play them in Media Player, there is a pause. I assume this is due to Winamp loading all the samples into memory and Media Player loading them as they begin. This tipped me off to the fact that MMF2 might be doing the same thing.

    Does anyone know if this just a limitation of MMF2 or if there is a workaround to get seamless playback?

    Mobichan

  2. #2
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Gap between samples

    There are no limitations when you control everything.

    So have you tried telling MMF to play the loop --> "loop" if the "intro" is NOT playing? That might make it play immediately, and if you DO want a pause you could add a timer to adjust the moment the sample starts playing.

    Did that help?


  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Gap between samples

    I am using the "If Not Playing" condition. I really need to know if this is a limit of MMF2. Maybe it is a question for the MMF2 programmers?

  4. #4
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Gap between samples

    hmm, easiest way would be to have the loop 'start/load' before the intro ends, pause it then begin it when the intro stops.

    and your quite correct winamp/itunes does buff it in to memory.

    Another way could be to use an extension to handle this, such as MCI or Direct Show, as there LOAD and PLAY can be Controlled Arbitrarily.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Gap between samples

    SEELE: Can you recommend a way to load a sample in advance? Or are you suggesting that I play both samples at the same time but pause the loop sample until the "has loop finished" condition occurs?

  6. #6
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Gap between samples


    MOBICHAN: Why not just have the sample playing but set the volume of the one you don't want to hear to 0 until you want to hear it.

  7. #7
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Gap between samples

    because it wont be where you want it.

    i was suggesting some point perhaps even during the play of the intro start the loop but pause it strait away, then when your ready... unpause.

Similar Threads

  1. Samples: Frequency?
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 9th April 2012, 07:38 AM
  2. Playing Samples?
    By Arnax in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 18th February 2012, 07:12 AM
  3. Sometimes samples do not play
    By Keith in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th November 2011, 02:37 PM
  4. Samples
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 17th May 2008, 10:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •