Skip to content

Incorrect or silent instruments in some songs when restarting MIDI playback #1532

@mrbumpy409

Description

@mrbumpy409

FluidSynth version

FluidSynth PR #1516

Describe the bug

The AWE32 MIDI song The Bloodwar by Jess D. Skov-Nielsen is accompanied by a SoundFont to be loaded into bank 1. All instruments in the MIDI file should play bank 1 presets (GM on bank 0 is not used at all). When playing "The Bloodwar.mid" using FluidSynth's built-in MIDI player with "The Bloodwar.sf2" loaded into bank 1, some of the instruments incorrectly play using bank 0 instruments.

Expected behavior

All channels except for 10 (unused) should be playing presets on bank 1.

Steps to reproduce

  1. Download and extract The Bloodwar.zip, which contains my 2.01/2.04 spec conversion of the original AWE32 SoundFont.
  2. Load The Bloodwar.mid in FluidSynth:
    fluidsynth "The Bloodwar.mid"
    
  3. In FluidSynth's console, stop playback, load The Bloodwar.sf2 into bank 1 and restart playback:
    player_stop
    load "The Bloodwar.sf2" 1 1
    player_start
    player_cont
    

About 16 seconds in, you should hear a choir chanting sound accompanied by staccato strings, and at around 34 seconds, a deep, growly voice says "Bloodwar!" several times. However in FluidSynth's MIDI player, neither the choir, strings, nor voice happens. Instead, the MIDI tracks responsible for those samples play on bank 0.

Additional context

The song and all of its samples do play correctly under the following circumstances:

  1. FluidSynth's internal MIDI player with Bloodwar.sf2 loaded to bank 0.
  2. The MIDI played by a separate MIDI player routed to FluidSynth with Bloodwar.sf2 loaded to bank 1 (tested using Sekaiju and Qsynth).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions