Hi I'm using Lilypond to generate scores for Schwyzeroergeli which is a three row diatonic accordion. The notation looks pretty much like normal scores however it is interpreted differently: * Notes on a bar are played with the middle row * Notes between a bar are played with the outer row * Notes between a bar with a double sharp are played with the inner row So far so good. I can easily do this with the existing lilypond infrastructure. I have to do a few tweeks to get rid of the Clef, make sure all accidentals are written, etc. What the notation also needs to convey is if the accordion should be pushed or pulled. For this the notation contains something like a RhythmicStaff below the melody staff which is thin or thick (thin = pull, thick = push). Also on top of this second staff there are numbers that tell you which bass to play. A big number tells you to play the right row on the base side (just the base note) and a small number means you have to play the left row the base side (the major chord for this base). I managed to put a RhythmicStaff below the melody staff which contains the numbers as they should appear. Now I have a few things missing: 1. How to make the one bar in the RhythmicStaff is thick for some measures or even just for some notes? Maybe r2 could be used if it wasn't centered? 2. I don't need the repeat volta in the RhythmicStaff. Ok I managed to make it invisible (with \property RhythmicStaff.VoltaBracket \override #'transparent = ##t). However it still takes up a lot of space. How can I avoid this? 3. I would like the bars to span the melody and the RhythmicStaff. How can I do that? 4. Lastly, the source code contains some scm and ly files for Accordions but the documentation doesn't mention anything. Has there been other efforts to use Lilypond for diatonic accordion music? Attached is my score that I translate with Lilypond 1.3.150. Thanks for Lilypond anyway. I love it.
\header{ title = "De R\\\"adigigel" subtitle = "L\\\"andler" composer = "Rees Gwerder" enteredby = "Christian Egli" } % #(set! point-and-click line-column-location) melody = \notes \relative c'' \sequential { \time 3/4 \partial 4 \property Staff.forgetAccidentals = ##t b8 b | \repeat "volta" 2 { b4 c g a4. c,8 a4 g8 a c g8 a c e4 disis8 gisis,8 c4 eisis4 f g e4. disis8 a4 } \alternative { { f8 a c f,8 a c c4 c8 disis8 a4 } { f8 a c disis gisis, c <c4 a> r4 c8 c } } \bar "|." \repeat "volta" 2 { c4 a8 c aisis' a, c8 c a disis e4 disis8 disis a disis f e } \alternative { {e4 gisis,8 c8 a4} {<a,4 e'> r4 f8 b} } \bar "|." \repeat "volta" 2 { a,4 g' a disis, gisis, c a c8 a c a gisis4 r a8 a a4 c8 a c a gisis4 r a8 a % FIXME: lieber stossen a4 d8 a d a f4 r4 f8 b a4 g' a disis, gisis, c a c8 a c a gisis4 r a8 a a4 b a a4 g' a disis, <b4. disis> <b8 disis> <b4 disis> r2 } } bass = \notes \sequential { \partial 4 \property RhythmicStaff.TimeSignature \override #'transparent = ##t % \property RhythmicStaff.VoltaBracket \override #'molecule-callback = ##f \property RhythmicStaff.VoltaBracket \override #'transparent = ##t s4 | s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^#'(lines ((font-relative-size . -2) "6") "6" ) s s %B s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^"4" s^#'((font-relative-size . -2) "4") s^#'((font-relative-size . -2) "4") s4^"4" s^#'((font-relative-size . -2) "4") s^#'((font-relative-size . -2) "4") s4^"5" s^#'((font-relative-size . -2) "5") s^#'((font-relative-size . -2) "5") s4^#'(lines ((font-relative-size . -2) "5") "5" ) s s %C s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"6" s^#'((font-relative-size . -2) "6") s^#'((font-relative-size . -2) "6") s4^"7" s^#'((font-relative-size . -2) "7") s^#'((font-relative-size . -2) "7") s4^#'(lines ((font-relative-size . -2) "7") "7" ) s s } accompaniment = \chords { r4 as as } \score { \simultaneous { \context Staff = mel { \melody } % \context ChordNames \accompaniment \context RhythmicStaff { % \context Staff = bass { \bass } } \paper { \translator { \StaffContext \remove Clef_engraver } linewidth = 17.0 \cm } }
-- Christian Egli Switching Test Solutions AG an Acterna Company, Foerrlibuckstrasse 62, CH-8037 Zuerich