Interface ChordLeadSheetFactory
public interface ChordLeadSheetFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateEmptyLeadSheet(String sectionName, TimeSignature ts, int size, String initialChord) Create an empty leadsheet with just the initial section.createRamdomLeadSheet(String sectionName, TimeSignature ts, int size) Create a leadsheet with a randomly generated content (sections and chords).createSampleLeadSheet12bars(String sectionName, int size) Create a 12 bars (or more) leadsheet which contains sample sections and chords.static ChordLeadSheetFactory
-
Method Details
-
getDefault
-
createEmptyLeadSheet
ChordLeadSheet createEmptyLeadSheet(String sectionName, TimeSignature ts, int size, String initialChord) Create an empty leadsheet with just the initial section.- Parameters:
sectionName- The name of the initial section.ts- The time signature of the initial sectionsize- The size in bars (must be > 0)initialChord- e.g. "Cm7". A string describing an initial chord to be put at the start of the lead sheet. If null no chord is inserted.- Returns:
-
createSampleLeadSheet12bars
Create a 12 bars (or more) leadsheet which contains sample sections and chords.- Parameters:
sectionName- The name of the initial section.size- The size in bars must be >= 12.- Returns:
-
createRamdomLeadSheet
Create a leadsheet with a randomly generated content (sections and chords).- Parameters:
sectionName- the value of sectionNamets- The time signature of the initial sectionsize- The size in bars must be > 0.- Returns:
-