lilypond-user
[Top][All Lists]
Advanced

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

Flamenco notation, something for LSR?


From: Oscar van Eijk
Subject: Flamenco notation, something for LSR?
Date: Tue, 18 Mar 2008 18:38:59 +0100

Hi All,

I promise, this is my last mail in a row about flamenco notation :)

I've been figuring out a few options, and came up with something that
might be useful for the LSR.
It's not perfect, but my current knowledge is insufficient for further
fine- tuning. Any help is welcome, but I think most Flamenco guitarists
will have some good notation options here.

The example is at http://vaneyck.terra-terra.com/flamenco.pdf

Enjoy,
Oscar

\version "2.11.41"

% Text indicators
abanico   = \markup{\italic Abanico}
rasgueaso = \markup{\italic Ras.}
alzapua   = \markup{\italic Alzapua}

% Finger stroke symbols
strokeUp = \markup {\postscript #"
  0.1     setlinewidth
  0.5 0   moveto
  0.5 2   lineto
  0.2 1.4 lineto
  0.5 2   moveto
  0.8 1.4 lineto
  stroke
  "}

strokeDown = \markup {\postscript #"
  0.1     setlinewidth
  0.5 2   moveto
  0.5 0   lineto
  0.2 0.6 lineto
  0.5 0   moveto
  0.8 0.6 lineto
  stroke
  "}


% Stokes for all fingers
pUp   = \markup {\column { \small p \line {\strokeUp}}}
pDown = \markup {\column { \small p \line {\strokeDown}}}
iUp   = \markup {\column { \small i \line {\strokeUp}}}
iDown = \markup {\column { \small i \line {\strokeDown}}}
mUp   = \markup {\column { \small m \line {\strokeUp}}}
mDown = \markup {\column { \small m \line {\strokeDown}}}
aUp   = \markup {\column { \small a \line {\strokeUp}}}
aDown = \markup {\column { \small a \line {\strokeDown}}}
xUp   = \markup {\column { \small x \line {\strokeUp}}}
xDown = \markup {\column { \small x \line {\strokeDown}}}


% Golpe symbol
golpe = \markup {\postscript #"
  0.2 setlinewidth
  0 0 moveto
  1 0 lineto
  1 1 lineto
  stroke
  "\postscript #"
   0.1       setlinewidth
  -0.6 -0.1  moveto
  -0.6  1.0 lineto
   0.5  1.0 lineto
  stroke
  "}

% Just handy :)
tupletOff = {
  \once \override TupletNumber #'transparent = ##t
  \once \override TupletBracket #'transparent = ##t
}

tupletsOff = {
  \override TupletNumber #'transparent = ##t
  \override TupletBracket #'transparent = ##t
}

tupletsOn = {
  \override TupletNumber #'transparent = ##f
  \override TupletBracket #'transparent = ##f
}

headsOff = {
  \override TabNoteHead #'transparent = ##t
  \override NoteHead #'transparent = ##t
  \override NoteHead #'no-ledgers = ##t
}

headsOn = {
  \override TabNoteHead #'transparent = ##f
  \override NoteHead #'transparent = ##f
  \override NoteHead #'no-ledgers = ##f
}

part = \relative c' {
  <a, e' a cis e>8^\iUp
  <a e' a cis e>8^\iDown
  r4
  r2^\golpe
    
  <a e' a cis e>16^\aUp
  \headsOff 
  <a e' a cis e>^\mUp
        <a e' a cis e>^\iUp
        <a e' a cis e>^\iDown~
  \headsOn
  <a e' a cis e>2
        r4


  \tupletOff
  \times 4/5 {
    <a e' a cis e>16^\xUp
    \headsOff
    <a e' a cis e>^\aUp
    <a e' a cis e>^\mUp
    <a e' a cis e>^\iUp
    <a e' a cis e>^\iDown~
    \headsOn
  }
        <a e' a cis e>2
        r4

    
  \tupletsOff
  \times 2/3 {
    <a e' a cis e>8^\pDown
    \headsOff
    <a e' a cis e>^\xUp
    <a e' a cis e>^\iUp
    \headsOn
  }
  
  \times 2/3 {
    <a e' a cis e>8^\pDown
    \headsOff
    <a e' a cis e>^\xUp
    <a e' a cis e>^\iUp
    \headsOn
  }
    
  \times 2/3 {
    <a e' a cis e>8^\pDown
    \headsOff
    <a e' a cis e>^\xUp
    <a e' a cis e>^\iUp
    \headsOn
  }
  \times 2/3 {
    <a e' a cis e>8^\pDown
    \headsOff
    <a e' a cis e>^\xUp
    <a e' a cis e>^\iUp
    \headsOn
  }
  \tupletsOn
    

  \tupletsOff
  \times 2/3 {
    a8^\markup{\small p}
    <e' a>^\strokeUp^\golpe
    <e a>^\strokeDown
        }
        \times 2/3 {
    a,8^\markup{\small p}
    <e' a>^\strokeUp^\golpe
    <e a>^\strokeDown
  }
        \times 2/3 {
    a,8^\markup{\small p}
    <e' a>^\strokeUp^\golpe
    <e a>^\strokeDown
  }
        \times 2/3 {
    a,8^\markup{\small p}
    <e' a>^\strokeUp^\golpe
    <e a>^\strokeDown
  }
  \tupletsOn
    
  \once \override TextScript #'extra-offset = #'(0 . -1)
  <g, b f'>1_\golpe^\mUp

  \bar "|."
}

\score {
        \new StaffGroup <<
                \context Staff=part <<
                        \clef G
                        \transpose c c'
                        {
                                \part
                        }
                >>
                \context TabStaff {
                        \part
                }
        >>
        \layout{
                ragged-right = ##t
        }
}






reply via email to

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