A MIDI to key player for in-game instruments made using C# and WPF with Windows Mica design. This project is originally forked from sabihoshi/GenshinLyreMidiPlayer and was later detached into its own repository to enable multi-game support and introduce features that don’t fit the original Genshin Impact–only use design.
Slideshow.mp4
- Genshin Impact - Windsong Lyre, Floral Zither, Vintage Lyre
- Heartopia - Piano (All variations), 15-key instruments (e.g. lyre, wooden bass, violin, etc.)
- Roblox - Piano (61-key)
- Sky: Children of the Light - All available Sky instruments as of Feb 2026
See the Support wiki page for details on supported games, instruments, and keyboard layouts.
- Download the app and then run, no need for installation.
- Open a .mid file by pressing the + button at the top left.
- Enable the tracks that you want to be played back.
- Press play and it will automatically switch to the target game window.
- Automatically stops playing if you switch to a different window.
Note
If you get a SmartScreen popup, click on "More info" and then "Run anyway" The reason this appears is because the application is not signed. Signing costs money which can get very expensive.
- Multi-game support - Play on Genshin Impact, Sky, Roblox and Heartopia
- Spotify-style UI - Modern player interface with fixed bottom controls
- Per-song Settings - Key offset, transpose, speed, and BPM settings are saved for each song
- Test MIDI files through speakers before playing in-game
- Change keyboard layouts (QWERTY, QWERTZ, AZERTY, DVORAK, etc.)
- Hold and merge nearby notes. Some songs sound better when merged (#4)
- Play using your own MIDI Input Device
Instruments.mp4
- Play multiple tracks of a MIDI file simultaneously
- Turn on/off tracks in realtime
Tracks.mp4
The Piano Sheet allows you to easily share songs to other people, or for yourself to try. You can change the delimiter as well as the split size, and spacing. This will use the current keyboard layout that you have chosen.
No preview yet
A queue allows you to play songs without having to open or delete a song or file.
Queue.mp4
You can set the player to light mode/dark mode and change its accent color.
Theming.mp4
MIDI files (.mid) are a set of instructions that play various instruments on what are called tracks. You can enable specific tracks that you want it to play. It converts the notes on the track into keyboard inputs for the game. Currently it is tuned to C major.
The short answer is that it's uncertain. Use it at your own risk. Do not play songs that will spam the keyboard, listen to the MIDI file first and make sure to play only one instrument so that the tool doesn't spam keyboard inputs.
- For Genshin Impact, here is miHoYo's response to using 3rd party tools.
- For Heartopia, here is their Official Discord message about using 3rd party tools.
- For Sky, see their policy on third-party apps.
- For Roblox, refer to their third-party services Terms of Use.
For setup details, feature walkthroughs, safety notes, and troubleshooting, use the wiki links below.
- Wiki Home
- Disclaimer
- Getting Started
- How To Use
- How it Works
- Support (Supported Games, Instruments, and Keyboards)
- FAQ General
If you just want to run the app, download the latest release.
git clone https://github.com/Jed556/AutoMidiPlayer.git
cd AutoMidiPlayer
dotnet build
dotnet run --project AutoMidiPlayer.WPFFor publish options and advanced setup, see Getting Started.
Please read CONTRIBUTING.md.
For adding notes, instruments, games, or keyboard mappings, see Getting Started
This project is inspired by and built on top of sabihoshi/GenshinLyreMidiPlayer v4.0.5. Huge thanks for the original work!
- ianespana/ShawzinBot - Original inspiration for the concept
- yoroshikun/flutter_genshin_lyre_player - Ideas for history and fluent design
- Lantua - Music theory guidance (octaves, transposition, keys, scales)
- This project is under the MIT license.
- Originally created by sabihoshi. Modified by Jed556 for multi-game support and modernization.
- All rights reserved by © miHoYo Co., Ltd., © XD Inc., © thatgamecompany, Inc., and © Roblox Corporation. This project is not affiliated nor endorsed by miHoYo, XD, thatgamecompany, or Roblox. Genshin Impact™, Heartopia™, Sky: Children of the Light™, Roblox™, and other properties belong to their respective owners.
- This project uses third-party libraries or other resources that may be distributed under different licenses.
Demo videos and screenshots are for illustrative purposes only and may not reflect the latest version of the application. Actual features, UI, and supported games/instruments may vary. Please refer to the latest release and Wiki for up-to-date information.
Note
I don't have knowledge about music theory, if you find any issues with note mappings or transpositions, please open an issue or PR. Thank you! 💖
