Quantcast
Channel: MuseScore - Plugins
Viewing all 349 articles
Browse latest View live

Harp Pedal Diagram Plugin is incorrect!

$
0
0

The Harp Pedal Diagram plugin incorrectly states that a pedal in the up position indicates a sharp pitch. In reality, when moving a pedal harp's pedals into their up position, the harpist is LOWERING the pitch. Therefore, in the plugin, the terms sharp and flat in the dialog box should be flipped around.


How to get the clef/clef-value of a chord

$
0
0

Hi,

I am new to MuseScore and just starting with plugin-development.

Actually i am working on an improved version of the notenames-plugin. The code for this plugin is hosted on gitub: https://github.com/KlausDBuettner/NoteNames2/ . Any comments are welcome.

My first question: is it possible in the current object model to get the clef? Sometimes the clef is changed within a stave (or part?) and my plugin has to react on this change.

tia
KlaBueBaer

QT-QUICK

$
0
0

Hello everybody,

I have big problems to run Plugins in Musescore 2.0.2 on Linux Mint 16.

I also installed the ubuntu-sdk. But I always get the following message for the helloqml Plugin:

QQmlComponent: Component is not ready
creating component failed
line 1: module "QtQuick" is not installed

I know a lot of people already posted this question. But actually I'm not able to fix it with the existing manuals....maybe I'm too stupid :-(
Can somebody help me to get the Plugins to run? A detailled "HOW TO" step by step description would be wonderful!

The reason why i want to get Plugins to run is the trumpetfingering.qml Plugin.

Thanks for your help!!
Tutut

API feature request (?) for a humanize playback plugin (in progress)

$
0
0

Hello dear developers,

First, i would like to thank the MuseScore team for this nice and accessible free music composition software. I use it quite often to compose tiny music for my pleasure. I am interested in the MIDI rendering of MuseScore.

I made a Qml plugin that tries to humanize playback of a selection.
Currently, as a starting point, it only slightly randomizes the veloOffset of each notes. This is a humble starting point so... The plugin is not yet public, but i can put a code snapshot somewhere if needed.

My main problem is that i would like to modify slightly the start/end time of each note of a chord, but i do not see this property yet in the notes. I would also modify the staff playback BPM by a few to modify the agogic. Is it possible already with the plugin Qml API of 2.0.x ?

Thanks for your replies.
- Ben
(Points to code as a documentation is okay, i'm familiar with C++/Qt.)

How to use the api?

$
0
0

Hi :)
I found the api documentation, but how do I get my secret and ID to use them in the api?
Thanks in advance,
- NonameSL

Can a plugin use Translations from MuseScore?

$
0
0

I'm working on a plugin where the user should select the voice on which the plugin applies. To do so, I've created a combobox/dropdown with the voices for a previously selected instrument. It would be great if I can use the same texts in the labels on that combobox as used in the tooltips of the voices, but it seems that's not possible?

On a side-question-note: Is there an easy way to know if a track contains notes? Most of the scores I work with mostly only contain notes in one or two voices, so it would be optimal if I could filter my plugins dropdown list to show only the used voices for the selected instrument.

HowTo for QML Plug-ins

$
0
0

Hi,

I can find lots of posts observing that JavaScript is gone in MuseScore 2.x, various posts that the JavaScripts are not found by 2.x, and various documents vaguely about QML, some dating back several years, but so far no obvious guide to using QML on MuseScore and no guide to converting JavaScript plug-ins to QML plug-ins.

If someone knows how to do these things, could they please post at least a starting point here and get it pinned.

Perhaps we could also have nice clear links somewhere to the plug-in repositories, as they're not easy to find.

Gordon.

Shaped Note Plugin Error

$
0
0

When I try to open the shaped note plugin on the plugin creator and run it,it comes up as creating component failed. line 1. syntax error


Audio to notation

$
0
0

Hello everybody,

I assume there is no dedicated plugin to convert audio to notation straight into musescore, or is there?

What I am looking for is a solution to convert human made sound (singing, whistling) to notation. I hope someone has found a solution with third party program(s) or set of plugins to get a chain of working solutions for this.

Thanks for any guidance and experiences (bad ones also, saves time).

Timo

Color notes using midi note names

$
0
0

I know almost nothing about using computer language.
I downloaded the Color Notes Plugin and changed it (with a text editor) so I could color notes with custom colors (e.g. make all notes gray except B which will be red and C which will be green). It works! I'm running it in Plugin Creator.
Problem - notes of different pitches are the same color - as in example above all Bs are red and all Cs are green.
Is there a way to make, for instance, C4 grey, C5 green, and C6 gray?
I found "midi note names" where C4 is 60, C5 is 72, etc. Can I use the midi note name somehow to designate a color and how would I phrase it in a plugin?

(Yes, I'm aware that not everyone agrees that middle C is C4. In fact I need the colored notes for handchime music where middle C is C5 but it seems like a trivial problem to fix that in my plugin.)

Thanks!

Kate

Plugin questions

$
0
0

Ciao.
While working on an update of the halftime and doubletime plugins (see https://musescore.org/en/node/81641 ) I bumped into some issues:

1- I couldn't find a way to insert a rest at a cursor position which will read the cursor duration. For chords we can use cursor.addNote; is there an equivalent for rests? In the plugins I used the workaround of adding a note and then place the cursor at that position and read the duration of that note;

2- Is it possible to make operations with the FractionWrapper objects? For example, multiply the fraction by a constant, sum two fractions, divide two fractions, inside a plugin and obtain a FractionWrapper object (which is the one expected by the duration property of a chord/rest)?

3- I found a possible bug, see: https://musescore.org/en/node/92856 , when using the cursor.addNote function.

Are there possible answers to these questions, or is the plugin framework too limited (at the moment)?
Thank you for your help.

OS: Windows 8.1; MuseScore 2.0.2 & commit d08e14cc36

Ciao,
ABL

Plugin debugging

$
0
0

The only information in MuseScore-en.pdf about Create/edit/run/debug plugins is only one line -"
It is possible to create new or edit existing plugins and run them via the Plugin Creator" and next - one picture.

There is https://musescore.org/nl/plugin-development - but, unfortunately for old version of MS.

It looks like new Plugin Creator is only editor+Score Elements help. But unfortunately this help have not any information about plugin structure and methods and tools for plugin dubugging (as it was in old documentation: "MuseScore is bundled with a plugin debugger. You can activate it from the Help menu..."). I believe that such section of the documentation required!
Yes, there is Qt help - http://doc.qt.io/qt-5/qmlapplications.html for c++ developers,

But can any body give some hints or links to documentatioin about how to debug MuseScore plugins in current version?

How to separate 4 voices on the one staff

$
0
0

Given a piece with 4 voices on on staff. Is there a plugin that is able to distinguish between the four voices and separate them to different staves

cursor.next() and nextMeasure()

$
0
0

Can anybody explain, please, why next plugin code

cursor.rewind(0); cursor.setDuration(1, 4); cursor.addNote(60);
cursor.next(); cursor.setDuration(1, 8); cursor.addNote(64);
cursor.next(); cursor.setDuration(1, 8); cursor.addNote(64);

generates such score (see image)?

It looks like last “next()” works like “nextMeasure()” isn’t it?
And what to do to add third note just after second?

AttachmentSize
cursor_next-1.JPG12.5 KB

pluginType dialog doesn't seem to terminate upon closing

$
0
0

Both on 2.0.2 and master on Win7:

1. Open Plugin Creator
2. Load helloqml plugin
3. Run it from the Plugin Creator
4. Close it by clicking within the dialog
-> all is OK, run/stop buttons look OK
5. Run it again
6. Close the dialog by using the close button
-> run/stop buttons remain as if the plugin is still running.

Now I'm wondering whether the plugin is not exited/closed as it should, or if the Plugin Creator misses that way of terminating a plugin and simply 'forgets' to update its button state.

EDIT: quick debugging makes me believe the Plugin Creator doesn't get/handle the close signal from the dialog, which would mean the plugin probably does terminate as intended.


To make to sound note like a chord

$
0
0

Is it possible with some programming tuning tricks to make to sound one note as a chord?
For example in the score where one note represents bell or tibetan bowl, the sound of which is characterized by multiple tones - as at the attached image for the 13 orthodox bells.

AttachmentSize
Pskov bells.JPG42.4 KB

Plugin repository - totally user UN-friendly!

$
0
0

So I am a former mscore 1.3 guy who upgraded a while ago to 2.0, and I understand about moving from .js to .qhtml (xml?) format for 2.0 plugins, but what gets me annoyed is that there is nothing in the repository that lets you filter only plug-ins for 2.0.

While it looks like there are tons of plugins online, there are apparently few that will work for 2.0. I have to say being a cynic I suspect the reason that the repository doesn't offer a simple filter to sift out the .js files for those of us who have gone with the agenda and upgraded is that by keeping everything lumped together, it looks like there is more support for this platform than there actually is.

TextInput loses focus in pluginType dock

$
0
0

I have created a dock plugin with a TextInput for user input. When I initially open the plugin, I can freely type in the text box. However, when I click anywhere outside the plugin dock area, such as on a note in the score, I cannot focus back on the TextInput. The cursor will not show up. If however, I minimize MuseScore or click outside the entire MuseScore window, onto say my internet browser, then I can return back to the plugin and click on the TextInput. Also, if I undock the plugin, I can click outside the plugin and return focus back to the TextInput without any probelm.

How do I return focus back to the TextInput after clicking outside my docked plugin? Is this a QML thing or a MuseScore issue?

Here is a modification of the panel plugin you may use to test this issue yourself:

import QtQuick 2.0
import MuseScore 1.0

MuseScore {
  menuPath:   "Plugins.panelTextInput"
  version:  "1.0"
  description: "This demo plugin creates a GUI panel with a TextInput."
  requiresScore: false

  pluginType: "dock"
  dockArea:   "left"

  onRun:  console.log("hello panel");

  Rectangle {
    width:  150
    height: 75

    border.width: 1

    TextInput {
      id: textInput1

      anchors.fill: parent
      text: "Type Here"
    }
  }
}

Thank you for your help.

Trouble printing the '&" character.

$
0
0

I expect that following plugin should print "AB&D" but I get only "AB".
What am I missing regarding the '&" character ?

Thanks

import QtQuick 2.0
import MuseScore 1.0

MuseScore {
version: "2.0"
description: "This plugin adds Native American Flute Fingering Diagrams"
menuPath: "Plugins.Native American Flute"

onRun: {
var cursor = curScore.newCursor();
cursor.rewind(0);

var text = newElement(Element.STAFF_TEXT);
text.text = "";
text.text = text.text + "A";
text.text = text.text + "B";
text.text = text.text + "&";
text.text = text.text + "D";

text.pos.y=9
cursor.add(text);

Qt.quit();
} // end onRun
}

AttachmentSize
bug_test.qml637 bytes

How to get to plug-ins

$
0
0

Hi,

I've been trying to find time to play with MuseSecore to "unleash the power" beyond what I am simply doing, and I've been reading in the forums about various plug-ins. My question is how do you navigate to the plug-ins page from the site? The best I could do was to Google it and from there I found the page address to be http://www.musescore.org/plugins/ -- is it hidden or can I just not find a link on the site?

Viewing all 349 articles
Browse latest View live


Latest Images