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
Modifier 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) 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
ConstructorDescriptionAgent
(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
-