public class Note
extends java.lang.Object
getNoteFrequency(BaseNote, int)
allows you to easily get the frequency
corresponding to a note of music, starting from the base note (BaseNote
)
and for a specific octave.
Modifier and Type | Method and Description |
---|---|
static double |
getNoteFrequency(BaseNote baseNote,
int octave)
Get the frequency corresponding to a note, from the base note and for a specific octave.
|
public static double getNoteFrequency(BaseNote baseNote, int octave)
baseNote
- the BaseNote from which to calculate the output frequency.octave
- the octave to use to determine output frequency.