Interface YamJJazzRhythm

All Superinterfaces:
Comparable<Rhythm>, ConfigurableMusicGeneratorProvider, MusicGeneratorProvider, Rhythm
All Known Subinterfaces:
YamJJazzAdaptedRhythm
All Known Implementing Classes:
CompositeRhythm, JJSwingRhythm

public interface YamJJazzRhythm extends Rhythm, ConfigurableMusicGeneratorProvider
Our Rhythm interface extension.
  • Method Details

    • getAccType

      AccType getAccType(String rpMuteValue)
      Get the AccType corresponding to a RP_SYS_Mute value.
      Parameters:
      rpMuteValue - Can't be null
      Returns:
      Can be null if rpMuteValue is an empty string.
    • getComplexityLevel

      int getComplexityLevel(String rpValue)
      Analyze the RP_Variation value produced by buildRhythmParameters() to retrieve the complexity level.
      Parameters:
      rpValue - eg "Main A-2"
      Returns:
      eg 2, or -1 if no match.
    • getRhythmVoice

      default RhythmVoice getRhythmVoice(AccType at)
      Get the RhythmVoice corresponding to specified AccType.
      Parameters:
      at -
      Returns:
      Can be null if this AccType is not used in this rhythm.
    • getStyle

      Style getStyle()
      The Style object associated to this rhythm.
      Returns:
    • getStylePart

      StylePart getStylePart(String rpValue)
      Analyze a RhythmParameter String value produced by buildRhythmParameters() to retrieve the corresponding StylePart.
      Parameters:
      rpValue - eg "Main A-2"
      Returns:
      Main_A or null if no match
    • isExtendedRhythm

      boolean isExtendedRhythm()
      True if it's an extended rhythm, false if it's a standard Yamaha rhythm.
      Returns: