GitHub
Preparing search index...
The search index is not available
mooz
mooz
Music
Interval
semitones
Function semitones
semitones
(
name
)
:
number
Get semitones of an interval
Parameters
name
:
string
Returns
number
Function
Example
Interval
.
semitones
(
'P4'
)
// => 5
Copy
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
mooz
All
AudioContext
AudioEffects
AudioInstrument
AudioPlayer
Event
Fretboard
Keyboard
Metronome
Midi
MidiDevice
Music
MusicXml
Notation
Player
Schedule
Score
Get semitones of an interval