lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Piano_Tab Notation; questions ;-)


From: Philip Bergwerf
Subject: Piano_Tab Notation; questions ;-)
Date: Thu, 10 Mar 2016 14:12:35 -0700 (MST)

Hi everyone,

Today i typed Fur Elise into lilypond on a Piano_Tab staff. And because i am
developing Piano_Tab notation a have a bunch of questions about tweaking.

1. how can i place the rests in a custom default position? When writing low
on a staff i want a rest also low on the staff. and i think it would be more
clear if rests from voice two are always placed down and for voice one up.
How to do this?

2. I made this custom staff using
%begin
\override Staff.StaffSymbol #'line-positions = #'(enter line positions)
%end
.
Sometimes the note is not fitting on the staff so i have to change the key
or make some extra lines. (look at bar 79) I did this by the following code:
%begin
 \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16 14 12
9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27 -29
-32 -34 -36) \startStaff
%end
This is a lot of text. Is there a way to increase text when changing the
number of stafflines? 

3. Is it possible to make you own for example \pianotabStaff?

__________________________________________
%%%The Fur Elise Piano_Tab .ly
\version "2.16.2"
%Piano_Tab template

\header {
title = "Fur Elise"
subtitle = "Clavierstuck in A minor - WoO 59"
subsubtitle = " "
composer = "Ludwig van Beethoven"
tagline = "Created with Lilypond. Copyright Philip Bergwerf"
}

#(set-global-staff-size 18)

