Class RP_SYS_OverrideTracksValue

java.lang.Object
org.jjazz.rhythmmusicgeneration.api.RP_SYS_OverrideTracksValue

public class RP_SYS_OverrideTracksValue extends Object
Store which source RhythmVoice is overridden by which [RhythmVoice-rhythm variation] pair.

This is an immutable value.

  • Constructor Details

    • RP_SYS_OverrideTracksValue

      public RP_SYS_OverrideTracksValue(Rhythm baseRhythm)
      Create a value with no override.
      Parameters:
      baseRhythm - Must implement the ConfigurableMusicGeneratorProvider interface
    • RP_SYS_OverrideTracksValue

      public RP_SYS_OverrideTracksValue(Rhythm baseRhythm, Map<RhythmVoice,RP_SYS_OverrideTracksValue.Override> mappings)
      Create the value for baseRhythm with the specified mappings.
      Parameters:
      baseRhythm - Must implement the ConfigurableMusicGeneratorProvider interface
      mappings - All RhythmVoice keys must belong to baseRhythm. Override can not be null.
  • Method Details