Fretboard plugin

• Oct 8, 2019 - 10:03

Hello everyone!

A few days ago I have created a plugin that tries to implement a simple guitar fretboard tool for tablature input and visualization, similarly to the existing Piano keyboard tool or similar fretboard tools in other score editors. The result looks approximately like this (see the full screenshot here):
screen1_shrinked.png

This plugin currently supports both visualizing the currently selected chord on the fretboard and doing note input by adding new chords (in Note Input mode) or editing existing chords in the tablature.

The project has largely been started to explore possibilities the of plugins framework in its current (as per 3.3 RC version) state and to figure out whether this framework is suitable to extend MuseScore user interface in some reasonable way. The answer seems to be mostly "yes", although the plugins framework lacks an access to some aspects of information about a score (like staff/instrument properties) and means to trigger most of GUI events (like viewport positioning and doing chords playback without entering Play mode).

So I hope this project will be useful both for users working on tablature scores and for other plugin developers trying to create something similar. Any feedback, both on this plugin and on similar GUI plugins development in general, would be greatly appreciated!

Here is the link to the plugin:
https://musescore.org/en/project/fretboard
Source code:
https://github.com/dmitrio95/fretboard-plugin


Comments

To forward this comment : https://musescore.org/en/node/68406#comment-949750

IMHO, tooltips (or labels, sorry, I don't know how you define the difference) are missing currently. And I think the example of Guitar Pro (logically, it got the approval of the guitarists!) is the right approach.

That is to say: when the mouse hovers over a fret, the dot/note is drawn in light yellow/transparent - it provides you with the essential information -, before being validated by the click (and a brighter yellow).

FIRST
gp.jpg THEN gp1.jpg
Also note that the name of the note (and its octave) is reported to the left of the fretboard. I don't know if this is also possible with the plugin - useful, but a bit less of a priority (for me).

In reply to by cadiz1

Maybe a small explanation you might benefit from:
A tooltip is a text that pops-up when "hoovering" over an object with your mouse.
Labels will always be visible (sometimes maybe they can be hidden by setting a selection checkbox, or similar method)....

Hi dmitrio

BIG Surprise !! THANK YOU SO MUCH :)
Working so well as far as I used.

One thing I was aware of ;
Translated word “frets” width is not wide enough to show in my language (Japanese).
Make it little wider ?
Thank you!
fret.jpg

Attachment Size
fret.jpg 95.67 KB

Fantastic plugin. Thanks!
Currently, clicking on the fretboard to add a note gives audible feedback only for the first note.
Adding any subsequent notes on the same measure has no audible feedback.
In fact, as soon as there's one note in a measure, there won't be audible feedback when clicking any fret on the fretboard.

Fantastic plugin dmitrio.

I didn't know it was in active development. It is so good it inspired me to add some more features, like chord detection, interval names, notes being played by each finger and support for rootless chords and non played notes. Also, fixed some issues with the tunning detection and have some more ideas like laying out scales, chord extensions and modes.

Let me know if you are interested in the code and I can share it with you.

Thank you all for your feedback!

I have just uploaded a small update to this plugin. It mainly adds an ability to play a chord when adding a note to it so editing a score with a fretboard should no longer be in silence (this feature will work only since 3.3.4 version of MuseScore). Also there are some minor styling changes one of which should resolve the issue with Japanese translation reported by Kazuma Yamamoto. A full list of changes is available in the changelog.

The updated version is available on the project page (or with this direct link to the updated plugin).

I would also like to add labels for notes on the fretboard like @cadiz1 suggested. This has been implemented as a part of a pull request by gsc-dev (I guess, the author of this comment above), so I hope to be able to integrate at least some of the proposed changes soon.

In reply to by cadiz1

