need plugin that separates the bass included in the left hand of the piano

• Dec 6, 2024 - 23:12

Hi,

I am looking for a plugin that separates the bass included in the left hand of the piano.
Like that:
from:
left hand piano.png
to:
left hand piano+bass.png

thanks


Comments

Try this plugin: copy the whole part to the other staff, select it, start the plugin and indicate what is the 'pitch' (a number) above which the notes should be selected (for pitch values see: https://musescore.github.io/MuseScore_PluginAPI_Docs/plugins/html/pitch…). Then click on 'Apply' and check that only the notes you want to delete are selected. Repeat the same operation with the original part after selecting "Select Low Notes". There can't be a plugin that knows what 'bass' is for you...

Attachment Size
Divisore note.qml 5.15 KB

In reply to by ILPEPITO

Nice. That's actually a useful thing to have. I think it combines well with the "copy especial" plugin.
It would be great if you add note-names, accidental, and octave comboBoxes for a more user friendly interface, (if you like to check out the code of "pitches and rhythm transformer" plugin for this).
Anyway, too bad it doesn't work with 4.4.

In reply to by .ash86

Thinking about it, it would be useful to also add the functionality of being able to select even in a range of pitch... and that would mean having to add six comboBoxes! Too tiring... (For me it is not a problem to think about the 'magic numbers' of the pitch). If you want, I'll give you the authorship of the plugin, to include its functionality in one of your wonderful plugins. Thank you for your appreciation.

Updated UI and added support for 4.4.

I did not add combo boxes for notes, accidentals, and octave, like in "Pitch and rhythm transformer",
but i made the note names display dynamically to input pitch number.

rec.gif

Attachment Size
Divisore note - v4_4_1.qml 7.14 KB

In reply to by .ash86

Since your creation of the plugin is aesthetically better than mine, i decided to use it instead of mine. I noticed today a setting that i think is not entirely correct: you have put (rightly) control routines to prevent the user from entering incorrect values. However, line 130:

if (+tfNotePitch.inputField.text <= +tfNotePitchLow.inputField.text) {

It should be changed like this:

if (+tfNotePitch.inputField.text < +tfNotePitchLow.inputField.text) {

This is for the simple reason that you might want to select a single pitch instead of a group of pitches, so you should allow the two values to be equal. Then, do as you want...

In reply to by ILPEPITO

Good point! I also changed the textField to a spinbox, i thought it might be easier to be able to scroll through notes since chances are that i won´t get the right pitche number i want on the first guess.
Let me know if i missed something, or there is anything that might be nice to add.

Ah, i also deleted the text references on top, now that the note names appear in the text box; not sure they were necessary anymore.

Attachment Size
Divisore note - v4_4_1.qml 7.26 KB

In reply to by .ash86

OK now it works. Two things: 1) now you can select two identical pitches in 'Select Range', but you forgot to correct the control routine; 2) I think you need to add
currentValue: null
to the 'tfNotePitchLow' control as well, otherwise the arrows don't respond until you enter a value in the text box. In any case, great job!

In reply to by .ash86

ALthough i have second thoughts wether limiting input values is better than just maintaining an error dialog when lower pitch > higher pitch. Anyway, we can go with whichever you prefer.

p.s You might want to add the plugin to the projects page if you havnt already :)

In reply to by .ash86

Of course, everyone is free to 'organize' the plugin as they prefer. I leave you the burden of a possible publication, adding your name to the copyright (you are the one who has worked the most) and inserting the beautiful animation you have made. See you soon.

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