MIDI-2-VIDEO is a Python application that visualizes MIDI input on a classic green neon seven-segment display. It is designed to be lightweight and unobtrusive, perfect for monitoring MIDI signals from keyboards or drum pads.
- Real-time Note Display: Shows the MIDI note number of keys or pads as they are hit.
- Velocity Display: Displays the velocity (0-127) of each note in red below the note number.
- Piano Visualizer: A full 88-key virtual piano (Note 0-127) at the bottom that lights up when notes are played.
- Polyphony Support: Capable of displaying multiple notes simultaneously.
- Retro UI: Classic green neon seven-segment display on a black background.
- MIDI Recording: Record your session to a standard MIDI file (
.mid) at 120 BPM. - Smart Filtering: Automatically filters out realtime messages (clock, active sensing) to keep recordings clean.
- Device Detection: Automatically detects connected MIDI devices.
- Python 3.x
tkinter(usually included with Python)midopython-rtmidi
-
Clone the repository or download the source code.
-
Install the required dependencies:
pip install -r requirements.txt
-
Connect your MIDI device (keyboard, drum pad, etc.) to your computer via USB.
-
Run the application:
python MIDI-2-VIDEO.py
-
The application will automatically detect the first available MIDI input device. If no device is found, it will display "No MIDI Device Detected".
- Playing: Simply play your instrument. The note numbers will appear on the screen.
- Recording:
- Click the Record button to start recording. The button will turn red and say "Record: ON".
- Play your notes.
- Click the Record button again to stop.
- A file dialog will appear asking where to save the
.midfile. - Enter a name and save.
- No Device Detected: Ensure your MIDI device is connected before starting the application. If you connect it after, restart the application.
- Linux Users: You might need to install
python3-tkandlibasound2-devdepending on your distribution.