How to add a KeySignature ?
I don't succeed to add a key signature via the API.
I have this code snippet,
var keysig = newElement(Element.KEYSIG);
//keysig.xxxx= xxxx; //adding a "####"
it doesn't break but actually
* I can't find how the specify the amount of # or b,
* Nothing visible is done on the score, except that all the following notes are getting a 'natural' in front of them.
Anyone knowing how to add a key signature via the API ?