Package | Description |
---|---|
eu.bandm.music.entities |
All fundamental entities for modeling music.
|
Modifier and Type | Field and Description |
---|---|
static WhiteKeyModOctave |
WhiteKeyModOctave.a
The white key called "a".
|
static WhiteKeyModOctave |
WhiteKeyModOctave.b_h
The white key called "b" in English and "h" in German.
|
static WhiteKeyModOctave |
WhiteKeyModOctave.c
The white key called "c".
|
static WhiteKeyModOctave |
WhiteKeyModOctave.d
The white key called "d".
|
static WhiteKeyModOctave |
WhiteKeyModOctave.e
The white key called "e".
|
static WhiteKeyModOctave |
WhiteKeyModOctave.f
The white key called "f".
|
static WhiteKeyModOctave |
WhiteKeyModOctave.g
The white key called "g".
|
protected WhiteKeyModOctave |
FunctionalPitchModOctave.natural
The white key / "natural" pitch from which this functional pitch is derived.
|
static WhiteKeyModOctave[] |
WhiteKeyModOctave.whiteKeyScale
The ascending scale of white keys starting with c.
|
Modifier and Type | Field and Description |
---|---|
(package private) static Map<WhiteKeyModOctave,List<FunctionalPitchModOctave>> |
FunctionalPitchModOctave.byWhiteKeys
Holds all functional pitches by the white key they are derived from
|
static EntityCatalog<WhiteKeyModOctave> |
WhiteKeyModOctave.catalog
The catalog holding the constant values of this type.
|
(package private) Function<P,WhiteKeyModOctave> |
RunningOctaveCollector.stripAlterations
Function to get from the pitch type (which is a parameter) to a whitekey.
|
Modifier and Type | Method and Description |
---|---|
WhiteKeyModOctave |
FunctionalPitchModOctave.get_natural()
Return the natural key from which this pitch class is derived.
|
static WhiteKeyModOctave |
WhiteKeyModOctave.getWhiteKeyFromC(int i)
Get the white key which lays the given number of steps above c, modulo 7.
|
Modifier and Type | Method and Description |
---|---|
static FunctionalPitchModOctave |
FunctionalPitchModOctave.valueOf(WhiteKeyModOctave wk,
Accidental alt)
Deliver the functional pitch class derived from the given white key mod octave
and the given chromatic shift by accidental.
|
static FunctionalPitchModOctave |
FunctionalPitchModOctave.valueOf(WhiteKeyModOctave wk,
int alt)
Deliver the functional pitch class derived from the given white key mod octave
and the given chromatic shift by accidental.
|
Constructor and Description |
---|
FunctionalPitch(OctaveRegister octave,
WhiteKeyModOctave wk,
Accidental accidental)
Convenience constructor which constructs the FunctionalPitchModOctave on the fly.
|
FunctionalPitch(OctaveRegister octave,
WhiteKeyModOctave wk,
int accidental)
Convenience constructor which constructs the FunctionalPitchModOctave on the fly.
|
FunctionalPitchModOctave(WhiteKeyModOctave wk,
Accidental alt,
EntityCatalog<FunctionalPitchModOctave> catalog,
@Opt String lang,
@Opt String name)
Full constructor, setting all Parameters.
|
FunctionalPitchModOctave(WhiteKeyModOctave wk,
int alt,
EntityCatalog<FunctionalPitchModOctave> catalog,
String lang,
String name)
Auxilliary constructor, accidental shift given directly by integer value
(normally in the range -2..+2).
|
Constructor and Description |
---|
RunningOctaveCollector(Translet.Parser<P> parserPitchClass,
Translet.Parser<OctaveRegister> parserOctaveRegister,
String octDown,
String octUp,
Function<P,WhiteKeyModOctave> stripAlterations)
Only constructor, set all parameters.
|
WhiteKeyModOctave(int whiteKeysFromC,
int fifthsFromC,
EntityCatalog<WhiteKeyModOctave> catalog,
Map<String,String> map)
Only constructor, setting all parameters.
|