Some Chord symbols (e.g. "Bbt7" ) are not written correclty unless the style being reset
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:
Is shown incorreclty:
Style set to "Jazz":
Style resset to "Standard":
Important to now
The score is created via a plugin with the following instruction:
var score = newScore("Workout", "bass-flute", 99);
Comments
Got to be a plain plugin problem, as entering those ("bbt7") manualy into a score, it just works.
In reply to Got to be a plain plugin… 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.
In reply to It seems that when creating… by parkingb
score.style.value("chordStyle")
as perhttps://musescore.github.io/MuseScore_PluginAPI_Docs/plugins/html/class…
The default value should be "std" for the standard chord interpretation; so you could try setting that explicitly as well. But it seems to me that this is somewhat bugged indeed.
I tried setting it to "jazz", but it only applied after I opened (without changing!) the style settings dialog..