Our partner application can be found over here: MIDIPlusPlus, featuring a ton of improvements and optimization.
Need help or want to connect with others using the program? Join our Discord server.
Easily convert MIDI files into virtual piano sheet music for manual play or automated playback on platforms like Virtual Piano and Roblox pianos.
- MIDI to Virtual Piano Sheet Conversion: Quickly convert MIDI files into sheet music compatible with virtual pianos.
- Automated and Manual Playback: Choose between automated playback or manual control for playing the music.
- Human-Like Playback with Legit Mode: Simulate a human playing style with natural timing variations.
- Playback Speed Control: Adjust the playback speed to match your preference.
- Auto Tempo Adjustment: Automatically adjusts the tempo to suit the song.
- Simple Setup: Easy to install and run with minimal configuration.
This program uses the Python pynput library to simulate key presses. Some antivirus software may flag this as suspicious behavior. The executable files are created using pyinstaller --onefile, which bundles the Python program and its dependencies into a single, portable executable. You are encouraged to review the scripts and generate the executable yourself for added security.
Ensure you have Python installed and added to your system PATH.
-
Download or Clone: Visit the releases page and download the latest release for your operating system, or clone the repository:
git clone https://github.com/Stereo101/python-MidiToVirtualPianoMacro
-
Extract Files: Extract the contents of
pyMIDIandplaySong. Add your MIDI files to themididirectory. -
Install Dependencies: Open your terminal (Command Prompt for Windows, Terminal for macOS and Linux) and install the required Python library:
pip install pynput
-
Run the Program:
- Execute
pyMIDIin your terminal. The program will list available songs from themididirectory. - Select a song to generate several files:
song.txt: The program reads this file to play the song.midiRecord.txt: A debug log detailing the conversion process.SheetConversion.txt: A human-readable version ofsong.txtdisplaying the notes in a more understandable format.
- The program will wait for you to press the
Deletekey. Switch to your target application (e.g., Virtual Piano) and pressDeleteto start the automated playback.
- Execute
These videos link to potentially unsafe third-party downloads. Proceed with caution: