Class ClsUtilities

java.lang.Object
org.jjazz.chordleadsheet.api.ClsUtilities

public class ClsUtilities extends Object
General methods on ChordLeadSheets.
  • Constructor Details

    • ClsUtilities

      public ClsUtilities()
  • Method Details

    • transpose

      public static void transpose(ChordLeadSheet cls, int transposition)
      Transpose the chord symbols of a ChordLeadSheet.
      Parameters:
      cls -
      transposition -
    • getSimplified

      public static ChordLeadSheet getSimplified(ChordLeadSheet cls)
      Create a cls copy but with no more than 2 chord symbols per bar.

      If more than 1 chord symbol in a bar, keep the first chord symbol and the last one. If interval between them is less than half-bar, reposition them on first beat and half-bar.

      Parameters:
      cls -
      Returns: