You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
995 B
31 lines
995 B
|
|
function RenderABC(containerID, targetTuneID)
|
|
{
|
|
|
|
API_GET("/V1/GetABCFile.php?tune-id=" + targetTuneID).then(payload => {
|
|
|
|
const tunes = ABCJS.renderAbc(
|
|
containerID,
|
|
payload,
|
|
{
|
|
add_classes: true,
|
|
format: {
|
|
gchordfont: "Atkinson Hyperlegible",
|
|
annotationfont: "Atkinson Hyperlegible",
|
|
headerfont: "Atkinson Hyperlegible",
|
|
infofont: "Atkinson Hyperlegible",
|
|
repeatfont: "Atkinson Hyperlegible",
|
|
tempofont: "Atkinson Hyperlegible",
|
|
titlefont: "Atkinson Hyperlegible",
|
|
voicefont: "Atkinson Hyperlegible",
|
|
wordsfont: "Atkinson Hyperlegible",
|
|
},
|
|
}
|
|
);
|
|
document.getElementById('RawABCReadout').innerHTML = payload;
|
|
|
|
})
|
|
.catch(error => {
|
|
console.log(error)
|
|
});
|
|
}
|
|
|