Package org.jjazz.songcontext.api
Class SongPartContext
java.lang.Object
org.jjazz.songcontext.api.SongContext
org.jjazz.songcontext.api.SongPartContext
A SongContext with only one SongPart.
-
Constructor Summary
ConstructorDescriptionSongPartContext
(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, contains, deepClone, equals, getBarRange, getBeatRange, getMidiMix, getSong, getSongParts, getSptBarRange, getSptBeatRange, getSptTickRange, getTickRange, getUniqueRhythms, getUniqueRhythmVoices, hashCode, toClsPosition, toPosition, toPositionInBeats, toRelativeTick, toString
-
Constructor Details
-
SongPartContext
Create a SongPartContext.- Parameters:
s
-mix
-spt
-
-
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
-