Visualize piano midi files..
Project description
Piano Visualizer
Version 0.0.5
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.5.tar.gz
(4.7 kB
view hashes)
Built Distribution
piano_vis-0.0.5-py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for piano_vis-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4c1f51448d356e6a98d6e19d954a6007632c7c2f68ef1d9353455bd365576b8 |
|
MD5 | 2da14aefdd91716edda5875549c22e75 |
|
BLAKE2b-256 | 05859d5742b296ce352dc38825a392fbc8abb3735b496ddaa9799b6347010b57 |