This is an old revision of the document! Table of ContentsPercussion NotationNow that I'm learning to play the drums, it's inevitable that I will want to use Rosegarden to notate something. Instead of trying to implement the entire spectrum of percussion notation, I want to begin by focusing on notation for a drum set. This is basically four voices on one staff, with various special symbols. Working backwards from LilyPond is the way to go here. If LilyPond can't render it, we needn't bother. ClefThe usual way to decide where to draw a note involves using clef, key, and accidental information to choose a height on staff and presentation for a given MIDI pitch. A standard clef won't work for percussion. We need a way of mapping the bass drum sounding pitch to the correct staff height for the bass drum. This wants to be configurable and editable. Are there three toms or four? A cowbell? It shouldn't be too unreasonable to make the clef examine the pitch, compare to the table, and return the height in the usual fashion. Questions to ConsiderDrum kit notation is polyphonic notation. By the nature of the notation and of Rosegarden, it's going to have to work as four (or more) totally independent segments. Seems like a workflow to consider is loading a standard GM file with a percussion part you want to learn. The Split function needs a new capability to split a segment such that each individual pitch ends up in a new segment. Some things will want to be combined. There are at least three standard hi-hat sounds that will all want to translate onto the hi-hat line. A smart function would notate each of them appropriately. Closed hat gets the X note head, etc. How to handle the ride vs. ride bell in GM? On my personal electronic drum kit, getting the bell sound is dependent on the drum kit used. Some of them have layered patches, some of them don't, and on the layered ones, you get the bell sound by crossing a velocity threshold. A smart function would take a GM ride bell and turn it into a ride with a suitably scaled velocity. How much of that is general practice, and how much of that is hard coding things for Michael's particular cheap entry level starter drum kit? I'm done thinking for now. I'm going to need to do a lot of thinking and planning before I think about coding anything, and I don't know what odds I'd put on my actually getting this done. Random thought: maybe the lookup table could exist in track parameters instead of being associated with the clef. Meh. Sleepy now. Quick note to self: As I learn and grow with the new drum set, the number one thing I'm in a hurry to do is load some classic MIDI file and use it to learn the pattern, via printed notation. Before I go off and spend a month of free time writing a notation feature, I should go look at MusE Score for one thing, and see if there's something already on the shelf. I'd rather spend time learning drums than writing code at this point. I got into drumming to get my fat ass some exercise, and it's working! A Bazillion StandardsSo I got a couple of drum books from Hal Leonard. To my surprise, there is no key to what line is which drum. Surveying what's what, it looks like they expect me to know this is that, because they follow the standard of the Percussive Arts Society. Just at a casual glance, it's highly obvious that the scheme LilyPond supports by default is quite different from this. Maybe it's an America vs. everyone else in the world kind of thing, like our weights and measures and our name for what every other country on the fricking planet calls football. Anyway, it's highly obvious that drum notation will have to be extremely configurable and flexible if it is to do anyone any good. Failing that, I'll just implement it the same way as all these books, since that's what I'm learning. (And getting the hang of to a rather satisfying degree.) |