Package | Description |
---|---|
org.openimaj.audio.util |
Modifier and Type | Method and Description |
---|---|
static WesternScaleNote |
WesternScaleNote.createNote(float frequency)
Create a
WesternScaleNote given a frequency. |
static WesternScaleNote |
WesternScaleNote.createNote(int noteNumber)
Given a note number, returns a
WesternScaleNote from which other
information can be garnered. |
static WesternScaleNote |
WesternScaleNote.createNote(String noteString)
Given a note string, returns a new
WesternScaleNote from
which other information can be garnered. |
static WesternScaleNote |
WesternScaleNote.createNote(String noteName,
int octaveNumber)
Given a note name and octave, returns a
WesternScaleNote from
which other information can be garnered. |
Modifier and Type | Method and Description |
---|---|
static int |
WesternScaleNote.nStepsBetween(WesternScaleNote note1,
WesternScaleNote note2)
Returns the number of half-steps between the two given notes.
|