Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/srmullen/bth-scribe


https://github.com/srmullen/bth-scribe

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# bth-scribe

About
-----
Tool for converting midi files to the bth music notation format.

TODO
----
- Event grouping options.
- Detect trills
- Strip out notes that are too fast.
- Break and tie notes over bars.
- Notate leading tones with correct accidentals.
- Notate tempo.

- When quantizing, long notes may need to be broken into tied notes. e.x.
```javascript
QUANTIZATION = 480 / 32; // Quantizing to 128th notes.
const track = [{
deltaTime: 0,
channel: 0,
type: 'noteOn',
noteNumber: 72,
velocity: 80
}, {
deltaTime: 1823,
running: true,
channel: 0,
type: 'noteOff',
noteNumber: 72,
velocity: 0
}]
// noteOff quantizes to 1830. This breaks ticksToDuration(480, 1830). Note needs.
// to be broken to a tie.
```