AutoMidiPlayer icon indicating copy to clipboard operation
AutoMidiPlayer copied to clipboard

Heartopia piano playing wrong keys

Open Haru-Tan opened this issue 8 months ago • 5 comments

What happened?

I tried this out to compare to DodoMusic, but so far DodoMusic is a clear winner. For the same midi, this software played a lot of wrong keys and ruined the song, while Dodo played it beautifully. I'm not sure what would be the difference, but if the Heartopia autoplay could be fixed it would sound great. I tried swapping my keyboard to qwerty and change the octave but it didn't fix anything. That's cool tho because if this software works I wouldn't have to swap to qwerty anymore when playing 'cause it seems it doesn't affect the playback unlike Dodo.

Operating System

Windows 11

Steps to reproduce

No response

Upload Logs

No response

Haru-Tan avatar Mar 08 '26 13:03 Haru-Tan

Hi, can I ask which piano mode are you using? 37-key / 22-key /15-key?

I think this is a duplicate of #9

I don’t have a background in music theory, so assistance in verifying or correcting the note mappings would be greatly appreciated. If you’re familiar with the correct configurations, please feel free to open an issue, add a comment or submit a pull request. 💖

Jed556 avatar Mar 09 '26 00:03 Jed556

37 key

Haru-Tan avatar Mar 09 '26 08:03 Haru-Tan

Hi, I tested the latest build using my MIDI files and it sounds correct on my end, at least based on what I can hear.

Could you confirm if we are using the same settings for Heartopia and Auto MIDI Player?

Image

In the meantime, you can try setting Transpose to Up. It may help catch notes that do not match the available range of the Heartopia piano. You can also adjust the tracks in the Tracks view. Tracks like drums may interfere with playback since they repeatedly trigger notes and can cover the main melody.

If possible, please attach the MIDI file so I can test it on my side. GitHub does not support uploading .mid files in issues. You can rename the file extension to .txt first, then drag and drop it into the text box to attach it. I can rename it back to .mid on my side to test it.

In case this is related to the note mapping, these are the piano notes currently used for the Heartopia 37-key layout:

name: "Piano (37 Key)",
notes: [
    72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, // C5 C#5 D5 D#5 E5 F5 F#5 G5 G#5 A5 A#5 B5 C6
    60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,     // C4 C#4 D4 D#4 E4 F4 F#4 G4 G#4 A4 A#4 B4
    48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,     // C3 C#3 D3 D#3 E3 F3 F#3 G3 G#3 A3 A#3 B3
],
keyboardLayouts: [
    HeartopiaKeyboardLayouts.QWERTY_37Key
]

Keyboard Layout:

name: "QWERTY",
keys: [
    'q', '2', 'w', '3', 'e', 'r', '5', 't', '6', 'y', '7', 'u', 'i',
    'z', 's', 'x', 'd', 'c', 'v', 'g', 'b', 'h', 'n', 'j', 'm',
    ',', 'l', '.', ';', '/', 'o', '0', 'p','-', '[', '=', ']',
]);

Thanks! 💖

Jed556 avatar Mar 09 '26 14:03 Jed556

Hmm, I don't remember which midi it was, I didn't get the same issue when trying today. I'll try more midi and I'll post one if it happens again

Haru-Tan avatar Mar 15 '26 18:03 Haru-Tan

The features fixing this issue are now available in the latest release: v6.17.6

Thanks! 💖

Jed556 avatar Mar 27 '26 21:03 Jed556