PtStaff =\relative c'' 
{<<{ 
     %v1
     \time 3/8
     r4 \bar "|:" e16 dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, gis b 
     c8 r16 e, e' dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, c' b
     \time 2/8 a4
     \time 3/8 a8 r16 b c d 
     e8. g,16 f' e
     d8. f,16 e' d
     c8. e,16 d' c
     b8[ e,16 r e'] r
     e e e' dis, e dis e dis e dis e dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, gis b 
     c8 r16 e, e' dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, c' b
     a8 r16 <c e,> <c f,> <c g e>
     \grace {f,[ a]} c4 f16. e32
     e8([ d)] bes'16. a32
     a16( g f e d c)
     bes8[ a] \grace {bes32} a g a bes
     c4 d16 dis
     e8. e16[ f a,]
     c4 d16. b32
     c[ g' g, g'] a,[ g' b, g'] c,[ g' d g]
     e[ g c b] a[ g f e] d[ g f d]
     c[ g' g, g'] a,[ g' b, g'] c,[ g' d g]
     e[ g c b] a[ g f e] d[ g f d]
     e[ f e dis] e[ b e dis] e[ b e dis]
     e8. b16[ e dis]
     e8. b16([ e]) dis(
     e) dis[( e)] dis[( e)] dis(
     e) dis e b d c
     a8 r16 c, e a
     b8 r16 e, gis b 
     c8 r16 e, e' dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, c' b
     a8 r16 b c d 
     e8. g,16 f' e
     d8. f,16 e' d
     c8. e,16 d' c
     b8[ e,16 r e'] r
     e e e' dis, e dis e dis e dis e dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, gis b 
     c8 r16 e, e' dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, c' b
     a8 r r
     <cis bes g e>4.
     <d a f>4 <e cis>16 <f d>
     <f d as>4 <f d as>8
     <e c a>4.
     <d f,>4 <c e,>16 *
      4  8
       <c e,> *
      4.
     <cis bes g e>
     <d a f>4 <e cis>16 <d f>
     <d f>4 <d f>8
     <d f>4.
     <es g,>4 <d f,>16 <c es,>
     <bes f d>4  8
     <as f d>4 <as f d>8
      4 r8
     * r r
     \times 2/3 { a,16[ c e] } \times 2/3 { a[ c e] } \times 2/3 { d[ c b] }
     \times 2/3 { a16[ c e] } \times 2/3 { a[ c e] } \times 2/3 { d[ c b] }
     { %^8va
     \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -3 -5 -8 -10 -12 -14.8 -15 -15.2 -16.8 -17 -17.2 -20 -22 -24
-27 -29 -32 -34 -36) \startStaff }
     \times 2/3 { a,16[ c e] } \times 2/3 { a[ c e] } \times 2/3 { d[ c b] }
     \times 2/3 { bes[ a as] } \times 2/3 { g[ ges f] }\times 2/3 { e[ es d]
}
     \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27
-29 -32 -34 -36) \startStaff
     \times 2/3 { des'[ c b] }\times 2/3 { bes[ a as] }\times 2/3 { g[ ges
f] }
     \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27
-29) \startStaff
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, gis b 
     c8 r16 e, e' dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, c' b
     a8 r16 b c d 
     e8. g,16 f' e
     d8. f,16 e' d
     c8. e,16 d' c
     b8[ e,16 r e'] r
     e e e' dis, e dis e dis e dis e dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, gis b 
     c8 r16 e, e' dis
     e dis e b d c
     a8 r16 c, e a
     b8 r16 e, c' b
     a8 r4
   }\\{
     %v2
     r4 r8
     R4.
     a,,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     R4.
     a,16 e' a r8.
     e,16 e' gis r8.
     a,16[ e' a] r
     \bar ":|:"
     a, e' a r8.
     c,16 g' c r8.
     g,16 g' b r8.
     a,16 e' a r8.
     e,16[ e' r e' r e]
     R4.
     R
     R
     a,,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     R4.
     a,16 e' a r8.
     e,16 e' gis r8.
     \bar ":|"
     a,16 e' a <bes c>   <g bes c>
     f a c a c a
     f bes d bes d bes
     f e' <f, g bes> e' <f, g bes> e'
     f, a c a c a
     f a c a c a
     e a c a <d d,> f,
     g e' g, e' g, f'
     <c e>8 r16 <f g> <g e> <g f d>
     <g e c>8 <f, a> <g b>
     c r16 <g' f> <g e> <g f d>
     <g e c>8 <f, a> <g b>
     <gis b> r r
     R4.
     R 
     R 
     R
     a,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     R4.
     a,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     c,16 g' c r8.
     g,16 g' b r8.
     a,16 e' a r8.
     e,16[ e' r e' r e]
     R4.
     R
     R
     a,,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     R4.
     a,16 e' a r8.
     e,16 e' gis r8.
     a,16 a a a a a
     a a a a a a
     a a a a a a
     a a a a a a
     a a a a a a
                
                
             <gis e> <gis e>
       \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27
-29 -32 -34 -36) \startStaff
       a
       \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27
-29) \startStaff
     a a a a %69
     a a a a a a
     a a a a a a
     a a a a a a
     bes bes bes bes bes bes
     bes bes bes bes bes bes
     bes bes bes bes bes bes
     b b b b b b
     c4 r8
     <e gis> r r
     \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27
-29 -32 -34 -36) \startStaff
     a,,
     r <a'' c e>
       r  
     <a, c e> r  
       r r
     R4. 
     R
     a16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     R4.
     a,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     c,16 g' c r8.
     g,16 g' b r8.
     a,16 e' a r8.
     e,16[ e' r e' r e]
     R4.
     R
     R
     a,,16 e' a r8.
     e,16 e' gis r8.
     a,16 e' a r8.
     R4.
     a,16 e' a r8.
     \stopStaff \override Staff.StaffSymbol #'line-positions = #'(21 19 16
14 12 9 7 4 2 0 -2.8 -3 -3.2 -4.8 -5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27
-29 -32 -34 -36) \startStaff
     <a, a,>8 r4
     \bar "|."
}>>}

\score {
  \new PianoStaff \with {
    staffLineLayoutFunction = #ly:pitch-semitones
    middleCPosition = #-6
    clefGlyph = #"clefs.G"
    clefPosition = #(+ -6 7)
  }{
    \override Staff.StaffSymbol #'line-positions = #'(21 19 16 14 12 9 7 4 
                                                       2 0 -2.8 -3 -3.2 -4.8
-5 -5.2 -8 -10 -12 -15 -17 -20 -22 -24 -27 -29)\time 4/4 << \PtStaff >>}
  \layout {
    \context {
      \Staff
      \remove "Accidental_engraver"
      \remove "Key_engraver"
      \remove "Clef_engraver"
    }
  }
}

If you are reading this i thank you from the bottom of my hearth! 

Regards, Philip Bergwerf



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Piano-Tab-Notation-questions-tp188410.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]