[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Template for The Stick?
From: |
Mats Bengtsson |
Subject: |
Re: Template for The Stick? |
Date: |
Wed, 05 Apr 2006 19:42:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3 |
Just use \new TabStaff instead of \context TabStaff to make sure to get
a new one.
/Mats
Vaylor Trucks wrote:
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 }
}
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================