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 |
---|---|
static OctaveRegister |
OctaveRegister._1
Octave register from c to c, midi label 4, classical label 1, "prime"/"one line"
|
static OctaveRegister |
OctaveRegister._2
Octave register from c to c, midi label 5, classical label 2, "two lines"
|
static OctaveRegister |
OctaveRegister._3
Octave register from c to c, midi label 6, classical label 3
|
static OctaveRegister |
OctaveRegister._4
Octave register from c to c, midi label 7, classical label 4
|
static OctaveRegister |
OctaveRegister._5
Octave register from c to c, midi label 8, classical label 5
|
static OctaveRegister |
OctaveRegister._6
Octave register from c to c, midi label 9, classical label 6
|
static OctaveRegister |
OctaveRegister._7
Octave register from c to c, midi label 10, classical label 7
|
static OctaveRegister |
OctaveRegister.gr
Octave register from c to c, midi label 2, classical label -1, "great"
|
static OctaveRegister |
OctaveRegister.kl
Octave register from c to c, midi label 3, classical label 0, "small"
|
static OctaveRegister |
OctaveRegister.kt
Octave register from c to c, midi label 1, classical label -2, "contra"
|
static OctaveRegister |
OctaveRegister.sk
Octave register from c to c, midi label 0, classical label -3, "sub contra"
|
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,OctaveRegister> |
OctaveRegister.byNum
Local cache by numeric value.
|
static EntityCatalog<OctaveRegister> |
OctaveRegister.catalog
Catalog of all defined or used octave registers.
|
protected Map<Event,OctaveRegister> |
RunningOctaveCollector.explicitOcts
Intermediate store between parsing and reification: explicit changes of octave.
|
(package private) Translet.Parser<OctaveRegister> |
RunningOctaveCollector.parserOctaveRegister
Construction parameter: parser for an explicit octave register.
|
Modifier and Type | Method and Description |
---|---|
OctaveRegister |
OctaveRegister.add(int i)
Get the octave registers with the label given offset.
|
static OctaveRegister |
OctaveRegister.byMidiLabel(int num)
Returns the register defined for this midi-style numbering (0= subcontra, 3=small, etc.)
|
static OctaveRegister |
OctaveRegister.byNumber(int num)
Returns the register defined for this numeric label (-3 = subcontra, 0=small, etc.)
|
Modifier and Type | Method and Description |
---|---|
PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> |
TwelveToneFunctionalRepresentation.rewrite(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> v)
Revrite a functional pitch enharmonically, to fall into this representation list.
|
Modifier and Type | Method and Description |
---|---|
int |
OctaveRegister.compareTo(OctaveRegister other) |
Modifier and Type | Method and Description |
---|---|
static int |
Keyboard.keyNumber(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> po)
Deliver an index into the keyboard for the given FunctionalPitch.
|
void |
RunningOctaveCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<Event,PitchAndOctave<OctaveRegister,P>> result)
Steps through the sequence of events "evs" and combines the already parsed
pitch and the (partial) "explicit octave" and "jump" information into the
combined data type, taking the "shortest notational distance" as a default.
|
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.
|
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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
Map<Event,PitchAndOctave<OctaveRegister,FunctionalPitchModOctave>> |
Score_cwn.event2pitch
Maps voice events to one nominal pitch.
|
(package private) Multimap<Event,Tuple2<FunctionalPitchModOctave,OctaveRegister>> |
MlWorat.pitches
Pitch classes as recognized by the parser
MlWorat.parse_pitch . |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static float |
Cwn_to_sig.pitch_to_sig(OctaveRegister oct,
FunctionalPitchModOctave p)
Convert functional pitch into frequency value according to equal distance tempered tuning.
|
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. |