Class MidiInterpretation2.Agent
java.lang.Object
eu.bandm.music.applications.feldproj.MidiInterpretation2.Agent
- Enclosing class:
MidiInterpretation2
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
FieldsModifier and TypeFieldDescription(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) intMidi channel for the generated events(package private) final @Opt MidiInstrumentThe instrument and register definitions for all events marked as "harmonics".(package private) final MidiInstrumentThe instrument and register definitions for all events not marked as "harmonics".(package private) booleanFlag keeping track of switch to pizzicato mode.(package private) intPanorama position (starting at 0)(package private) final booleanWhether this voice has the same panorama position as its predecessor.(package private) TrackMidi track for the generated events(package private) final VoxThe underling score vocce, needed for stepping through its events. -
Constructor Summary
ConstructorsConstructorDescriptionAgent(Vox vox, MidiInstrument midiInstrument, @Opt MidiInstrument harmonicInstrument, boolean samePos) Only constructor -
Method Summary
-
Field Details
-
vox
The underling score vocce, needed for stepping through its events. -
midiInstrument
The instrument and register definitions for all events not marked as "harmonics". -
harmonicInstrument
The instrument and register definitions for all events marked as "harmonics". -
samePos
final boolean samePosWhether this voice has the same panorama position as its predecessor. -
position
int positionPanorama position (starting at 0) -
channel
int channelMidi channel for the generated events -
track
Track trackMidi track for the generated events -
pizzicatoOn
boolean pizzicatoOnFlag keeping track of switch to pizzicato mode. -
baseSets
BitSet[] baseSetsSets of midi keys for the three registers for normal events. -
baseSets_harmonic
BitSet[] baseSets_harmonicSets of midi keys for the three registers for harmonic events.
-
-
Constructor Details
-
Agent
Agent(Vox vox, MidiInstrument midiInstrument, @Opt @Opt MidiInstrument harmonicInstrument, boolean samePos) Only constructor
-