lilypond-user
[Top][All Lists]
Advanced

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

Template for The Stick?


From: Vaylor Trucks
Subject: Template for The Stick?
Date: Wed, 5 Apr 2006 10:49:07 -0400

I've started learning the Chapman Stick, and I've decided to chart my progress on my blog.  Perfect opporunity for Lilypond to shine (yet again).  I'd like to create a template for printing music for The Stick.  It should have a grand staff (for left and right hand parts) and 2 tab staves - each 5 lines.

 

I've already figured out how to do 1 staff / custom tab pair, but whenever I try to introduce a second tab staff, the notes end up being rendered on the first one.  Below is my sample.

 

Any thoughts?

 

\version "2.6.0"

\header
{
 title = ""
 composer = ""
 meter = ""
}

% ----- STICK -----

sl = \relative c,
{
 \key d \major
 \time 4/4

 d8\1 e\1 fis\1 g\1 a\2 b\2 cis\2 d\2
}

staffl = {
 \set Staff.instrument = #"Stick LH"
 \clef bass
 \context Staff << \sl >>
}


% ----- CHORDS -----

chordline = \chordmode
{
 d1
}

% ----- SCORE -----

\score
{
 <<
  \context ChordNames = chords \chordline
  \context Staff = lower \staffl
  \context TabStaff <<
   \set TabStaff.stringTunings = #'(-24 -17 -10 -3 4)
   \set Staff.instrument = #"Stick LH"
   \sl
  >>
 >>
 \layout {raggedright = ##t}
 \midi { \tempo 4=120 }
}




reply via email to

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