+++ /dev/null
-%{
-instrument names on grandstaffs. GR is centered on entire score
-%}
-
-
-\include "paper20.ly"
-\header{
- latexpackages = "amsmath";
-}
-
-\score{
- \notes <
- \context Staff = sa {\property Staff.instrument = "A" g,2 c''''2}
- \context Staff = sb {\property Staff.instrument = "B" g,2 c''''2}
- \context GrandStaff=gs <
- \property GrandStaff.instrument = "Gr"
- \context Staff = ga {\property Staff.instrument = "" c''1 }
- \context Staff = gb {\property Staff.instrument = "" c''1 }
- >
- \context Staff = sc {\property Staff.instrument = "foobar"
-% "\small$\mathrm{\genfrac{}{}{0pt}{0}{C}{D}}$"
-
-<g'1 c''> }
- \context Staff = sd {\property Staff.instrument = "E" c''1 }
-
- >
- \paper{
- \translator {
- \StaffContext
- \consists "Instrument_name_engraver";
- }
- \translator {
- \GrandStaffContext
- \consists "Instrument_name_engraver";
- }
-
- }
-}
-
-
-
-
+++ /dev/null
-%
-% mmrests of second voice should not disappear
-%
-% the problem is more complex: the mmrest-engraver lives at staff level,
-% but it seems that we need one per voice.
-%
-\score {
- \notes <
- \context Staff = Viole <
- \context Voice=one \partcombine Voice
-
- % ordering significant ??
- \context Thread=two \relative c''{ R1 c2 c2 }
- \context Thread=one { R1*2 }
- >
- >
- \paper {
-% {
- \translator {
- \StaffContext
- \remove Multi_measure_rest_engraver;
- \remove Bar_engraver;
- }
- \translator {
- \VoiceContext
- \consists Multi_measure_rest_engraver;
- \consists Bar_engraver;
- }
-% }
- }
-}
\ No newline at end of file
+++ /dev/null
-\header{
-filename = "denneboom.ly";
-enteredby = "jcn";
-copyright = "public domain";
-}
-%{ file tests silly line shapes %}
-% Broken since 1.3.55
-
-\include "paper20.ly"
-
-
-
-oden = \lyrics{
- O |
- den- ne- boom, o |
- den- ne- boom Wat |
- zijn uw tak- ken |
- won- der- schoon
-}
-
-ikheb = \lyrics{
- Ik |
- heb u laatst in_'t |
- bos zien staan toen |
- zat- en er geen |
- kaars- jes aan
-}
-
-ugloeit = \lyrics{
- U |
- gloeit in bar- re |
- win- ter- tijd, als |
- sneeuw op aar- de |
- licht ge- spreid
-}
-
-oboom = \notes\transpose c''{
- g,8 |
- c8. c16 c4. d8 |
- e8. e16 e4. e8 |
- d e f4 b, |
- d8. c16 c4 r8
-}
-
-bos = \notes\transpose c''{
- g8 |
- g e a4. g8 |
- g8. f16 f4 r8 f8 |
- f d g4. f8 |
- f8. e16 e4 r8
-}
-
-
-melody = \notes{
- \oboom
- \oboom
- \bos
- \oboom
-}
-
-
-verseOne = \notes{
- \oden
- \oden
- \ikheb
- \oden
-}
-
-verseOneStaff = \context Lyrics = one
- \$verse_one
-
-
-verseTwo = \notes{
- \oden
- \oden
- \ugloeit
- \oden
-}
-
-verseTwoStaff = \context Lyrics = two
- \$verse_two
-
-
-denneboomShape = \paper{
- \paperTwenty
- indent = 20. \mm;
-
- % UGH -- THIS IS HAIRY
- #'margin-shape = #(map
- (lambda (x) (cons-map mm-to-pt x))
- '((70.0 . 20.)
- (65.0 . 30.0)
- (57.5 . 45.0)
- (50.0 . 60.0)
- (42.5 . 75.)
- (35.0 . 90.)
- (27.5 . 105.)
- (20.0 . 120.0)
- (10.0 . 140.0)
- (65.0 . 30.0))
- )
-
- gourlay_maxmeasures = 30.;
- arithmetic_basicspace = 3.8;
- arithmetic_multiplier = 8.\pt;
-}
-
-\score{
- \addlyrics
- \context Staff { \time 3/4; \melody }
- \context Lyrics \$verse_one
- \paper{
- \$denneboom_shape
- }
- \midi{ \tempo 4 = 90; }
-}
+++ /dev/null
-
-
-
-\score{ \sequential {\clef bass ; }
-\paper { \translator { \type Score_engraver ; \name "Score"; }
- linewidth =1.5\cm;
-
-}
-
-}
+++ /dev/null
-
-\include "paper-as5.ly"
-
-\score {
- \notes\relative c''{
- \time 4/4;
- g1 a b c
- g2 a b c
- g4 a b c
- }
- \paper {
- \paperAs_five
- \translator { \StaffContext barSize = #5 }
- }
-
-}
-
+++ /dev/null
-
-
-voiceOne = \notes\transpose c''{ \stemUp
- R1 * 2 | f'4-. r r2 | R1 * 3 |
- f'4-. r r2 | R1 * 3 |
- es'4-. r r2 | r1 |
- \property Score.skipBars = ##t6
- g4-. r r2 | g4-. r r2 |
- R1 * 5 |
- r2 r4 g4-. |
- }
-
-voiceTwo = \notes
- { \transpose c' { \stemDown
- R1 * 2 | f'4-. r r2 | R1 * 3 |
- f'4-. r r2 | R1 * 3 |
- es'4-. r r2 | r1 |
- \property Score.skipBars = ##t6
- g4-. r r2 | g4-. r r2 |
- R1 * 5 |
- r2 r4 g4-. |
-
- }}
-
-\score { \notes
- \context Staff <
- \voiceTwo
- \voiceOne
- >
-
- }
-
+++ /dev/null
-
-% Test parser error
-
-\score{
+++ /dev/null
-
-% Test parser error
-
-foo = \notes{
-
-
-\score{
-}
+++ /dev/null
-
-% Test parser error
-
-foo = \notes{
-
-
-\score{
-
+++ /dev/null
-
-% Test parser error
-
-foo = \notes{
-}
-
-
-\score{
- burp
-}
-
+++ /dev/null
-
-
-%{
-
-Look at ly/engraver.ly for inspiration on which XXXX
-there are.
-
-Generally, you can find interesting element properties associated with
-\property in scm/generic-property.scm. For example, this file contains
-
- (define generic-stem-properties
- (cons 'stem-interface
- (list
- (list 'stemVerticalDirection dir? 'direction)
- (list 'verticalDirection dir? 'direction)
- (list 'stemLength number? 'length)
- (list 'flagStyle string? 'flag-style)
- )))
-
-
-which means that setting \property stemVerticalDirection overrides
-setting \property verticalDirection, and that both have the effect of
-setting `direction' in Stem object. You can use \overrideproperty for
-setting stem directions by doing.
-
-
- \overrideproperty #'(Stem) #'direction #1
-
-(#-1 if you want down).
-
-A modest amount of memory is involved each time you do a
-\overrideproperty. If you do \revertproperty in the right order (reversed
-from \overrideproperty), then \revertproperty doesn't cost memory.
-
-Correct:
-
- \overrideproperty #'( ... ) #'symbolA #valueA
- \overrideproperty #'( ... ) #'symbolB #valueB
- \revertproperty #'( ... ) #'symbolB
- \revertproperty #'( ... ) #'symbolA
-
-Incorrect (\revertproperty costs memory):
-
- \overrideproperty #'( ... ) #'symbolA #valueA
- \overrideproperty #'( ... ) #'symbolB #valueB
- \revertproperty #'( ... ) #'symbolA
- \revertproperty #'( ... ) #'symbolB
-
-You can use identifiers, eg.
-
- slursUp = \context Voice \overrideproperty '(Slur)
- #'direction #1
- slursBoth = \context Voice \revertproperty '(Slur)
-
-%}
-
-\score { \notes
-\relative c' {
- c4-.(
- \property Voice.Dots \override #'direction = #-1
- \property Voice.Stem \override #'direction = #-1
- \property Voice.noteColumnProperties \override #'direction = #-1
- \property Voice.Stem \override #'direction = #-1
-
- ) c4-. (
- ) c4-. (
- \property Voice.Slur \override #'direction = #-1
- ) c4-. (
-
- \property Dots \revert #'direction
- \property Stem \revert #'direction
- \property Script \revert #'direction
- \property Text \revert #'direction
-
- ) c4-. () c4-.
-}
-
-\paper {
-\translator { \VoiceContext
- NoteHead \override #'font-relative-size = #-2
-}
-}
-}
+++ /dev/null
-
-\score{
- <
- \context Staff \notes\relative c'{
- c d e f
- \repeat "volta" 2 { g a b c }
- \alternative { { c b a g } { f e d c } }
- }
- \context Lyrics \lyrics {
- De eer- ste < { maat } { moet } >
- \repeat fold 2 { }
- \alternative {
- { en dan twee keer }
- { een koe- plet _ }
- }
- en dan nog dit er ach- ter aan
- }
- >
-}
+++ /dev/null
-
-\score {
- \context Voice \notes\relative c {
- c'' d e f | \repetitions1*3 |
- \time 3/4;
- g4 a b | R2.*2 |
-
- }
- \paper { }
- \midi { }
-}
+++ /dev/null
-
-\score {
- \context Voice \notes\relative c {
- % to see the magic: uncomment size stuff in init/paper20.ly
-
- c'4 c4
-
- \property Voice.fontsize= -2
- b16 * 1 / 2 (
- \property Voice.fontsize= 0 )
- g4 *31/32
-
- a a g2
-
- }
- \paper { }
- \midi { }
-}
+++ /dev/null
-
-
-
-
-\include "paper-as5.ly"
-
-\score {
- \context StaffGroup <
- \context Staff=upper \notes\relative c{
- \key f \major;
- \time 3/4;
- r8^"Moderato" %\pp
- <g'-. c-.> <c-. es-.> <g-. c-.> <c-. es-.> <g-. c-.> |
- r8 <as-. c-.> <c-. es-.>
- }
- \context Staff=lower \notes\relative c{
- \key f \major;
- \time 3/4;
- \clef "bass";
- <c,2 c'> r4
- <as2 as'> r4
- }
- >
- \paper {
-% \paperAs_nine
- indent=4.0\char;
- linewidth=78.0\char;
- \translator { \StaffContext barSize = #4.5 }
- %\translator { \VoiceContext beamHeight = #0 }
- \translator {
- \VoiceContext
- beamHeight = ##f
- autoBeamSettings \override (begin * * * *) = #(make-moment 0 1)
- textNonEmpty = ##f
- }
- }
-
-}
-
+++ /dev/null
-
-
-\include "paper-as9.ly"
-
-\score {
- \context GrandStaff <
- \context Staff=upper \notes\relative c{
- \key f \major;
- \time 3/4;
- r8^"Moderato" %\pp
- <g'-. c-.> <c-. es-.> <g-. c-.> <c-. es-.> <g-. c-.> |
- r8 <as-. c-.> <c-. es-.>
- }
- \context Staff=lower \notes\relative c{
- \key f \major;
- \time 3/4;
- \clef "bass";
- <c,2 c'> r4
- <as2 as'> r4
- }
- >
- \paper {
-% \paperAs_nine
- indent=4.0\char;
- linewidth=78.0\char;
- %\translator { \StaffContext barSize = #9 }
- %\translator { \VoiceContext beamHeight = #0 }
- \translator {
- \VoiceContext
- beamHeight = ##f
- autoBeamSettings \override (begin * * * *) = #(make-moment 0 1)
- textNonEmpty = ##f
- }
- }
-
-}
-
+++ /dev/null
-
-\score{
- \notes\relative c''{
- \time 2/4;
- c~c\break
- c()c
- }
- \paper{
- linewidth=-1.\mm;
- tie_x_minimum=40.0*\interline;
- }
-}
+++ /dev/null
-\header{
-filename = "twinkle.ly";
-title = "Twinkle Twinkle Little Star";
-composer = "Traditional";
-enteredby = "hwn and jcn";
-copyright = "public domain";
-}
-
-
-
-\include "paper-as5.ly"
-
-melody = \notes \relative c'' {
- \time 2/4;
- c4 c | g' g | a a | g g |
-%{
- f f | e e | d d8.( e16 | )c2 |
-
- g'4 g | f f | e e | d d |
- g g | f f | e( e8. f16 | e4 )d |
-
- c c | g' g | a a | g g |
- f f | e e | d d8.( e16 | )c2 |
-%}
-}
-
-accompany = \notes \relative c {
- \clef "bass";
- \time 2/4;
- c4 c' | e c | f c | e c |
-%{
- d b | c a | f g | c,2 |
-
- e'4 g, | d' g, | c g | b g |
- e' g, | d' g, | c c8.( d16 | c4 )b |
-
- c, c' | e c | f c | e c |
- d b | c a | f g | c,2
-%}
-}
-
-
-text = \lyrics{
- Twin -- kle, twin -- kle, lit -- tle star, " "
-%{
- How I won -- der what you " " are.
- Up a -- bove the world so high, " "
- Like a dia -- mond in the " " sky. " "
- Twin -- kle, twin -- kle, lit -- tle star, " "
- How I won -- der what you " " are!
-%}
-}
-
-\score{
- \context GrandStaff <
- \addlyrics
- \context Staff=upper \melody
- \context Lyrics=between \text
- \context Staff=lower \accompany
- >
- \paper{
- \translator { \GrandStaffContext \accepts "Lyrics"; }
- indent=4.0\char;
- linewidth=78.0\char;
- }
-}
-
+++ /dev/null
-\score {
- \context Voice \notes\relative c {
- % this used to work (long time ago):
- % <{\voiceOne e}
- % {\voiceTwo c}>
-
- % now we need:
- <\context Voice=one {\voiceOne e}
- \context Voice=two {\voiceTwo c}>
-
- }
- \paper { }
- \midi { }
-}
+++ /dev/null
-
-fragment = \notes {
-
-}
-
-\paper { linewidth = -1.; }
-
-\score {
- \notes\relative c \fragment
- \paper { }
-}