Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srmullen/bth-scribe
https://github.com/srmullen/bth-scribe
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/srmullen/bth-scribe
- Owner: srmullen
- Created: 2018-01-10T00:43:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T00:33:10.000Z (almost 7 years ago)
- Last Synced: 2024-11-04T02:42:08.315Z (about 2 months ago)
- Language: JavaScript
- Size: 116 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
```