Skip to content

MIDI with soundfont - interrupting a MIDI with BGM (OFF) and playing another MIDI will play a note of the previous MIDI before playing the new one #3135

@Mimigris

Description

@Mimigris

Player platform:

Windows, 64 bits continuous build of the Player.

Describe the issue in detail and how to reproduce it:

While using a custom soundfont (the default setting on Windows does not work for this issue), interrupt a MIDI track with the command Play BGM: (OFF), and then play another MIDI track (can be the same one). When the new MIDI track will play, some notes of the previous MIDI track will be heard while they should not.

You can test this with testgame: interact with the NPC on the left or right to play a MIDI, then the one at the center to stop it, and then the one on the left or right again to encounter the issue (make sure to have a custom soundfont to encounter the issue).
MIDIissue.zip

Reported by ajie on X, with the following footage as an example:
https://twitter.com/aj_108fn/status/1716463030903652845

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions