Class NCExtChordSymbol

All Implemented Interfaces:
Serializable, Cloneable

public class NCExtChordSymbol extends ExtChordSymbol implements Serializable
A special "NC" chord symbol for No Chord.

When used nothing should be played.

See Also:
  • Field Details

  • Constructor Details

    • NCExtChordSymbol

      public NCExtChordSymbol()
      Create a NC chord with no standard ChordRenderingInfo and no alternate chord symbol.
    • NCExtChordSymbol

      public NCExtChordSymbol(ChordRenderingInfo rInfo, AltExtChordSymbol altChordSymbol, AltDataFilter altFilter)
      Create a NC chord symbol with the specified parameters.
      Parameters:
      rInfo -
      altChordSymbol -
      altFilter -
  • Method Details

    • getCopy

      public NCExtChordSymbol getCopy(ChordSymbol cs, ChordRenderingInfo rInfo, AltExtChordSymbol altChordSymbol, AltDataFilter altFilter)
      Description copied from class: ExtChordSymbol
      Get a copy of this ExtChordSymbol, possibly modified with the specified parameters.
      Overrides:
      getCopy in class ExtChordSymbol
      Parameters:
      cs - If not null return value will use this parameter.
      rInfo - If not null return value will use this parameter.
      altChordSymbol - If not null return value will use this parameter. If not null altFilter must be also non-null.
      altFilter - If not null return value will use this parameter. If not null altChordSymbol must be also non-null.
      Returns:
    • getTransposedChordSymbol

      public ExtChordSymbol getTransposedChordSymbol(int t, Note.Alteration alt)
      Description copied from class: ExtChordSymbol
      Get a transposed ExtChordSymbol.
      Overrides:
      getTransposedChordSymbol in class ExtChordSymbol
      Parameters:
      t - The amount of transposition in semi-tons.
      alt - If not null alteration is unchanged, otherwise use alt
      Returns:
      A new transposed ExtChordSymbol.
    • getName

      public String getName()
      Description copied from class: ChordSymbol
      The standard ChordSymbol recognized by JJazzLab.

      This may differ from the original name.

      Overrides:
      getName in class ChordSymbol
      Returns:
      See Also:
    • getOriginalName

      public String getOriginalName()
      Description copied from class: ChordSymbol
      Return the name used at creation if the ChordType(String) constructor has been used.

      It may differ from the getName() if an chord type alias was used. First char is always upper case.

      Overrides:
      getOriginalName in class ChordSymbol
      Returns:
    • toNoteString

      public String toNoteString()
      Overrides:
      toNoteString in class ChordSymbol
      Returns:
      E.g. for D7 return "[D, F#, A, C]"
    • toString

      public String toString()
      Overrides:
      toString in class ChordSymbol
    • dump

      public void dump()
      Description copied from class: ChordSymbol
      Print the ChordSymbol, its aliases and degrees
      Overrides:
      dump in class ChordSymbol