A WinForms C# application that plays MIDI files by simulating keyboard input, making it ideal for rhythm-based gameplay or musical game automation. Fully customizable and built with gamers and developers in mind.
- 🔍 MIDI File Loader: Load and list multiple
.midfiles. - 🎯 Game Window Targeting: Select a running Windows process; when playback starts, the game window is brought to focus automatically.
- 🎼 Track Selection: Choose to play a specific track or all tracks from a MIDI file.
- 🎹 Custom Key Mapping: Map each semitone (note) to a specific keyboard key.
- ⬆️⬇️ Octave Shift Support: Define keys to shift octaves up or down during playback.
- 🕒 Tempo-Aware Playback: Accurate timing with support for tempo changes.
- 🧠 Async Note Execution: Supports polyphony (melodies and harmonies).
- ⏸️ Playback Control: Start, stop, and replay playback from the UI.
- 🛠️ Open Source: Made for the community, by the community.
- .NET 8 SDK or newer
- Windows OS (WinForms app)
git clone https://github.com/ricksonsa/midi2gameIf you find this project useful or would like to help me improve it further, your support on Patreon makes a big difference. Even small contributions helps a lot.
Thanks again for your support and feedback