Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magenta/note-seq
A serializable note sequence representation and utilities.
https://github.com/magenta/note-seq
Last synced: 3 months ago
JSON representation
A serializable note sequence representation and utilities.
- Host: GitHub
- URL: https://github.com/magenta/note-seq
- Owner: magenta
- License: apache-2.0
- Created: 2020-06-16T13:32:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T03:48:31.000Z (11 months ago)
- Last Synced: 2024-04-06T19:33:32.183Z (7 months ago)
- Language: Python
- Size: 1.84 MB
- Stars: 203
- Watchers: 12
- Forks: 55
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/magenta/note-seq/workflows/build/badge.svg)](https://github.com/magenta/note-seq/actions?query=workflow%3Abuild)
[![PyPI version](https://badge.fury.io/py/note-seq.svg)](https://badge.fury.io/py/note-seq)**[Magenta](https://g.co/magenta)** is a research project exploring the role of machine learning
in the process of creating art and music.This is the home for our serializable `NoteSequence` representation along with
utilities for:* creating them from various formats (e.g., MIDI, abc, MusicXML)
* manipulating them (e.g., slicing, quantizing)
* extracting components (e.g., melodies, drum tracks, chord)
* exporting them (e.g., to MIDI or audio)
* or converting them to representations useful for model training (e.g., one-hot tensors)To learn more see the main [magenta repo](https://github.com/magenta/magenta) and have look at the [hello magenta](https://colab.research.google.com/notebooks/magenta/hello_magenta/hello_magenta.ipynb) notebook.
## Installation
`pip install note-seq`
## Notes
Importing `note-seq` increases the value of `pretty_midi.pretty_midi.MAX_TICK` to `1e10`. This may change the expected behavior of `pretty_midi` when using it alongside of `note-seq`. For example, loading corrupted MIDI files with `pretty_midi` may result in out of memory errors.