Some extremly critical questions about plugins

• Apr 26, 2010 - 10:02

Hello to everyone. First of wanna say thanx for all creaters of this wonderful product. It is really amazing and original.
I need to make demonstration version of plugin in a short time (day or two). The idea of plugin's functionality is that MuseScore saves score in MusicXml file format and then I call using QLoader my program from dll to process this file. By the way my program is written on Qt. But I don't have experience in creating qt designer plugins, that is why I choose variant with saving and exporting MusicXml format.
And now about problem. Using "Plugin console" I detected that score's "save" method is undefined. In Qt Script Debugger object "curScore" is visible, but it has methods without names, simple functions. I have no ideas how to fix this yet.
The version of MuseScore that I am using is 0.9.5. I run it on Windows.
Thanks a lot one more time.


Comments

This problem can be solved by simple installing new version of MuseScore (now I am working with 0.9.6).
Now I am interested in how to execute my program from dll or lib.

I still can't find the way to run my program from MuseScore plugin. At the moment I know only how to write qt designer extention which is working only in projects with its headers and source, so it is not suitable variant for plugin deployment. And why does class QLibrary absent?

In reply to by allomov

Your best chance is to run your program as command line using QProcess.
The Qt libraries binding is not complete currently and for the moment undocumented, so some class are missing and some methods too.
Out of curiosity, what's your program doing? By the way, you may join #musescore on freenode.net if you need immediate feedback for your project.

In reply to by [DELETED] 5

It sounds like what I am looking for. I will try it now.
My program is a singing synthesizer for russian speech. It loads voice scores from MusicXml and converts it to wave of singing. This version of program has only demonstrative aim. In case you were interested, I will describe it later.
Thanx for advice. Have good time of a day)

In reply to by allomov

Your project sounds very cool! There are a couple of attempts for Japanese but I guess you already know them (http://www.sinsy.jp/). I know nothing about speech generation but I would love to take a look. Is it a free project?


var lame = new QProcess();
var args = new Array();
args[0]= "-V";
args[1]= "6";
args[2]= "toto.wav";
args[3]= "toto.mp3";

lame.start("lame.exe", args );
lame.waitForStarted();
lame.waitForFinished();

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