@Dmitrio
Thanks again and congratulations for this fretboard plugin. These "new" plugins are really fine and bring an undeniable added value to the program.
This makes me think again about this feature request (#153016: add mountain dulcimer incl. a tab preset) that has remained a dead letter (perhaps due to the difficulty of implementing it in the current code?), despite its interest and the many requests.
So, do you think it could be a good candidate for another specific plugin?

EDIT: for the record, there were for version 2, a few plugins related to this question, but which were really very limited and inconvenient. Ie: https://musescore.org/en/project/dulcimer-tab
and https://musescore.org/en/project/daa-strum-stick
and https://musescore.org/en/project/seagull-merlin-checknotes

In reply to by cadiz1

@cadiz1, that is a good question. Right now MuseScore strictly binds note pitch to tablature markings according to chromatic fretting law, and this is not something that can be overridden in plugins. So without changing MuseScore itself (and implementing a fully working support for diatonic fretting would indeed be not a trivial task) plugins can only emulate some of the desired properties of diatonic tablature. I can think of two options how to achieve something similar:
1) Draw tablature manually based on a pitched staff content. This seems to be something that is done by the plugins you listed above.
2) Use the existing tablature facility and change notes tuning to obtain the desired sound. Some tweaks could also be used to visually emulate unusual tablature markings like "6+" for dulcimer. This method has certain drawbacks (for example, notes would internally have wrong pitches so linkes staves would work incorrectly) but this would allow to make use of most of the existing features for tablature visual layout.

Both these approaches could probably be implemented in a non-interactive mode with plugins in MuseScore 2 as well. The new plugins possibilities allow to implement interactive editing of such a custom tablature, so I believe some version of such plugin that would be more convenient to use could indeed be implemented. The second approach (based on the existing tablature) should probably be not really difficult to implement within the Fretboard plugin so, as an experiment, I could try to add a support for diatonic fretting to this plugin. If you (or whoever would like to work with diatonically fretted instruments in MuseScore) find it a usable solution we could think on how to expand its possibilities further.

In reply to by dmitrio95

Thank you Dmitrio for looking into this question.
I must admit that I do not understand everything about the difference (and their result) between the two approaches.
Two simple thoughts:
The fact that it would not work with linked staves does not seem to me to be a crippling handicap. Would copying and pasting it into another staff work, with the right display of course?
Then, it seems to me that it would be expected, by default, that the tablature would only contain three lines/strings? So rather than a guitar fretboard that should be reduced? (sorry, it's not very clear to me)

In any case, the really important and crucial point is to make sure that the entry of this or that fret (even the special fret 6+) corresponds to the right sound, and to the right display of the notes in standard notation.
And vice versa (if possible?): this or that standard note should correspond to the right fret and sound on this type of instrument.

In reply to by cadiz1

With the second method copying and pasting to a normal staff also wouldn't work as it would be impossible currently to convince MuseScore to assign pitches to notes in a tablature not following a chromatic fretting law. So it looks like it is better currently to develop such a plugin based on the existing MuseScore 2 plugins which draw the needed tablature notation themselves. Anyway, a possibility to edit such a tablature in an interactive way rather than having to manually run a plugin to convert the existing notation to a tablature should make it more convenient to use.

Another small update: I have just uploaded a version with note labels and semi-transparent note markers on fret hovering. I am not sure about their visual appearance, so please let me know if it would be better to change it or make it customizable. Anyway, they should be already useful as they are.

In reply to by dmitrio95

dmitrio
wooow… it’s super ! Thank you so much for labeling notes. very very useful :D

Two things I’m aware of ( well, I don’t mind, though )
>Accidental note’s names are extending out beyond a red circle
>Labeling color is similar to fretboard

But again, Thank you so much for labeling notes!
fret.jpg

Attachment Size
fret.jpg 9.09 KB

In reply to by kazuma yamamoto

Wow, too! Thanks Dmitri. Really helpful, and as expected. Also, I noticed the same color, or lack of contrast between the fingerboard itself and the background of the labeling notes. Since we have to go out and come up with some ideas, maybe a faded/washed pink? (but I haven't tested it, so there's no certainty about what it will actually look like).) So much the better if there are other proposals.

