Visualize piano midi files..
Project description
Piano Visualizer
Version 0.0.6
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.6.tar.gz
(4.9 kB
view hashes)
Built Distribution
piano_vis-0.0.6-py3-none-any.whl
(17.3 kB
view hashes)
Close
Hashes for piano_vis-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1580e0ff20a338d40769202bc572092ec8ac2300eb9b7d3e59150685a15511d6 |
|
MD5 | 1eeb26331ece23b5a9280de428b40e3e |
|
BLAKE2b-256 | f60e9a2e603db9921b1fdd1009733335f4d0b02cff5ea553c12f8b5dcd3cc681 |