Visualize piano midi files..
Project description
Piano Visualizer
Version 0.0.2
This version exports a piano video with the keys lighting up as the music plays.
How to use:
- Install the package:
pip install piano-vis
pip install --upgrade piano-vis
, use this command if you have a previous version installed.
- Import and define a video:
import pianovis
video = pianovis.Video(resolution, fps, offset)
- Add midi files
video.add_midi(path1)
video.add_midi(path2)
- ...
- Optional: Add an audio file (will use the latest set audio)
video.set_audio(path)
- Export video
video.export("path.mp4")
- The exporting process will take a while.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
piano-vis-0.0.4.tar.gz
(4.4 kB
view hashes)
Built Distribution
piano_vis-0.0.4-py3-none-any.whl
(16.8 kB
view hashes)
Close
Hashes for piano_vis-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12b58c26f37cc20255b65f45626ecc2dcc9b5aaf1f0bfce4812424e58ad9c6b |
|
MD5 | 6f6481ad33bf64dbc629772ead3bdb12 |
|
BLAKE2b-256 | 55eb19ce462340ffeafca5107accc9c259c06e486e8451739d4d9f3b08fc9a65 |