User Tag List

Results 1 to 9 of 9

Thread: Midi freezes in all 3 products: TGF, MMF and MMF2

  1. #1
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Midi freezes in all 3 products: TGF, MMF and MMF2

    I'm wondering if anyone has an answer as to why is there a Midi Freeze? a midi freeze is what happens when a midi song is about to begin "in game"? the gameplay freeze happens for just a couple of seconds but it's "of course" an unwelcome and distracting experience. This doesn't happen with digital audio though. Is this something that can't really be fixed? I wished to have only midi music in my game to make it small in data size, but this freezeness is just too obvious. What do you think? I've seen this happening in all the games I played from people who make click games that has midi music in it.

  2. #2
    No Products Registered

    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    Same thing happened to me with a tiny midi file. Converted it to a wav and it then played in the game without a pre-play pause - but of course added to the game's file size.

  3. #3
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    Exactly! I can obviously understand that technicaly a wav file is just a single file (so a single internal instruction is carried out, which is "play the wav") and that for midi, many instructions are carried out at once such as how many instruments to play, what instrument to play, how strong the notes are played and so forth. I was just wondering if this is a fixable problem. Because if it were, I would favor midi files, since they express a more retro feel to your games and for large exploration games this is marvelous, because it shortens a crazy huge amount of a game's file size. Well, I'm going to try this. Every time the game hero touches the edge of a screen level and the application loads another screen level to be played, I'm going to have MMF2 wait a couple of seconds before it loads the midi song instead of running it together with the new level. Who knows this might be the answer. I don't know. I haven't tried that yet

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    Well, you can always record the audio stream of your midi file playing, and save it as an .ogg file to keep it small.

    Also, another thing to keep in mind when using pure midi files is that depending on the user's midi sequencer on their PC, it might not sound the same if they don't have the midi instruments you used.

    You can save it as a low bitrate ogg file. This keeps the file size tiny, and it plays identical across all computer systems. Won't have the hiccup either. I noticed this myself when I used to use midi files.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    This is kind of fixable. The problem lies in that MMF cannot run the midi files as a resource internal to the memory, it has to save it as a temp file and then pass the file path to the MIDI engine which will play it.

    To resolve this, you can simply bundle the music with your game and play it using an extension. You can also pack the music into your app as a binary and then extract it into the temp area yourself via the events, at a time more convenient to you (such as during a loading sequence at the beginning of the game). Then you tell it to play the midi from a file, rather than playing an internal midi.

    That make sense?

  6. #6
    No Products Registered

    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    Makes lots of sense, thanks Dines.

    Possibly more valuable to know how MMF treats midi and therefore simpler to avoid and just convert to another format. However, really good to know.

    Perhaps ClickTeam could make available a chunky help file on file types handling?

  7. #7
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    The Freeze when MMF2 loads an .Ogg is significantly smaller than the Freeze when MMF2 loads an .Mid, plus you can replace some the instruments with better ones but I have a Roland so it would be hard (if you don't the right place) to beat Midi on my machine.

  8. #8
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    What free program to use to lower the ogg bitrate?

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Techokami's Avatar
    Join Date
    Jul 2006
    Location
    Millis, Mass-uh-chew-sits
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Midi freezes in all 3 products: TGF, MMF and MMF2

    Quote Originally Posted by Aloan
    What free program to use to lower the ogg bitrate?
    Audacity is a good program I use for working with OGGs.

Similar Threads

  1. Replies: 0
    Last Post: 17th December 2013, 05:00 AM
  2. MMF2 freezes on 'build and run'
    By DistantJ in forum HTML5 Export Module 2.5
    Replies: 4
    Last Post: 24th January 2013, 08:15 PM
  3. SubApp freezes App in MMF2
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 20th April 2012, 12:45 PM
  4. Reading midi-keyboard outputs in MMF2?
    By Yikes in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 19th October 2011, 06:00 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
  •