Some Chord symbols (e.g. "Bbt7" ) are not written correclty unless the style being reset

• Jul 23, 2021 - 13:58

When I add a new Chord Symbol on a not (CTRL+K) with anything else than the raw fundamental name (e.g. "Bbt7", "A-", "G#7", ...) than the fundamental is not displayed.
I manage to make it appear by setting the chord style (settings) to "Jazz" and resetting to "Standard".

New chord symbol:
symb2.png

Is shown incorreclty:
symb1.png

Style set to "Jazz":
symb3.png

Style resset to "Standard":
symb4.png

Important to now

The score is created via a plugin with the following instruction:

var score = newScore("Workout", "bass-flute", 99);

Attachment Size
symb4.png 6.51 KB
symb1.png 5.58 KB
symb2.png 6.91 KB
symb3.png 6.52 KB

Comments

In reply to by Jojo-Schmitz

It seems that when creating the score thru the API some styles are not set correctly.
I've tried to correct that programmatically without success.
I guess the right style is chordStyle from the Sid list but I don't know to access it from the code.
Both this;

var score = newScore("Workout", "bass-flute", 1);
var cs=eval("Sid.chordStyle");
console.log("CHORD STYLE:" + score.styles.value(cs));

and this


var score = newScore("Workout", "bass-flute", 1);
console.log("CHORD STYLE:" + score.styles.value(Sid.chordStyle));

are returning an error that "Sid" is unknown.

Do you still have an unanswered question? Please log in first to post your question.