beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

MidiValueToNote Op

Ops.Devices.Midi.MidiValueToNote


MidiValueToNote
Collections:hardware  
Related ops:  
Namespace: Ops.Devices.Midi

Op author: tim

Converts a MIDI value to a note string


summary (oneliner)

Converts a MIDI value (e.g. 60 coming from a connected MIDI keyboard) to a note (e.g. "C4"). The octave will always be included at the end of the string, if it is below 0, it will look like A#-1.

Please note that semitones will always be presented using sharps (#), not flats (b).



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

Midi Value (Number)

The MIDI Value you want to convert to a note-string, e.g. 80


Outputs

Note (Number)

The note-string (compatible to tone.js)


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Keyboard Synth Play Example

Click in the canvas one to set focus, then use your computer keyboard to play the FmSynth

Open Example In Editor


Examples using MidiValueToNote ()

Public Patches using MidiValueToNote ()