In reply to by cadiz1

Actually if needed I could make the color customizable so users could define the color of their own preference. Still I also like this scheme with pink color so if it (or maybe some other similar color?) suits everyone else I could just make the change to the "main" version of plugin.

In reply to by dmitrio95

I had tested this plugin, but not yet in a multi-voice context (which is almost the majority of my use cases)
Unfortunately, there is a problem with the voice change.
For example, pictures below: I'm trying, in voice 4 (but it's the same thing with voice 2, etc.), to enter a C half note on the first beat. When I click this C on fretboard (fifth string, third fret), I get a failure and the warning "String-above command not valid in current state".

Moreover, it is very difficult, and unexpected, to get rid of this dialog. From what I observe, I have to click ten times (why ten, or eleven?) on the closing cross so that the window finally disappears. And surprise, at that moment, the C is entered?!

EDIT: And for the pink labeling, I observe that we are very close to the color default of voice 4 in the program. So, somehow, it's coherent.

essai basse Do.jpg
commande string above.jpg

In reply to by cadiz1

I tested it primarily on tablature staves, this is a side effect of changes which were needed for them to work properly with multiple voices. However in 3.5 version it should work correctly also with normal staves: the recently merged PR 5657, among other changes, allows to avoid repeatedly using string-above/string-below commands to adjust the cursor's string number on a tablature staff.

In reply to by dmitrio95

Thanks Dmitri, that's better. But there's still a little more to do. Watch this animation. In Voice 2 (and 3/4), when you change to next measure, the last note is replayed (heard again) and the first note of the next measure is added to the previous note :(
For example: C.D.E.F. (F played again when you press right arrow - on the animation I used the arrows of the virtual fretboard, just to show better the process), then the G, against all odds, is entered above the F. And then the navigation is kind of stuck.

Video_2020-04-30_133329.gif

In reply to by Jack A. Zucker

"Adjusting fret positions in tablature is horrible in musescore. "
Before saying that it's just horrible in MuseScore, maybe we should first understand that it's different from Finale, and that it takes a little time to learn how it works with MuseScore. In short, don't try to find in MuseScore what you were doing with Finale, it's a waste of time! And luckily. Nevertheless, if the difficulties continue, open a new thread (not here, in the Plugins section, but in the general discussion section), and describe those difficulties - with a short but essential sample score, please.

In reply to by cadiz1

No, it's a matter of convenience because having to hit a modifier key to move the note to a different string without modifying the pitch is not just different. It's a destructive edit as the default. The Ux should be defined in such a way that the default behavior without using a modifier is non-destructive to the note's value. It's all too easy with musescore to accidentally change the note value. It's a backwards Ux. Hitting the up and down arrow's default action should be to keep the note value and change the string. The modifier key should be required only when changing the pitch. That's pretty common-sense Ux.

In reply to by Jack A. Zucker

"it does not auto advance to the next rhythmic position automatically. I have to keep hitting the right arrow key after each note."
Well, yes, it's the principle. As far as I can see it's the same thing with the "Fretboard" tool of Guitar pro.
It allows you to stay on the spot to enter chords, simply. And to continue, you use the direction arrows, nothing special, and as expected.
"It also randomly changes the rhythmic values back to a whole note"
You make something wrong, I don't know what for the moment. The program can't itself change a note value without any user intervention whatsoever.

In reply to by cadiz1

regarding the first part, it shouldn't be the default to stay on the same beat position or there should be a simple checkbox. And the 2nd, I can repeat it infinitely and easily. It's 100% repeatable with 3.5.

1) Create a new guitar+tablature diagram
2) Open fretboard
3) Set note value to 8th
4) NOTE - At this point, the notation will show (2) 8th rests a 1/4 rest and whole rests the rest of the document

So if you start entering notes followed by right arrow with fretboard diagram you will get 2 8ths a 1/4 a half and then the rest of the document whole notes.

I notice that it works better in that regard with 3.4.2.

But also, if you are right handed, it's extremely awkward to click notes with the mouse and hit the right arrow to advance. They definitely need an auto-advance checkbox

In reply to by Jack A. Zucker

"4) NOTE - At this point, the notation will show (2) 8th rests a 1/4 rest and whole rests the rest of the document"
Yeah, what about it? Image below. This is how MuseScore works (unless I misunderstood something in your reasoning). But in any case, don't expect to receive the same result and display as Finale, it's definitely a dead end. Forget Finale (if possible!), and get to know MuseScore - it's another program, that's all -, step by step.

la.jpg

In reply to by Jack A. Zucker

> So if you start entering notes followed by right arrow with fretboard diagram you will get 2 8ths a 1/4 a half and then the rest of the document whole notes.

To clarify a possible confusion, if you enter a note input mode before starting entering notes (with N key or the corresponding toolbar button at its left side) all durations of the entered notes will be 1/8, as expected. In MuseScore a note input mode is supposed to be used to enter notes (although it is triggered automatically on some actions), and it indeed acts differently from normal mode which is more supposed to do other kinds of actions including editing already existing notes and adding or editing other musical or text elements. That is why normal mode keeps duration of the note or rest being currently selected when you move selection across the score.

Fretboard plugin doesn't interfere with this logic at all and simply uses the duration which MuseScore considers being more relevant in this context, according to the latest user actions, score state, note input state presence etc.

In reply to by Marc Descoteaux

A similar issue came up with regard to ordinary keyboard entry of tablature also, FWIW, and it was the general consensus it was best not to advance. This is in contrast to standard notation, but I think the rationale was that on standard staves, building a chord is easy through simple click or using Shift+letter, but on tab staves its more of a process of selecting string and fret independently, and having to cursor back every time would really be a hardship.

In reply to by Marc Sabatella

this is another issue of usability that makes something like notion vastly superior to musescore. In notion you can quickly enter tablature using the fretboard and one hand without having to use a cross hand technique to advance to the next note with your right hand on the mouse and your left hand crossing over to the right arrow key. Finale works the same way. Again, if you want people to make the switch you should be looking not at consistency with yourself but what the other software does.

In reply to by Jack A. Zucker

Please read what I wrote again. We did make the conscious choice to break consistency here. The issue is simply that one workflow favors people who mostly write single note music, the other favors people who write more complex chordal / multi-voice music. Our workflow favors the chordal. This was, again, the consensus among many people over the course of many months of development and trials. So while Notion might be "vastly superior" for single-line music by this measure, MuseScore would by the same measure be preferable by the exact same margin for chordal music.

Realistically I could imagine a preference or toolbar button controlling this. Many people would find this useful in standard staves as well, actually. Even though building a chord is easy enough in most cases even with the advance, if the advance takes you to the next system or page, the advance make mouse entry more difficult (so it's mouse users who typically request this).

In reply to by Marc Sabatella

"Realistically I could imagine a preference or toolbar button controlling this."
Yep. It would be really nice. The best of the worlds... :)
(rather toolbar button here, or key as for Shift in standard input)
For now nevertheless, this plugin, quite new, remains a bit buggy. Navigation is actually stucked when changing voices. That is more that problematic. Dmitri is aware of that, so all hopes are possible. :)

In reply to by Marc Sabatella

"Realistically I could imagine a preference or toolbar button controlling this."
Yep. It would be really nice. The best of the worlds... :)
(rather toolbar button here, or a key as for Shift in standard input)
For now nevertheless, this plugin, quite new, remains a bit buggy. Navigation is actually stucked when changing voices. That is more that problematic. Dmitri is aware of that, so all hopes are allowed. :)

In reply to by cadiz1

