Skip to content

Java 6, MIDI program changes fail in certain occasions #161

@TwoSpacesSG

Description

@TwoSpacesSG

Java 6 is excellent for games that have "midi property carryovers" on Java 7 and above (Windows) like BreakQuest Mobile that is the poster child for this audio issue, as the audio engine used in 6 is different and does not have this bug. However certain games demonstrate an issue currently standing in which freej2me-plus somehow doesn't cooperate well with its audio engine in rare occasions, resulting in the correct instruments not being swapped in.

Launch Sonic 1 Part 2 (240x320 not Motorola version works for this). Start a new game. When the main loop of the Labyrinth theme starts, it will start with incorrect instruments. Pause the game and unpause it. Then the theme will start with correct instruments. Strangely Sonic 1 Part 1 doesn't seem to have this issue, and neither do other songs in S1P2.

EDIT: Besides labyrinth_loop.mid in Sonic 1 Part 2 (which plays in the FreeJ2ME Media Player correctly at all times), there is also au/sce5.mid (flight theme) in Shinobi 2 (which only starts playing correctly starting with the second playback in both the game and the player, with the in-game first loop having instruments from the previously played midis). However the latter is likely to be Java 6's fault i'd imagine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions