Segfault when running plugin
Hi,
I'm experimenting with the plugin interface. But I get a segfault when running the attached plugin. Can anyone tell me why? I can't figure it out. (remove the _.txt at the end of filename)
Attachment | Size |
---|---|
SATB_4to2.js_.txt | 1.58 KB |
Comments
You need to duplicate the objects instead of using directly the ones from the old score. I'm putting together a working script. Attached is my current code.
Unfortunatly, it looks like the plugin framework does not let us write directly in a voice > 0
In reply to You need to duplicate the by [DELETED] 5
The attached plugin should work in the very last nightly (r3271) when released. I made a fix to be able to put notes on other voices while using a cursor.
In reply to The attached plugin should by [DELETED] 5
Aha! Got it now. Thank you! I did think of duplicating the elements, but I didn't duplicate them enough :-p
One more question: I can't seem to find a function (or variable) to change (or set) the keysig and the timesig. Isn't this implemented yet or is it me who cannot find it? If it's not there then it's a feature request :-)
In reply to Aha! Got it now. I did think by Soerboe
There is indeed nothing in to set or change keysig and timesig
In reply to There is indeed nothing in to by [DELETED] 5
Do you know anything about this being implemented?