Class Sequencer.Seq

java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.music.applications.indisp.Sequencer.Seq
All Implemented Interfaces:
CompilableControlFlow, Component, Process
Enclosing class:
Sequencer

class Sequencer.Seq extends AbstractProcess
Realises the stepping through the meter.
  • Field Details

    • wait

      double wait
      Register which is counted down with every step. Zero crossing means that the event has ended.
    • decrement

      final double decrement
      Decrement to wait in every executed step. Depends on the current value of View.tempo.
    • phase

      int phase
      Index of the event of the NSM which is currently played.
  • Constructor Details

    • Seq

      Seq()
      Only constructor.
  • Method Details

    • step

      public void step()
      Count down wait by decrement. If zero is crossed: reinit wait, advance phase cyclically, update the event graphics and start a new sound event.