Giter Site home page Giter Site logo

Comments (4)

Mimigris avatar Mimigris commented on June 1, 2024

I've mentioned this issue in #2319 but it may be better to list it separately, thank you 👍

It's an issue specifically tied to the use of the Native MIDI output on Windows, and only affects MIDI files.
What I wrote there, in short:
"Partially related so I'm adding it here, but exiting a game with a midi on the title screen and then reopening it from the game browser may have different results (lack of some instruments, incorrect volume of some instruments, lack of music...). This is not major since it will not continue past the title screen and that just putting the window of the game in the background and reopening it will work as a fix for a player. (Opening the settings menu on the title screen in said condition can also cause the issue to happen)."
Why I didn't noticed back then was that this issue also affects tracks that are played outside of the title screen.

from player.

jthyer avatar jthyer commented on June 1, 2024

I'm running into this exact issue with an RPGMaker 2003 game I'm developing myself and testing in EasyRPG Player. I just tested it on the newest nightly build and confirmed it didn't work there as well. When the player moves between two maps, an event changes the midi music. Sometimes, seemingly randomly, the music won't play, or it will be garbled and only play some of the instruments. I've confirmed that when the music is muted, clicking out of the window and clicking back into it plays the music again. I didn't test that until reading this issue page.

In the easyrpg_log.txt, I see these debug messages:

[2024-02-07 13:56:56] Debug: Starting new game
[2024-02-07 13:56:56] Debug: Loaded Map Map0078.lmu
[2024-02-07 13:56:56] Debug: Tree: 4_3 < 4_1
[2024-02-07 13:56:57] Debug: Fluidsynth: Could not load soundfont.
[2024-02-07 13:56:57] Debug: WildMidi: Could not find configuration file.
[2024-02-07 13:57:00] Debug: Loaded Map Map0071.lmu
[2024-02-07 13:57:00] Debug: Tree: 5_3 < 5_1
[2024-02-07 13:57:03] Debug: Loaded Map Map0064.lmu
[2024-02-07 13:57:03] Debug: Tree: 5_2 < 5_1
...

It seems like there's some kind of issue with Fluidsynth or WildMidi. I don't know why it would break sometimes but not all the time, or why it would unmute just by focusing and unfocusing the window. I've attached a fresh log that just contains me opening the game, moving between maps, and closing the game. Please let me know if there's any other information I can offer to help.

easyrpg_log.txt

from player.

Mimigris avatar Mimigris commented on June 1, 2024

For the content of your easyrpg_log.txt file, note that Fluidsynth and WildMidi are only optional methods of playing MIDI files (where the user need to manually add files to make them work, hence why it is listed there on your side) and are not related to this issue.

from player.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.