Comments (4)
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.
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.
from player.
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)
- String Variables - Split freezes on empty strings. HOT 5
- Show StringPicture/Picture - Possible Memory Leak HOT 5
- Spamming the Settings key will reopen the Logo scene when multiple logos are used
- When changing a translation ``AsyncHandler::ClearRequests`` results in use-after-free when a request is "in flight"
- Feature Request - Custom Runtime Path
- Custom window/application icon support HOT 1
- Allow hiding " - EasyRPG Player" from application / window title
- 3DS - Mother: Cognitive Dissonance crashes when loading any save file. HOT 1
- RTP: assets called outside of the intended situation are filename sensitive
- WildMidi - Specific MIDI does not continues after a loop under specific conditions
- RPG_RT: MIDI Play Location Tick can keep being counted on a track with the loop set to the end
- Windows: the track of the MIDI Play Location Tick on a MIDI file is off/doesn't work properly
- BGM of main title does not change when loading game with Maniacs 200128 HOT 5
- A map crash occurs in environment Wii HOT 2
- System files that use a transparent colour (Index 0) on non transparent slots may instead use a black colour while they should not
- System -The text background colour area is not displayed the same way between EasyRPG and RPG_RT
- ErasePicture + MovePicture right after will crash EasyRPG player HOT 2
- Wait for key input command allows to use other keys than enter if a key input command of said key is called just before
- Opening the settings scene while the list of languages is displayed will make it disappear
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from player.