[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
phantom note with transpose.
From: |
Eric Gebhart |
Subject: |
phantom note with transpose. |
Date: |
Sat, 16 Aug 2003 19:25:03 -0400 |
User-agent: |
Mutt/1.4i |
I'm new to lilypond so I'm probably doing something stupid.
But that's how my testers find bugs in my code, so...
I just wanted to see what it would take for me to programmatically
generate lilypond code to make scales and excercises...
The following code is mostly from the examples. the two transpose
sections have an extra note at the beginning. It looks like
it's the second argument to transpose.
I was going to try it with 1.8 but 1.8 fails to compile with syntax
errors....
uname -v
FreeBSD 4.8-PRERELEASE #0: Tue Feb 25 02:58:26 EST 2003
lilypond -v
GNU LilyPond 1.6.12
thanks,
Eric
scale =\notes { c d e f g a b }
\score { \notes \context Staff {
\clef "bass" \key c \major \scale
\clef "treble" \key c \major \scale
\relative c' {\scale}
\relative c'' {\scale}
\clef "treble" \key bes \major
\transpose c bes {\relative c' \scale
\relative c'' \scale
}
\clef "treble" \key d \major
\transpose c d {\relative c'' \scale }
}
\paper { }
\header {
piece = test
}
\midi { \tempo 4 = 4 }
}
- phantom note with transpose.,
Eric Gebhart <=