App-Music-ChordPro
view release on metacpan or search on metacpan
lib/ChordPro/res/config/config.schema view on Meta::CPAN
"type": "string"
}
}
}
}
],
"examples": [
{
"module": "Program",
"handler": "cmd2image",
"type": "image",
"program": "/usr/bin/lilypond",
"input": "argfile",
"result": "%{tmpbase}.cropped.svg",
"args": [
"-dno-point-and-click",
"--svg",
"--silent",
"--output",
"%{tmpbase}"
],
"preprocess": {
"first": [],
"lines": [],
"last": []
},
"preamble": [
"\\version \"2.21.0\"",
"#(ly:set-option 'crop #t)",
"\\header { tagline = ##f }"
],
"postamble": [],
"align": "left"
}
]
}
}
}
},
{
"title": "ASCII text to ChordPro converter",
"type": "object",
"properties": {
"a2crd": {
"description": "Settings for A2Crd (input) frontend.",
"type": "object",
"additionalProperties": false,
"properties": {
"infer-titles": {
"description": "Treat leading lyrics lines as title/subtitle lines.\nThe first non-empty, non-chord, non-directive lines are taken to be the song title and subtitle.",
"type": "boolean",
"default": true
},
"tabstop": {
"type": "number",
"description": "Tab stop width for tab expansion. Set to `0` to disable.\nTabs in the input source are replaced by an appropriate amount of spaces.",
"default": 8
},
"classifier": {
"title": "Strategies to recognize chords and lyrics lines are implemented by classifiers.",
"description": "The default classifier is `\"pct_chords\"` and is based on the percentage of chords recognized.",
"oneOf": [
{
"const": "pct_chords",
"title": "Strategy is based on the percentage of chords recognized"
},
{
"const": "classic",
"title": "The legacy strategy"
}
],
"default": "pct_chords"
}
}
}
}
},
{
"type": "object",
"properties": {
"parser": {
"$ref": "#/definitions/parserspec"
}
}
},
{
"title": "Text Output",
"type": "object",
"properties": {
"text": {
"$ref": "#/definitions/backendChorusRecallSettings",
"description": "Settings for Text (output) backend.\nSee the ChordPro backend for details."
}
}
},
{
"title": "LaTeX Configuration",
"type": "object",
"properties": {
"latex": {
"description": "Settings for LaTeX backend.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/backendspec"
},
{
"properties": {
"template_include_path": {
"type": "array",
"description": "Include paths for templates.",
"items": {
"type": "string"
}
},
"templates": {
"description": "Templates for LaTeX generation.",
"type": "object",
"additionalProperties": false,
"properties": {
"comment": {
"description": "Helper template to render comments.",
"type": "string",
"format": "uri-reference"
},
( run in 1.077 second using v1.01-cache-2.11-cpan-ceb78f64989 )