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.
32 lines
912 B
32 lines
912 B
|
|
function RenderABC(containerID, targetTuneID)
|
|
{
|
|
|
|
API_GET("/V1/GetABCFile.php?tune-id=" + targetTuneID).then(payload => {
|
|
|
|
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",
|
|
}
|
|
}
|
|
);
|
|
|
|
|
|
|
|
})
|
|
.catch(error => {
|
|
console.log(error)
|
|
});
|
|
}
|
|
|