Class BarRelativeRationalPosition

java.lang.Object
eu.bandm.music.entities.BarRelativeRationalPosition

public class BarRelativeRationalPosition extends Object
Models the position in a measure, relative to the starting time of the measure (which is the timepoint of the barline at its beginning). CURRENTLY NOT YET USED ANYWHERE !?!?!? FIXME
  • Field Details

    • barnum2startpos

      protected final Map<BigDecimal,Rational> barnum2startpos
      Maps measure numbers / bar line numberings to rational durations.
    • barnum

      protected final BigDecimal barnum
      The number of the measure in which the this time position lies.
    • offset

      protected final Rational offset
      The offset of this time position after the initial barline.
  • Constructor Details

    • BarRelativeRationalPosition

      public BarRelativeRationalPosition(Map<BigDecimal,Rational> barnum2startpos, BigDecimal barnum, Rational offset)
      Models the position in a measure, relative to its left side measure bar. A map from measure numbers to the starting points of the corresponding measures must be provided explicitly, when creating. This map must not be complete, but cover the explicitly given measure number.
  • Method Details