
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Python launcher of the html-midi-player
by @cifkao & @magenta
Works with local and web-hosted MIDI files in Jupyter, Colab, WandB,...probably other contexts.
pip install midi-player
Only tested with Jupyter Notebooks & Colab, but uses no IPython dependencies so it should work in other contexts.
from midi_player import MIDIPlayer
from midi_player.stylers import basic, cifka_advanced
midi_file_url = "https://magenta.github.io/magenta-js/music/demos/melody.mid"
midi_file = "data/test_midi.mid"
MIDIPlayer(midi_file_url, 400)
MIDIPlayer(midi_file, 160, styler=cifka_advanced, title='My Player')
With wandb
:
import wandb
wandb.login()
wandb.init(project="midi-player")
mp = MIDIPlayer(midi_file, 300, viz_type="waterfall")
wandb.log({'player':wandb.Html(mp.html)})
wandb.finish()
See examples/
for more.
TO-DO. Particularly, people will want to know how to add/customize their own "stylers".
See midi_player/*.py
for now ;-).
title=
kwarg, as workaround b/c Quarto mixes up ordering of print
and IFrame elementsstylers.py
. Added a dark
mode styler.FAQs
Python launcher of animated MIDI player by @cifkao & @magenta
We found that midi-player demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.