File

src/app/models/chord.ts

Properties

backgroundColor
backgroundColor: "none"
Type : "none"
barreChordRadius
barreChordRadius: 0.25
Type : 0.25
barreChordStrokeColor
barreChordStrokeColor: "#000000"
Type : "#000000"
barreChordStrokeWidth
barreChordStrokeWidth: 0
Type : 0
color
color: "#000000"
Type : "#000000"
emptyStringIndicatorSize
emptyStringIndicatorSize: 0.6
Type : 0.6
fixedDiagramPosition
fixedDiagramPosition: false
Type : false
fontFamily
fontFamily: "Arial, \"Helvetica Neue\", Helvetica, sans-serif"
Type : "Arial, \"Helvetica Neue\", Helvetica, sans-serif"
fretColor
fretColor: "#000000"
Type : "#000000"
fretLabelColor
fretLabelColor: "#000000"
Type : "#000000"
fretLabelFontSize
fretLabelFontSize: 38
Type : 38
frets
frets: 5
Type : 5
fretSize
fretSize: 1.5
Type : 1.5
nutColor
nutColor: "#000"
Type : "#000"
nutSize
nutSize: 0.65
Type : 0.65
nutStrokeColor
nutStrokeColor: "#000000"
Type : "#000000"
nutStrokeWidth
nutStrokeWidth: 0
Type : 0
nutTextColor
nutTextColor: "#FFF"
Type : "#FFF"
nutTextSize
nutTextSize: 22
Type : 22
position
position: 1
Type : 1
sidePadding
sidePadding: 0.2
Type : 0.2
stringColor
stringColor: "#000000"
Type : "#000000"
strings
strings: 6
Type : 6
strokeWidth
strokeWidth: 2
Type : 2
title
title: "Chord Title"
Type : "Chord Title"
titleBottomMargin
titleBottomMargin: 0
Type : 0
titleColor
titleColor: "#000000"
Type : "#000000"
titleFontSize
titleFontSize: 48
Type : 48
topFretWidth
topFretWidth: 10
Type : 10
tuning
tuning: ["E", "A", "D", "G", "B", "E"]
Type : ["E", "A", "D", "G", "B", "E"]
tuningsColor
tuningsColor: "#000000"
Type : "#000000"
tuningsFontSize
tuningsFontSize: 28
Type : 28
export interface ChordConfigure {
  strings: 6;
  frets: 5;
  position: 1;
  tuning: ['E', 'A', 'D', 'G', 'B', 'E'];
  fretLabelFontSize: 38;
  tuningsFontSize: 28;
  nutSize: 0.65;
  nutColor: '#000';
  nutTextColor: '#FFF';
  nutTextSize: 22;
  nutStrokeColor: '#000000';
  nutStrokeWidth: 0;
  barreChordStrokeColor: '#000000';
  barreChordStrokeWidth: 0;
  fretSize: 1.5;
  sidePadding: 0.2;
  fontFamily: 'Arial, "Helvetica Neue", Helvetica, sans-serif';
  title: 'Chord Title';
  titleFontSize: 48;
  titleBottomMargin: 0;
  color: '#000000';
  backgroundColor: 'none';
  barreChordRadius: 0.25;
  emptyStringIndicatorSize: 0.6;
  strokeWidth: 2;
  topFretWidth: 10;
  titleColor: '#000000';
  stringColor: '#000000';
  fretLabelColor: '#000000';
  tuningsColor: '#000000';
  fretColor: '#000000';
  fixedDiagramPosition: false;
}

export interface Barre {
  fromString: number,
  toString: number,
  fret: number,
  text: string,
  color: string,
  textColor: string
}

export interface ChordLayout {
  fingers: [
    [1,2],
    [2,3],
    [3,3],
    [6, 'x']
  ];
  title: 'F# minor';
  position: 2;
}

export class ChordObject {
  configure: ChordConfigure;
  chord: ChordLayout;
}

results matching ""

    No results matching ""