Class Util.VoicesVisitorSync

java.lang.Object
eu.bandm.tscore.base.Util.VoicesVisitorSync
Enclosing class:
Util

public abstract static class Util.VoicesVisitorSync extends Object
Step through all time points and process the tuple of events from all voices which are currently "sounding". ASSUMES that the source order of the events in the voices corresponds to the time order.

FIXME variante die "meaning:Tp->" als parameter bekommt. STATT normierte Tp-Repräsentaten. Mit ParameterExpander machen und "equals" oder "==" aufrufen!

  • Field Details

    • ignoreEvent

      @Opt protected final @Opt Predicate<Event> ignoreEvent
    • voiceNum

      protected final int voiceNum
    • voices

      protected final Vox[] voices
    • iterators

      protected final Iterator<Event>[] iterators
    • currentEvent

      @Opt protected final @Opt Event[] currentEvent
    • startsHere

      protected final boolean[] startsHere
    • nextEvent

      @Opt protected final @Opt Event[] nextEvent
    • nextTp

      protected final Tp[] nextTp
    • atLeastOneEventStartsHere

      protected boolean atLeastOneEventStartsHere
  • Constructor Details

  • Method Details

    • loadCache

      protected void loadCache(int i)
    • apply

      public void apply(Iterable<Tp> tps)
    • oneStep

      protected void oneStep(Tp currentTp)
    • process

      public abstract void process(Tp currentTp)