Breton bagpipe notation
Hi all, Is it possible to setup the basic template for Breton bagpipe notation? (as opposed to Scottish notation, Breton notation has all melody notes stem-up and all grace notes/embellishments stem-down.) Here is the code for Scottish notation: \version "2.19.2" \layout { \context {\Voice% All stems go down.\override Stem.direction = #DOWN% All slurs and ties are on top.\override Slur.direction = #UP \override Tie.direction = #UP }} This code makes all melody notes stem-down and all embellishments/grace notes stem-up. Is there a way to do the reverse, without having to do \stemDown \taor\stemUp a\StemDown \dblb\stemUp b... every time?(\taor and \dblb are defined variables in bagpipe.ly) A reply would be much appreciated. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Breton bagpipe notation
guocuozuoduo wrote > Is it possible to setup the basic template for Breton bagpipe notation? > (as opposed to Scottish notation, Breton notation has all melody notes > stem-up and all grace notes/embellishments stem-down.) > > Here is the code for Scottish notation: > > \version "2.19.2" > \layout { > ... can you simply reverse the definitions in the \layout section? or can you give a tiny example how this should look like? Scottish and Breton? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Breton-bagpipe-notation-tp159010p159066.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Breton bagpipe notation
Eluze wrote > > guocuozuoduo wrote >> Is it possible to setup the basic template for Breton bagpipe notation? >> (as opposed to Scottish notation, Breton notation has all melody notes >> stem-up and all grace notes/embellishments stem-down.) >> > can you simply reverse the definitions in the \layout section? > or can you give a tiny example how this should look like? Scottish and > Breton? guocuozuoduo wrote > \score { > \new Staff { > \key d \major > \marchTime > \bar ".|" > \stemUp > \partial 8 e8 > \stemDown \grg > \stemUp a4 > \stemDown \taor > \stemUp a8. b16 > \stemDown \dblc > \stemUp c8 > \stemDown \gre > \stemUp a > \stemDown \dblc > \stemUp c e > \stemDown \dblA > \stemUp A4 > \stemDown \grg > \stemUp A > \stemDown \grip > \stemUp A8 e > \stemDown \dblc > \stemUp c > \stemDown \gre > \stemUp a > } > \header { > piece = "Breton notation" > } > \layout { > \context { > \Voice > % All stems go up. > \override Stem.direction = #UP > % How would you tell LP that all \pgrace needs to be stem-down while the > remaining notes to be stem-up? > % All slurs and ties are below. > \override Slur.direction = #DOWN > \override Tie.direction = #DOWN > } > } > } > [...] please always respond to the list! please always send such lists of code as file attachment (if needed at all)! to your question: $(add-grace-property 'Voice 'Stem 'direction -1) in the code or layout section should do the trick. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Breton-bagpipe-notation-tp159010p159071.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Breton bagpipe notation
Am 11.02.2014 04:45, schrieb guoguocuozuoduo: > thanks, this worked. > And what do you mean by > > > please always respond to the list! > ? > hi Brian glad it works your question came in thru LilyPond's user-list Lilypond-User originally all the people reading your contribution might also be interested in follow ups to this question Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user