Class SongPartContext
java.lang.Object
org.jjazz.songcontext.api.SongContext
org.jjazz.songcontext.api.SongPartContext
-
Constructor Summary
ConstructorsConstructorDescriptionSongPartContext(Song s, MidiMix mix, SongPart spt) Create a SongPartContext.SongPartContext(Song s, MidiMix mix, IntRange bars) Create a SongPartContext. -
Method Summary
Methods inherited from class org.jjazz.songcontext.api.SongContext
clone, deepClone, equals, getBarRange, getBeatRange, getMergedBarRanges, getMidiMix, getSong, getSongParts, getSptBarRange, getSptBeatRange, getSptTickRange, getTickRange, getUniqueRhythms, getUniqueRhythmVoices, getUniqueSections, hashCode, isInRange, toClsPosition, toPosition, toPositionInBeats, toRelativeTick
-
Constructor Details
-
SongPartContext
-
SongPartContext
Create a SongPartContext.- Parameters:
s-mix-bars- The range must be contained in only one SongPart- Throws:
IllegalArgumentException- If the bar range spans over 2 or more SongParts.
-
-
Method Details
-
getSongPart
-
toString
- Overrides:
toStringin classSongContext
-