Class SongPartContext

java.lang.Object
org.jjazz.songcontext.api.SongContext
org.jjazz.songcontext.api.SongPartContext

public class SongPartContext extends SongContext
A SongContext with only one SongPart.
  • Constructor Details

    • SongPartContext

      public SongPartContext(Song s, MidiMix mix, SongPart spt)
      Create a SongPartContext.
      Parameters:
      s -
      mix -
      spt -
    • SongPartContext

      public SongPartContext(Song s, MidiMix mix, IntRange bars)
      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

      public SongPart getSongPart()