Package | Description |
---|---|
eu.bandm.music.comp | |
eu.bandm.music.entities |
All fundamental entities for modeling music.
|
eu.bandm.music.top |
Top-level data structures, modelling different score formats, combining the
entities defined in lower level packages.
|
Modifier and Type | Method and Description |
---|---|
List<PitchAndOctave<OctaveRegister,FunctionalPitchModOctave>> |
Fields.asPitches(Fields.Item item,
TwelveToneFunctionalRepresentation repr)
Convert one field into a sequence of pitches.
|
List<PitchAndOctave<OctaveRegister,FunctionalPitchModOctave>> |
FieldsFromIntervals.asPitches(FieldsFromIntervals.Item item,
TwelveToneFunctionalRepresentation repr)
Convert one field into a sequence of pitches.
|
Modifier and Type | Field and Description |
---|---|
protected FunctionalPitchModOctave |
FunctionalKey.base
The root or base tone of this key.
|
static FunctionalPitchModOctave |
Euler2.class_c |
protected FunctionalPitchModOctave[] |
TwelveToneFunctionalRepresentation.pitches
The ways of writing for the pitch classes of the chromatic scale
ascending from "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<FunctionalPitchModOctave> |
FunctionalPitchModOctave.catalog
Catalog for all named functional pitches.
|
Modifier and Type | Method and Description |
---|---|
FunctionalPitchModOctave |
FunctionalKey.get_base()
Return the base pitch of the key.
|
FunctionalPitchModOctave |
Euler2.pitchClassRepresentation()
Return a pitch class, when Euler2(0.0) is assigned to the pitch class "c"
|
FunctionalPitchModOctave |
TwelveToneFunctionalRepresentation.represent(int i)
Return the representing pitch class for the i-th tone of the chromatic scale
ascending from "c".
|
FunctionalPitchModOctave |
TwelveToneFunctionalRepresentation.rewrite(FunctionalPitchModOctave v)
Revrite a functional pitch class enharmonically, to fall into this representation list.
|
FunctionalPitchModOctave |
FunctionalInterval.transpose_down(FunctionalPitchModOctave pitch)
Transpose a functional pitch class down (modulo octave) by the functional interval.
|
FunctionalPitchModOctave |
Euler2.transpose_up(FunctionalPitchModOctave pitch)
Interpret the coordinates as functional intervals (fifth and major third)
and apply them to the given pitch.
|
FunctionalPitchModOctave |
FunctionalInterval.transpose_up(FunctionalPitchModOctave pitch)
Transpose a functional pitch class up (modulo octave) by the functional interval.
|
static FunctionalPitchModOctave |
FunctionalPitchModOctave.valueOf(int wk,
int 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,
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.
|
Modifier and Type | Method and Description |
---|---|
protected static Translet.Parser<FunctionalPitchModOctave> |
FunctionalPitchModOctave._x_upperInitialParser(String lang,
boolean upper)
Deliver a parser with lower or upper initial characters, in the given language.
|
static Translet.Parser<FunctionalPitchModOctave> |
FunctionalPitchModOctave.lowerInitialParser(String lang)
Deliver a parser with lower initial characters, in the given language.
|
PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> |
TwelveToneFunctionalRepresentation.rewrite(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> v)
Revrite a functional pitch enharmonically, to fall into this representation list.
|
static Translet.Parser<FunctionalPitchModOctave> |
FunctionalPitchModOctave.upperInitialParser(String lang)
Deliver a parser with upper initial characters, in the given language.
|
Modifier and Type | Method and Description |
---|---|
int |
FunctionalPitchModOctave.compareTo(FunctionalPitchModOctave other)
Technically required, to make "TreeMaps" etc.
|
protected void |
TwelveToneFunctionalRepresentation.init(FunctionalPitchModOctave[] pitches)
Check validitdy of argument and stores it.
|
FunctionalPitchModOctave |
TwelveToneFunctionalRepresentation.rewrite(FunctionalPitchModOctave v)
Revrite a functional pitch class enharmonically, to fall into this representation list.
|
FunctionalPitchModOctave |
FunctionalInterval.transpose_down(FunctionalPitchModOctave pitch)
Transpose a functional pitch class down (modulo octave) by the functional interval.
|
FunctionalPitchModOctave |
Euler2.transpose_up(FunctionalPitchModOctave pitch)
Interpret the coordinates as functional intervals (fifth and major third)
and apply them to the given pitch.
|
FunctionalPitchModOctave |
FunctionalInterval.transpose_up(FunctionalPitchModOctave pitch)
Transpose a functional pitch class up (modulo octave) by the functional interval.
|
static FunctionalKey |
FunctionalKey.valueOf(FunctionalPitchModOctave base,
FunctionalGender gender) |
Modifier and Type | Method and Description |
---|---|
static int |
Keyboard.keyNumber(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> po)
Deliver an index into the keyboard for the given FunctionalPitch.
|
PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> |
TwelveToneFunctionalRepresentation.rewrite(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> v)
Revrite a functional pitch enharmonically, to fall into this representation list.
|
FunctionalPitch |
FunctionalInterval.transpose_down(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> pitch)
Transpose a functional pitch downward by the functional interval.
|
FunctionalPitch |
FunctionalInterval.transpose_up(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> pitch)
Transpose a functional pitch upward by the functional interval.
|
Constructor and Description |
---|
FunctionalPitch(OctaveRegister octave,
FunctionalPitchModOctave classModOctave)
Fundamental constructor.
|
TwelveToneFunctionalRepresentation(FunctionalPitchModOctave... pitches)
Only constructor.
|
Constructor and Description |
---|
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).
|
Modifier and Type | Field and Description |
---|---|
(package private) static FunctionalPitchModOctave |
MlWorat.FP_his
Constant holding the functional pitch English "b-sharp", German "his".
|
Modifier and Type | Field and Description |
---|---|
(package private) List<FunctionalPitchModOctave> |
MlWorat.allPitchClasses_sorted
All pitch classes (in their original functional enharmonic spelling) which appear
somewhere in the source, sorted in ascending order, starting with a particular pitch class
(here: "d").
|
Map<Event,PitchAndOctave<OctaveRegister,FunctionalPitchModOctave>> |
Score_cwn.event2pitch
Maps voice events to one nominal pitch.
|
(package private) Multimap<Event,FunctionalPitchModOctave> |
MlWorat.pitchClasses
Maps all events of a new synthetic voice "~~syntheticSum" to all pitch classes
appearing at this time point in any of the input voices (except the tonal key voice).
|
(package private) Multimap<Event,Tuple2<FunctionalPitchModOctave,OctaveRegister>> |
MlWorat.pitches
Pitch classes as recognized by the parser
MlWorat.parse_pitch . |
protected Map<Integer,Set<FunctionalPitchModOctave>> |
MlWorat.satz2alleTh
Map of the movement number to all pitch classes found for this movement.
|
Modifier and Type | Method and Description |
---|---|
protected FunctionalPitchModOctave |
Cwn_to_lilypond.transpose(@Opt Vox v,
FunctionalPitchModOctave p)
Deliver the pitch transposed UP by the interval which is assigned to the voice
in
Cwn_to_lilypond.transpositions , if any. |
Modifier and Type | Method and Description |
---|---|
static Comparator<FunctionalPitchModOctave> |
MlWorat.chromaticScaleComparator(FunctionalPitchModOctave basis)
Delivers a comparator to sort functional pitch classes in ascending order.
|
protected PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> |
Cwn_to_lilypond.transpose(@Opt Vox v,
PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> p)
Deliver the pitch transposed UP by the interval which is assigned to the voice
in
Cwn_to_lilypond.transpositions , if any. |
Modifier and Type | Method and Description |
---|---|
protected int |
MlWorat.category(FunctionalKey key,
FunctionalPitchModOctave p)
Compare a pitch class to a scale.
|
static Comparator<FunctionalPitchModOctave> |
MlWorat.chromaticScaleComparator(FunctionalPitchModOctave basis)
Delivers a comparator to sort functional pitch classes in ascending order.
|
protected String |
MlWorat.musixTexName(FunctionalPitchModOctave fp)
Return the musixtex encoding of the functional pitch class to print, and
memorize the Stammton of this print, if printing includes a flat accidental.
|
static float |
Cwn_to_sig.pitch_to_sig(OctaveRegister oct,
FunctionalPitchModOctave p)
Convert functional pitch into frequency value according to equal distance tempered tuning.
|
protected FunctionalPitchModOctave |
Cwn_to_lilypond.transpose(@Opt Vox v,
FunctionalPitchModOctave p)
Deliver the pitch transposed UP by the interval which is assigned to the voice
in
Cwn_to_lilypond.transpositions , if any. |
Modifier and Type | Method and Description |
---|---|
static float |
Cwn_to_sig.pitch_to_sig(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> ap)
Convert functional pitch into frequency value according to equal distance tempered tuning.
|
static String |
Cwn_to_lilypond.toLilyPond_pitch(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> ap)
Translate pitch information into lilypond format.
|
protected PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> |
Cwn_to_lilypond.transpose(@Opt Vox v,
PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> p)
Deliver the pitch transposed UP by the interval which is assigned to the voice
in
Cwn_to_lilypond.transpositions , if any. |