User Tag List

Results 1 to 9 of 9

Thread: Looping Music

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looping Music

    I'm an MMF2 Dev user. I could loop music in my games with the OGG format. I have a feeling Flash export won't allow this, and with MP3 files a "gap" is created at the end of the audio making a seamless loop impossible. I haven't tried the Flash runtime though so I'm just enquiring.

    Also, I believe within Flash itself it's possible via ActionScript to stream audio from a URL to save on the SWF's file size. Is it possible to do this via MMF2? Thanks.

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    Since when does MP3 add a gap? If you mean Windows Media Player, that's just Microsoft being lazy.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    Quote Originally Posted by LB
    Since when does MP3 add a gap? If you mean Windows Media Player, that's just Microsoft being lazy.
    Google Search Result...

    Loads of threads etc. about this issue. It seems there is code to fix it in ActionScript, but would it be so easy to do so with MMF2 I wonder?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    In one game I had a short "motor running" sample for a driving car. The sample looped fine in MMF, but had a short delay in Flash. I made a long-playing version of this sample, which runs for several seconds before the loop restarts. It was neccessary, because the gap was annoying.

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    Hmm, I thought that would be the case. You see, I'm going to make an online quiz for my website and use MMF and Flash export. However, it's going to make a lot of use of small looping audio tracks. So if that's the case and there's no way to fix the gap in MMF's Flash export, I guess I'll have to use Flash itself even if it isn't my favourite software. The seamless music is pretty essential here.

  6. #6
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    Well, I don't want to buy Flash without knowing the loops will work properly. I've created an example file and I want to see if one of you guys, who has purchased the Flash support, can get this working.

    The archive contains the MMF project and the necessary loops. I added the same loops in MP3 format as well since you might need that for Flash. I'm not sure. Right now the project loops the OGGs.

    Get the archive here: http://www.outlawstar.co.uk/files/OLSQuiz.zip

    There are two sound files, "get_higher_in", which plays once, and then switches to "get_higher_loop" which is the actual loop. One problem I have that is non-Flash related is that when I set MMF to switch from the intro to the loop there is a noticeable gap. The loop on the other hand loops seamlessly.

    If you can fix the gap when it switches to the loop track and get it working in Flash, you'll have convinced me that the Flash exporter is worth buying! Seamless looping is essential for my future projects in Flash.

  7. #7
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Looping Music

    Here is your test file compiled as a SWF so you can see if it will be good enough for you.

    www.flyinvinteractive.com/Flash_Quiz.zip


  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    Thanks, I really appreciate you doing that. Unfortunately though the gaps are still pretty significant. I was thinking it might be possible if I have the music play on separate channels. For instance, if I create an expression to calculate the time the second track should play, just before the first.

    I don't know if multi-channel audio is perfect in Flash, but I'll try to see if I can get this working with MMF.

    Cheers Jeff.

  9. #9
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Looping Music

    Sorry to bump but I created an update ages ago and forgot to post it.

    http://www.outlawstar.co.uk/files/OLSQuizNew.zip

    It's not complete yet (outro not working) and can be slightly buggy, but it works. It uses separate channels to create the loop efficiently. I still worry that it won't be possible to create the working loop in Flash without gaps, though. If you can prove me wrong then please try, but I don't want to pay for the Flash extension yet until I get this working.

    For the time being, the outro doesn't matter so you don't need to try to fix that. I'll probably have the main loop fade out when the track ends instead. I've included a couple of other tracks you can try out with it simply by editing the sample events.

    Thanks again, would appreciate any help.

Similar Threads

  1. [PAID] Seamless Looping OGG/Music Player Extension (to play music with loop points)
    By DinnerSonic in forum Paid Design & Development Requests
    Replies: 0
    Last Post: 6th October 2013, 07:27 PM
  2. looping sample music over three frames
    By 1234cb in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th July 2011, 06:35 PM
  3. Music Looping Problem
    By Bugsey in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th March 2009, 10:59 AM
  4. Looping music from the middle point?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th December 2008, 06:48 AM
  5. Looping Digital Music
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th October 2007, 10:09 AM

Posting Permissions

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