Class MidiInterpretation2.Agent

java.lang.Object
eu.bandm.music.applications.feldproj.MidiInterpretation2.Agent
Enclosing class:
MidiInterpretation2

protected class MidiInterpretation2.Agent extends Object
Represents one score voice during the translateion process. ATTENTION: Non-final fields are written and read directly by code of the containing class.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) BitSet[]
    Sets of midi keys for the three registers for normal events.
    (package private) BitSet[]
    Sets of midi keys for the three registers for harmonic events.
    (package private) int
    Midi channel for the generated events
    (package private) final @Opt MidiInstrument
    The instrument and register definitions for all events marked as "harmonics".
    (package private) final MidiInstrument
    The instrument and register definitions for all events not marked as "harmonics".
    (package private) boolean
    Flag keeping track of switch to pizzicato mode.
    (package private) int
    Panorama position (starting at 0)
    (package private) final boolean
    Whether this voice has the same panorama position as its predecessor.
    (package private) Track
    Midi track for the generated events
    (package private) final Vox
    The underling score vocce, needed for stepping through its events.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Agent(Vox vox, MidiInstrument midiInstrument, @Opt MidiInstrument harmonicInstrument, boolean samePos)
    Only constructor
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • vox

      final Vox vox
      The underling score vocce, needed for stepping through its events.
    • midiInstrument

      final MidiInstrument midiInstrument
      The instrument and register definitions for all events not marked as "harmonics".
    • harmonicInstrument

      @Opt final @Opt MidiInstrument harmonicInstrument
      The instrument and register definitions for all events marked as "harmonics".
    • samePos

      final boolean samePos
      Whether this voice has the same panorama position as its predecessor.
    • position

      int position
      Panorama position (starting at 0)
    • channel

      int channel
      Midi channel for the generated events
    • track

      Track track
      Midi track for the generated events
    • pizzicatoOn

      boolean pizzicatoOn
      Flag keeping track of switch to pizzicato mode.
    • baseSets

      BitSet[] baseSets
      Sets of midi keys for the three registers for normal events.
    • baseSets_harmonic

      BitSet[] baseSets_harmonic
      Sets of midi keys for the three registers for harmonic events.
  • Constructor Details