Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 842 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 842 Bytes

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, noteToFrequency } from 'midi-translate'
let incomingNote = Midi.getNote('port1') // however you get midi notes, do that
let stringNote = noteToString(incomingNote)
let noteFrequency = noteToFrequency(incomingNote)