{"categories":[{"label":"MIDI","url":"https://skillfed.io/packages/category/multimedia-sound-audio-midi"}],"enrichment":{"capability":"Provides utilities for reading, modifying, and synthesizing MIDI data in a Python-friendly format, handling note manipulation, tempo estimation, and audio output.","skillfed_tags":["music-information-retrieval","midi-synthesis"],"use_cases":["Analyze MIDI files to extract tempo, key, or note statistics for music research","Programmatically generate MIDI files by creating instruments and adding notes with specific pitches and timings","Transpose or shift all notes in a MIDI file by a fixed interval","Extract individual instrument tracks or filter notes by criteria for remixing","Synthesize MIDI to audio waveforms for playback or further processing"],"what_it_does":"pretty_midi wraps MIDI file handling in Python objects that expose notes, instruments, and timing as directly modifiable attributes rather than raw binary data. It lets you load a MIDI file, inspect its tempo and harmonic content, shift pitches, add or remove notes, and write the result back to disk or synthesize it to audio. The library depends on numpy for numerical operations, mido for MIDI I/O, six for Python 2/3 compatibility, and importlib_resources for resource loading.\n\nThe package is designed for music information retrieval and composition workflows\u2014analyzing existing MIDI files to extract features like key or tempo, programmatically creating MIDI from scratch by building instruments and note objects, or transforming MIDI data by iterating over its structure. Audio synthesis is optional and requires external dependencies (fluidsynth and pyfluidsynth).","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and fills a clear niche in MIDI manipulation. It is well-suited for music information retrieval, composition automation, and MIDI editing workflows. No known vulnerabilities."},"id":"pretty-midi","links":{"html":"https://skillfed.io/packages/pretty-midi","md":"https://skillfed.io/packages/pretty-midi.md","pypi":"https://pypi.org/project/pretty-midi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-28","license_spdx":null,"license_treatment":"permissive","name":"pretty-midi","python_support":"unspecified","summary":"Functions and classes for handling MIDI data conveniently."},"popularity":{"monthly_downloads":255627,"position":8475,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.11.post0"}
