feat(drums/tabs): allow showTablature for percussion (drums) notation#2591
feat(drums/tabs): allow showTablature for percussion (drums) notation#2591leocaseiro wants to merge 3 commits intoCoderLine:developfrom
Conversation
|
I found out an issue when loading some weird .gp that don't have the correct string. These ones are ignored in TuxGuitar, and are loaded only in the staff on GuitarPro, but not in tabs. |
|
I think this PR needs some more polishing to handle the real-world file scenarios correctly and I am wondering if these "tabs" are really something drummers want to see. The drummers I talked to in the past, would not know how to read/play such numeric tabs. Arobas is changing back-and-forth with the feature to allow tabs for percussion. It is not guaranteed that a score.gpif defines strings for percussion notes as some versions didn't support this. If we want to support such display, alphaTab would need to be extended overall to support this. e.g. in all exporters and importers we would need to handle it correctly. Your change currently breaks various assumptions and checks within alphaTab as it does not support mixing "fret/string" and "percussion articulations" within one staff. I think it would be better to first collect the full scope of supporting "numeric drum tabs" and then implement things across all areas. |
|
Hi @Danielku15, thank you so much for the feedback, and context. I apologise that my approach might break something that I'm unaware. I really wanted to able to see both notation and what midi input we have in each drum I agree that some drummers might not use the numbers in isolation to read, but I have 2 edge cases for those to use combined with the standard notation.
The second case is a experiment in doing that uses alphatab as a rhythm game. It's more useful for drums, but could use for keyboard, and my goal in the future is to try identify the frequency via microfone to listen to guitar too. The drum midi notes, is useful to identify why my notes are not the correct one. Unfortunately, there are too may variations of drum notations. Some drummers use the 35 for the bass drum kick, when others use 36, instead. Eg with 36 https://www.songsterr.com/a/wsa/metallica-one-drum-tab-s444 Eg with 35 https://www.songsterr.com/a/wsa/metallica-all-metallica-songs-drum-tab-s558950 For toms, the variation is even more discrepant. Where some drummers would use high time with 48, and others with 47 or 50. Eg So having the number in the UI, helps to the player to map the drum note properly. As my approach wasn't the best one, I am willing to discuss a better option. Do you use discord or something else? Or here in GH is your best contact? Thanks in advance. |
Issues
Related to #474
Proposed changes
In this PR, I am allowing the display of tablature for drums as well.
This is useful to identify different patterns in drum guitar pro files. As some drummers use on kick (35) or another (36), or alternative toms that can be considered T1 (high), T2 (medium), or Floor Tom (low), but is quite different from gp file to file.
This feature is already available in Guitar Pro, Tux Guitar, and Soundslice.
Luckily for us, *.gp files already provide the string, and fret as an alternative tuning:
eg.
Checklist
Further details
I have included, as part of

test-data, an example with default values from GuitarPro. (drum-tabs.gp).GuitarPro allows customising the line for each note individually, so I also added a file with custom settings for the same note (e.g., bass drum - 36).