"Yes, but for what purpose?
The plugin is precisely intended, first, to enter frets number/notes via the virtual fretboard, right ?"

I just need to use the fretboard to enter notes not fret/string information.

I see in an earlier thread that you modified the code to change the hover note color. I would like higher contrast. Would you be able to share instructions so that I could change the color to yellow?

Thank you,
yetoone

Hi! I tried using this plugin, however its not functioning, tried opening the qml file in the plugin creater and got this comment
Running…
Creating component failed
line 2: plugin cannot be loaded for module "QtQuick.Controls": Cannot load library C:\Program Files\MuseScore 3\qml\QtQuick\Controls.2\qtquickcontrols2plugin.dll: The specified module could not be found.
Please help

In reply to by Juan Pa Fernandez

Hello everyone,
I would like to know if anyone could adapt this plugin to a Bandoneon keyboard version.
It will be only Score to Keyboard (not vice-versa).
The user should choose a bar (or a smaller section of notes), choose In/out (opening/closing) and see them highlighted on the keyboard layout.
Treble clef -> Right hand
Bass clef -> left hand
The window can include both hands, It should allow chords and melody.
There are 71 notes total (both opening and closing).
I am attaching the keyboard layout, and example of the empty layouts.

If anyone could do it, it would be a huge contribution for bandoneon students...
Thanks!

In reply to by bandoneontv

??
Maybe I missed something, but since when does a bandoneon (or accordion) have something to do with a guitar and its fingerboard?
There are accordion plugins available (https://musescore.org/en/plugins), I guess you'd have to look into that.
So, it's best not to go off topic (related to guitar fretboard) and continue conversation on your other identical thread : https://musescore.org/en/node/318711

In reply to by cadiz1

It doesn't but the principle of what I am looking for is exactly the same: note to position on an image, just a keyboard instead of the fingerboard.
I didn't find any other plugin that does that until now, but thanks for the recommendation, I'll look into the thread.
Sorry for the interruption,
Best

In reply to by bandoneontv

Hey, interesting. I think this plugin could be a good starting point for a Bandoneon plugin. But for me, it sounds like a lot of work, adjusting the button positions in QML. Maybe you find someone in the Bandoneon community who can program JavaScript and wants to tackle this.

A while ago, I considered adding the Bandoneon to https://griffschrift-notation.de/ (you can select different instruments there). But my system is limited to straight, non-overlapping rows of buttons. No curved rows. E.g. a layout for the chromatic button accordion is implemented but for Bandoneon I could only dislay the curved rows in a straight line.

In reply to by nurfz

If straight rows would work and make sense, I can add the Bandoneon layout to the website and I could try to figure out a way that a plugin can communicate with the website. You would input notes/chords on the keyboard on the website and the notes would appear in MuseScore like in the Fretboard plugin.

Edit: I have an idea on how to display the curved rows on the website correctly: Just override the CSS rules! With a custom CSS file for custom instruments like Bandoneon.

Hi all, I have recently created an issue [https://musescore.org/en/node/325485] to add the function to display a guitar neck virtually, as it already exists for the piano.

Contrary to what this plugin does, I would only be interested in the part of being able to display the notes on the guitar, as was the case in the software I used (Guitar Pro). Where you had the possibility "to click" on the staff and display the whole bar, the current bar + the next bar, a chord, or a single note in the virtual guitar.

Would it be possible to achieve something like this with this plugin? If you look at the piano, this is already implemented

In reply to by rrchtr

The plugin already displays notes from the currently selected note and its chord. It doesn't display all notes in range selection but it would be not difficult to add this to the plugin if needed.

The only limitation is that the plugin is currently able to display notes on the fretboard only for tablature staves or for staves that have a linked tablature staff. Otherwise MuseScore doesn't maintain an information about a string and fret number of a note and thus the plugin isn't able to get this information from the plugin API. A plugin can try to guess strings and frets by itself but then it would need to do a lot of things that are already implemented in MuseScore — maintain strings tuning information, implement guessing best fret positions for the given set of notes etc. Therefore I think it would be better to add a linked tablature staff to your score if you don't have it already (see, for example, https://musescore.org/en/handbook/3/tablature#multiple-staves) and use the plugin with this configuration of staves.

In reply to by dmitrio95

> The plugin already displays notes from the currently selected note and its chord. It doesn't display all notes in range selection but it would be not difficult to add this to the plugin if needed.<

Thanks for the response dmitrio95. Ok, and would it be possible to get it to show the notes of the whole bar? Would it take a lot of changes? I would really appreciate it if you could try.

> Otherwise MuseScore doesn't maintain an information about a string and fret number of a note and thus the plugin isn't able to get this information from the plugin API. A plugin can try to guess strings and frets by itself but then it would need to do a lot of things that are already implemented in MuseScore — maintain strings tuning information, implement guessing best fret positions for the given set of notes etc.<

You have already achieved so much with this plugin, I understand that it would be a lot of work, and a duplication, if these functions are already available in Musescore. Therefore, I don't understand why they don't implement this virtual instrument among the Musescore core functions, since they have been able to do it with the piano and as you tell me, there are already those functions that would allow to implement it.

>Therefore I think it would be better to add a linked tablature staff to your score if you don't have it already (see, for example, https://musescore.org/en/handbook/3/tablature#multiple-staves) and use the plugin with this configuration of staves.<

Ok, now I have added a tablature and the notes are already shown in the virtual guitar, but I only use the classical scores, is there any option to keep the tablature linked but hidden, so that it doesn't make the page so big?

In reply to by Jojo-Schmitz

Sorry, I didn't mean to sound arrogant, English is not my native language, and surely the choice of the word "they" was not very accurate. Believe me, I am aware that this is an altruistic and unpaid work of the community, which I value very much, and that I did not want to offend.

I would be happy to contribute, but unfortunately, I have no knowledge of the programming languages used in the development of Musescore.

In reply to by rrchtr

>Ok, and would it be possible to get it to show the notes of the whole bar?

Yes, it wouldn't be difficult to add. I'll take a look at it this week.

>is there any option to keep the tablature linked but hidden, so that it doesn't make the page so big?

For this I had an impression there should be a way to hide a staff but I wasn't able to find it now. I only managed to hide an entire instrument but not just one of the linked staves. So I am not sure whether this is possible to do.

In reply to by dmitrio95

dmitrio95 wrote > I only managed to hide an entire instrument but not just one of the linked staves. So I am not sure whether this is possible to do.

Unfortunately it's not currently possible (in MuseScore 3.6.2) to hide individual staves of an Instrument.

However the option of hiding the individual staves of an instrument has been requested, discussed,, endorsed many users, and viewed positively by one or more developers. and noted as likely feasible without much effort post MuseScore v4, as it would required a change in file format.)

In reply to by jefkymusic

Currently plugins do not have an access to the current playback state, so unfortunately it is not possible to fix this in the current version of MuseScore. Synchronizing a playback state with plugins will require changes in MuseScore itself, in its plugin API.

Hi dimitrio95

Thank you for your plug-in. After many years break, I'm trying to refresh my sight reading skills on my classical guitar. I would ideally like to import a score and automatically view it on the fretboard so I know where the notes are, particularly as I move up to the higher frets. is this possible, or have I misunderstood the potential of Musescore and your plug-in?

In reply to by ReadyMuse

Hello! Sorry, missed your comment. What do you mean by "automatically view it on the fretboard"? If you just want to see positions of all notes to know a range that is used within the score then you can select the entire score (for example, with Ctrl+A), and the fretboard will display positions of all selected notes. As I have mentioned here, this will only work if your score already contains tablature, otherwise you will need to add a linked tablature staff to the score.

Using Fretboard Plugin for the Linnstrument

Hello there,

thank you for this plugin.
As I revently bought a Linnstrument (https://www.rogerlinndesign.com/linnstrument) and I wonder if I can use this plugin to visualize a partition on this device.
You can see the default location of the natural notes on the musical staff here :
https://www.rogerlinndesign.com/support/support-linnstrument-chord-and-…
https://uploads-ssl.webflow.com/5ad24a891dee8925107423d0/5e694a584b9630…
https://uploads-ssl.webflow.com/5ad24a891dee8925107423d0/5e6962f23df8b0…

So, do you think it's possible to use Musescore + Fretboard-Plugin as a "visualizer" for Linnstrument. If yes, how to proceed ?

Regards

Phil.B

In reply to by Phil.B

Hello!

This plugin is able to visualize and edit tablature scores, but it will probably not do anything useful without a tablature. So to visualize a Linnstrument with this plugin you would need to create a tablature for it. You can do it, for example, by creating a tablature score for guitar or a similar instrument and changing its settings the "Staff/Part properties" dialog. You would probably need to change two things:
1) the number of staff lines
2) number and tuning of strings (using the "Edit String Data" button in the same dialog)
Also you might want to change the sound of this instrument in Mixer. You can save the score then to use it as a template for new scores with this instrument.

Another issue is the visual appearance which does not match a look of the new instrument, mainly because guitar frets have different widths. The only way to get around this is to edit the plugin's code, however it should be enough to change this line to use any constant fret width (for example, implicitWidth: 25 to make frets square) to get around this issue. MuseScore restart is required after changing the plugin's code.

With these limitations and workarounds, this plugin can technically be used for visualization of such instrument, if that suits your needs.

In reply to by lfm9

Yes, the current version doesn't work with MuseScore 4. However I have already started porting the plugin to the version 4, and it seems to be generally possible. I think I will finish it maybe today or in few days, will post an update to this thread when it's completed.

Update: MuseScore 4 support

I have just uploaded a version of the plugin that works with MuseScore 4. Unfortunately MuseScore 4 lacks some part of the API that was used by this plugin so I had to use work around this using APIs that are not meant to be public and stable. Therefore it may potentially stop working with future updates of MuseScore 4, but for now it is here, and seems to mostly work as expected.

Apart from adding the new MuseScore version support, the plugin also introduces two less important changes, one of which improves handling of different instrument tunings and configurations by making use of the newer plugin API, and another adds an ability to horizontally flip the fretboard to improve the fretboard's usability for left-handed players. A bit more details (not too much more) are described in the changelog.

The new plugin can be downloaded from this link. Note that you would need to unpack the archive and place the entire directory to your Plugins folder, as simply putting one .qml file there will no longer work.

In reply to by dmitrio95

Hello, just downloaded and it seems it is working ok, great job!
It's a great tool to insert chords, but it would be amazing if in the future you could have a button where we could toggle between "chord mode" and "solo mode". The solo mode should work like this:
> if you click in the fretboard, it inserts the note and also advance automatically to the next position, if you want to insert more notes in the same position you could always toggle the mode to "chord mode"

In reply to by Shez890

No, just checked it on Mac, and it works for me. You should download the plugin from the link above (this one), extract the archive and move the extracted folder (which appears to be named "fretboard-plugin-master") to your Documents/MuseScore4/Plugins folder (or MuseScore3 if you install it for the version 3). Then the plugin should appear in the Plugins→Manage Plugins list (maybe after MuseScore restart) where it can be enabled. Then you can show the fretboard by selecting it in the Plugins menu, at least when you have a score opened.

Hi, thank you for the plugin and the update! Something I've noticed is that notes and chords don't seem to display on the fretboard unless you added them via clicking on the fretboard itself.

Is this normal behavior? If not, is there a way around this?

Attachment Size
test.png 76.49 KB

In reply to by ThatKitty

Hi! The reason of such behavior is probably that there is no tablature for the guitar part in your score. In your screenshot the guitar part is represented by a standard staff, and MuseScore doesn't keep information on strings and frets for notes on such staff. The plugin doesn't try to guess the note's string and fret and just uses the information available from MuseScore, so all notes on a standard staff except those added via the fretboard don't have this information and are not displayed by the plugin.

The workaround is to add a linked tablature staff which would mirror the content of the standard staff but would also automatically assign string and fret numbers to each note. In MuseScore 4 this can be done from the Instruments panel, like described here in the Handbook. You can then hide the tablature staff if you don't want to see it in the final score, it would still work as expected.

Maybe it would be reasonable though if the plugin could guess string and fret values for notes if there is no tablature for them, since this issue seems to cause numerous questions. Not sure if I can make this automatic guessing reasonable enough, but I will try to play with this for future updates. Anyway, for now the workaround with the linked tablature staff should work well.

In reply to by Jojo-Schmitz

Yes, string data such as number of strings and their tuning is indeed a part of an instrument. The missing part is a string and fret number of an individual note on a staff, since they normally have meaningful values only in tablature. They should either be guessed by the plugin (which it currently doesn't try to do) or be given by a linked tablature staff (which is what I suggest as a workaround for now).

In reply to by dmitrio95

Builtin "guess algorithm" is also very basic, as far, as I know, it only takes care, to multiple notes starting at same point be on different strings.
If string is already taken, use lower one.

It is easy enough to implement it into plugin itself, I think.

Peek 2023-01-08 12-27.gif

Just tried this nice plugin while inputting some tab exercises.
Two things stood out as being an efficiency concern:

1) Allow for traversing to the next input position automatically
2) Have an option to replace what exists or not

By default, no traversing occurs unless the user presses the < > buttons, and default behavior is to add to an existing note. This makes sense, but when for instance inputting some lateral work, it is extra effort to press the right arrow on keyboard or the plug-in's buttons. And replacement could be useful while retaining rhythm information. Because of this, I put together a quick change as it stands. I'm not suggesting this be default or not, but figured maybe someone else will find it useful.
With this change, a rhythm structure can be copied to another measure, but the user then can alter pitches via the plugin without touching any rhythm commands:

video.gif

Fairly simple changes to the code are found in the attached archive as 7zip. No guarantees ;)
Hell, maybe the plugin already automatically moves forward when in Note-Entry mode, but I didn't test it...

Attachment Size
fretboard-plugin-wwweary-edit.7z 127.06 KB

Hi! Thank you so much for this plugin! I read in one of the comments that visualization with playback is not supported currently. Is there a way to do it?

In reply to by Raphael Swaran

I don't know anything about programing. But if I could be helpfull in some way, I want to comment that the author of the plugin sayd in a previous comment:

"Currently plugins do not have an access to the current playback state, so unfortunately it is not possible to fix this in the current version of MuseScore. Synchronizing a playback state with plugins will require changes in MuseScore itself, in its plugin API."

But that was a couple of years ago. Maybe recent versions of musescore already support this feature. If is not the case, probabbly the right course of action is to make a feature request.

Also, there is a project related to plugins on github:
https://github.com/musescore/MuseScore/projects/66

I don't what can be done to put a feature request in the project.

I just downloaded the folder of fretboard plugin for my newly installed Muscore 4, but it can't be executed and not to mention appear in the plugin column. what should I do?

Attachment Size
fretboard.pdf 27.92 KB

I just downloaded, extracted and installed the plugin (copied it in the Standard Plugin-directory). It appears in the plugin-Manager, is enabled by me, but unfortunately it doesn’t work.
Probably I have done something wrong, I don’t know.
Can someone please tell me WHAT EXACTLY must be done ???
Do I have to copy the whole folder or just some files????
By the way, I have installed the most updated version of Musescore 4 (Windows 11).

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