Interface ChordLeadSheetFactory


public interface ChordLeadSheetFactory
  • Method Details

    • getDefault

      static ChordLeadSheetFactory 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 section
      size - 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

      ChordLeadSheet createSampleLeadSheet12bars(String sectionName, int size)
      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

      ChordLeadSheet createRamdomLeadSheet(String sectionName, TimeSignature ts, int size)
      Create a leadsheet with a randomly generated content (sections and chords).
      Parameters:
      sectionName - the value of sectionName
      ts - The time signature of the initial section
      size - The size in bars must be > 0.
      Returns: