Class SongContextCopy

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

public class SongContextCopy extends SongContext
Create a new SongContext by deep copying the Song and the MidiMix.

References to the source Song and MidiMix are kept. If you don't need these references, you should directly use SongContext.deepClone().

  • Constructor Details

    • SongContextCopy

      public SongContextCopy(Song s, MidiMix mm, boolean registerSongCopy)
    • SongContextCopy

      public SongContextCopy(SongContext sgContext, IntRange newRange, boolean registerSongCopy)
    • SongContextCopy

      public SongContextCopy(Song s, MidiMix mm, IntRange barRange, boolean registerSongCopy)
  • Method Details

    • getOriginalSong

      public Song getOriginalSong()
      The original song from which we made this context copy.
      Returns:
    • getOriginalMidiMix

      public MidiMix getOriginalMidiMix()
      The original MidiMix from which we made this context copy.
      Returns: