public class NbsDefinitions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CENTER_PANNING |
static int |
F_SHARP_4_NBS_KEY |
static int |
NBS_HIGHEST_KEY |
static int |
NBS_HIGHEST_MIDI_KEY |
static int |
NBS_LOWEST_KEY |
static int |
NBS_LOWEST_MIDI_KEY |
static int |
PITCHES_PER_KEY |
static int |
PITCHES_PER_OCTAVE |
static java.lang.String |
TEMPO_CHANGER_CUSTOM_INSTRUMENT_NAME |
| Constructor and Description |
|---|
NbsDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getEffectiveKey(NbsNote note)
Calculates the effective key of a note.
|
static int |
getEffectivePitch(NbsNote note)
Calculates the effective pitch of a note. (100 = 1 key, 1200 = 1 octave)
|
public static final int NBS_LOWEST_MIDI_KEY
public static final int NBS_HIGHEST_MIDI_KEY
public static final int NBS_LOWEST_KEY
public static final int NBS_HIGHEST_KEY
public static final int F_SHARP_4_NBS_KEY
public static final int PITCHES_PER_KEY
public static final int PITCHES_PER_OCTAVE
public static final int CENTER_PANNING
public static final java.lang.String TEMPO_CHANGER_CUSTOM_INSTRUMENT_NAME
public static int getEffectivePitch(NbsNote note)
note - The NBS notepublic static int getEffectiveKey(NbsNote note)
note - The NBS note