public class AbcExporter extends MidiExporter
This class is used to export an ABC file using the midi2abc executable (belongs to abcMIDI). https://ifdo.ca/~seymour/runabc/top.html This works only if midi2abc is available.
Steps:
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
programName |
sourceCharset, targetCharset| Constructor and Description |
|---|
AbcExporter() |
| Modifier and Type | Method and Description |
|---|---|
ExportResult |
export(java.io.File file)
Exports an ABC file.
|
protected java.lang.String |
getTargetCharset()
Determins and returns the target charset from the according charset combobox.
|
cloneSequence, mustIncludeRp026TagscreateFilepublic ExportResult export(java.io.File file) throws ExportException
Exports an ABC file.
export in class MidiExporterfile - ABC file to be exportedExportException - If the file can not be exported correctly..protected java.lang.String getTargetCharset()
MidiExporterDetermins and returns the target charset from the according charset combobox.
Can be overridden to return a charset from a different combobox or a hard-coded value, depending on the format.
getTargetCharset in class MidiExporter