Package | Description |
---|---|
eu.bandm.music.entities |
All fundamental entities for modeling music.
|
eu.bandm.music.haken |
Composition project which translates polyphonic sequences of abstract
"hook signs" (="Haken" = "hkn") into scores for different instruments, like
Viola, Voice, electronic sound synthesis or abstract graphical movies; see
the project documentation (in German).
|
eu.bandm.music.top |
Top-level data structures, modelling different score formats, combining the
entities defined in lower level packages.
|
Modifier and Type | Field and Description |
---|---|
protected QualifiedRational |
MetricConsumer.lastQRinMeasure
The nominally last time point in a measure, relative to the measure.
|
Modifier and Type | Field and Description |
---|---|
protected Trie<QualifiedRational,MSplitter.Result> |
MSplitter.cache
Cache which holds the split result for each particualr sequence of qualified Rationals.
|
protected Trie.Evaluator<QualifiedRational,MSplitter.Result> |
MSplitter.cacheEvaluator
Operator on
MSplitter.cache , needed for entering and retrieving cached keys and values. |
protected List<QualifiedRational> |
MSplitter.Result.eventStarts
The original input to the splitter process.
|
protected List<QualifiedRational> |
MetricConsumer.input
The list of input data, either strictly ascending time points of duration values.
|
static Translet.Parser<QualifiedRational> |
QualifiedRational.parser
Parsing "1/4" for sound and "p1/4" for pause.
|
(package private) static Map<Rational,QualifiedRational> |
QualifiedRational.pauses
Internal hashmap for instances representing pause durations.
|
(package private) static Map<Rational,QualifiedRational> |
QualifiedRational.sounds
Internal hashmap for instances representing sounding durations.
|
Modifier and Type | Method and Description |
---|---|
static QualifiedRational |
QualifiedRational.pause(int p,
int q)
Factory method, use internal cache.
|
static QualifiedRational |
QualifiedRational.pause(Rational duration)
Factory method, use internal cache.
|
static QualifiedRational |
QualifiedRational.sound(int p,
int q)
Factory method, use internal cache.
|
static QualifiedRational |
QualifiedRational.sound(Rational duration)
Factory method, use internal cache.
|
QualifiedRational |
QualifiedRational.withRational(Rational duration)
Return a new instance with the given duration and a copied sound/pause value.
|
Modifier and Type | Method and Description |
---|---|
static List<QualifiedRational> |
QualifiedRational.allPause(List<Rational> duras)
Make a list of pause representing instances, with the given durations.
|
static List<QualifiedRational> |
QualifiedRational.allSounds(List<Rational> duras)
Make a list of sound representing instances, with the given durations.
|
static List<QualifiedRational> |
QualifiedRational.fold(List<Rational> duras,
List<Boolean> pauses)
Make a list of instances, the durations and kinds given by the two lists.
|
static List<QualifiedRational> |
QualifiedRational.fold(Rational[] duras,
Boolean[] pauses)
Make a list of instances, the durations and kinds given by the two lists.
|
Modifier and Type | Method and Description |
---|---|
static MetricConsumer |
MetricConsumer.byDurations(@Opt MSplitter metricSplitter,
List<QualifiedRational> input)
Factory method for a user.
|
static MetricConsumer |
MetricConsumer.byStartPoints(@Opt MSplitter metricSplitter,
List<QualifiedRational> input) |
static List<Rational> |
QualifiedRational.get_durations(List<QualifiedRational> qrats)
Projection to the first component of the products.
|
static List<Boolean> |
QualifiedRational.get_soundsNotPauses(List<QualifiedRational> qrats)
Projection to the second component of the products.
|
MSplitter.Result |
MSplitter.process(List<QualifiedRational> eventStarts)
Main entry method: process the (ascending) list of start time points and
deliver a semantically sensible rendering plan.
|
Constructor and Description |
---|
Result(List<QualifiedRational> eventStarts)
Construct an instance with all result fields not yet set.
|
Modifier and Type | Field and Description |
---|---|
protected static QualifiedRational |
Score_hkn_vla_v00.pause_1_32
Evident.
|
QualifiedRational[] |
Score_hkn_vox_v00.pauseGrades
List of the length of the pauses from p0=quarter note to p4=brevis.
|
(package private) QualifiedRational[] |
Score_hkn_vla_v00.pauseGrades
Duration values for the pauses p0..p4
|
protected static QualifiedRational |
Score_hkn_vla_v00.sound_1_2
Evident.
|
protected static QualifiedRational |
Score_hkn_vla_v00.sound_1_32
Evident.
|
protected static QualifiedRational |
Score_hkn_vox_v00.sound_1_4
Evident
|
protected static QualifiedRational |
LilypondGenerator.sound_1_4
Evident
|
protected static QualifiedRational |
Score_hkn_vla_v00.sound_3_16
Evident.
|
protected static QualifiedRational |
Score_hkn_vox_v00.sound_3_4
Evident
|
protected static QualifiedRational |
Score_hkn_vla_v00.sound_3_4
Evident.
|
protected static QualifiedRational |
LilypondGenerator.sound_3_4
Evident
|
protected static QualifiedRational |
Score_hkn_vla_v00.sound_5_4
Evident.
|
Modifier and Type | Method and Description |
---|---|
protected @Opt QualifiedRational |
Score_hkn_vox_v00.getPauseByIndex(List<Tp> tps,
@Opt Vox vpause,
int i)
Get the duration of the pause to be insert before the event on the
i-th K-time point.
|
protected @Opt QualifiedRational |
Score_hkn_vla_v00.getPauseByIndex(List<Tp> tps,
@Opt Vox vpause,
int i) |
Modifier and Type | Method and Description |
---|---|
int |
Score_cwn.normalizeEvents_midi_PPQ(Vox voice,
boolean mergePauses,
List<Event> events,
List<QualifiedRational> evStarts,
List<Boolean> repeats)
Execute
Score_cwn.normalizeEvents(Vox,boolean,List,List,List) , but
return the lcm of all duration numerators in the form required for
Midi "Parts per quarter". |
PrimeFactors |
Score_cwn.normalizeEvents(Vox voice,
boolean mergePauses,
List<Event> events,
List<QualifiedRational> evStarts,
List<Boolean> repeats)
Step through the voice, remove "hold" symbols by the prolongating the
preceding (sounding) event, merge adjacent "pause" events, and calculate the
required sub-division of a quarter for the midi realization of all.
|