Package org.jjazz.chordleadsheet.api
Class ClsUtilities
java.lang.Object
org.jjazz.chordleadsheet.api.ClsUtilities
General methods on ChordLeadSheets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChordLeadSheet
Create a cls copy but with no more than 2 chord symbols per bar.static void
transpose
(ChordLeadSheet cls, int transposition) Transpose the chord symbols of a ChordLeadSheet.
-
Constructor Details
-
ClsUtilities
public ClsUtilities()
-
-
Method Details
-
transpose
Transpose the chord symbols of a ChordLeadSheet.- Parameters:
cls
-transposition
-
-
getSimplified
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:
-