midi-translate
a library to help translate from midi notes to things and back again!
Last updated 7 months ago by eli7vh .
ISC · Original npm · Tarball · package.json
$ cnpm install midi-translate 
SYNC missed versions from official npm registry.

Midi Translate

Features As Of Release 1.0.4

  • Midi note number to english note string
  • Midi note number to fundamental frequency
  • English musical note to midi note number

Concept

translate midi between different thingies - primarily for my personal use with tonejs

TODO:

Milestone 1

  • Midi Note Number <=> English Note String

Milestone 2

  • note number to frequencies

Milestone 3

  • midi wrapper for incoming midi signals
  • note string to frequencies helper

Milestone 4

  • add translations to non-english notes

Use:

import { noteToString } from 'midi-translate'
let incomingNote = Midi.getNote('port1') // however you get midi notes, do that
let stringNote = noteNumberToString(incomingNote)
let noteFrequency = noteNumberToFrequency(incomingNote)

Current Tags

  • 1.0.4                                ...           latest (7 months ago)

5 Versions

  • 1.0.4                                ...           7 months ago
  • 1.0.3                                ...           7 months ago
  • 1.0.2                                ...           7 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 6
Dependencies (0)
None
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |