Looping OGG file lags in-game

Discussion in 'RPG Maker MV' started by DarkEspeon, Jul 25, 2017.

  1. DarkEspeon

    DarkEspeon Veteran Veteran

    Messages:
    86
    Likes Received:
    14
    First Language:
    Russian
    Primarily Uses:
    RMMV
    I'd like to know how to fix the problem! I've created an OGG vorbis file that loops perfectly, and when I play it with external players like jetAudio it loops seamlessly! But when I import it to RMMV all of a sudden at the very end it lags for a second and the restarts, making a horrible "loop" with obvious seam! What should I do? How can this be fixed?
     
    #1
  2. Broken_squirrel

    Broken_squirrel Veteran Veteran

    Messages:
    36
    Likes Received:
    1
    First Language:
    English
    Try Sum Random Dude's preloader core.

    http://sumrndm.site/preloader-core/

    From my understanding, it preloads assets you deem vital into the computers ram. They should be accessed much quicker. Be sure to give music high priority in the plugin parameters.
     
    #2
  3. DarkEspeon

    DarkEspeon Veteran Veteran

    Messages:
    86
    Likes Received:
    14
    First Language:
    Russian
    Primarily Uses:
    RMMV
    Didn't help, sadly. Not to mention that it requires GameUpgrade plugin that messes up YanFly's Core Engine...
    I don't know, honestly.
    Here's the track. Download it maybe and check for yourself? Maybe I'm doing something wrong...
    https://puu.sh/wSJZ3/c2831d6912.ogg
    [​IMG]
     
    #3
  4. Broken_squirrel

    Broken_squirrel Veteran Veteran

    Messages:
    36
    Likes Received:
    1
    First Language:
    English
    Yes, I will take a look when I'm up tomorrow. My current project has both window upgrade and Yanfly Core engine, and about a million other plugins. I had to place window upgrade above Yanfly core to get it to work. The positioning of the plugins is important. If that still doesn't work I know Hime made something for looping.

    http://mvplugins.com/plugin/HimeWorks/HimeWorks - Easy Audio Looping

    And here is another plugin that is just for audio lag. I had some weird problems with it though.

    https://forums.rpgmakerweb.com/index.php?threads/audio-lag-fix.73031/

    Good luck and night night.
     
    #4
  5. DarkEspeon

    DarkEspeon Veteran Veteran

    Messages:
    86
    Likes Received:
    14
    First Language:
    Russian
    Primarily Uses:
    RMMV
    #5
  6. Broken_squirrel

    Broken_squirrel Veteran Veteran

    Messages:
    36
    Likes Received:
    1
    First Language:
    English
    I looked at the music. I don't see any problems. I'm betting its RPG Maker that is causing the lag and not an issue with the file. Anything past what I've already mentioned is beyond me. I'm sure I will run into this problem too when I start looping audio for my game. Audio plugins are much less common than others. It's something that could be delved into much deeper than it currently is I think.

    Anybody know any other possible solutions?
     
    #6
  7. DarkEspeon

    DarkEspeon Veteran Veteran

    Messages:
    86
    Likes Received:
    14
    First Language:
    Russian
    Primarily Uses:
    RMMV
    Well, I suppose there aren't any other fixes to this. Oh well.
     
    #7
  8. DarkEspeon

    DarkEspeon Veteran Veteran

    Messages:
    86
    Likes Received:
    14
    First Language:
    Russian
    Primarily Uses:
    RMMV
    I'd like to point out that the plugin above I said is very helpful is *actually* really helpful, so you can use it for the lag fix. It's not immediate, you might still notice some lag on the first or second loop, but after that it's absolutely gone. The downside is that Music Effects stop working for whatever reason. Who knows how to fix it?
     
    Last edited: Aug 3, 2017
    #8

Share This Page