X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Frhythm.ly;h=cabd887437636806c717fc9c6df1a497eba39914;hb=7fb17937c5ba5aa779b2a1a8040403ee446c6b7b;hp=042d9cddc0cc7e798f388c203a729b0a9187cb49;hpb=04f01c7e890bd4f1b358378e5911fb7c117c3802;p=lilypond.git diff --git a/input/rhythm.ly b/input/rhythm.ly index 042d9cddc0..cabd887437 100644 --- a/input/rhythm.ly +++ b/input/rhythm.ly @@ -1,45 +1,31 @@ -%{MudelaHeader - - filename:rhythm.ly - title: - description: - composers: - entered-by:HWN - copyright:public domain +\header{ +filename = "rhythm.ly"; +enteredby = "HWN"; +copyright = "public domain"; +TestedFeatures = "multiple meters, beaming, unsynced bars, userdefd engravers"; +} - Tested Features: multiple meters, beaming - unsynced bars -EndMudelaHeader -%} -\version "0.0.57"; -% -% Ive' got rhythm! -% -% add any impressive examples here, please -\version "0.0.57"; +\version "1.2.0"; -ritme = \staff { - melodicregs - \melodic{ %\octave ; +ritme = \notes\transpose c'' { + \time 4/4; \partial 8; - \octave c'; - \meter 4/4; c8 | [a8~ a8. a8 a16 a16 a16] c4. | % watch the beams! r32 r32 r16 r8 r4 r2 | - \meter 5/16; + \time 5/16; % divide measure in 5 equal parts. Usually it 2+3 or 3+2 - \grouping 16*5 ; + [c8 c16 c8 ] | % watch THIS! - [c16 c16 c16 c16]5/4 | - \meter 2/8; + \times 5/4 { [ c16 c16 c16 c16] } | + \time 2/8; c4 | c4 c4 c4 c4 - \meter 4/4; + \time 4/4; c1 c1 c1 % [c16 c16 c16 c16 ] | @@ -48,29 +34,42 @@ ritme = \staff { } -} -another = \staff { - melodicregs - \melodic{ \meter 4/4; - c1. c1. c4 c4 c4 c4 \meter 4/4; c1 c1 c1 + +another = + \notes \relative c'' { \time 6/4; + c1. c1. \time 4/4;c4 c4 c4 c4 c1 c1 c1 } -} -yanother = \staff { - melodicregs - \melodic{ \meter 4/4; + +yanother = + \notes{ \time 4/4; c1 c1 c1 c4 c4 c4 c4 c1 c1 c1 } -} + \score{ - ritme - another - yanother + \context StaffGroup < + \ritme + \another + \context RhythmicStaff { + \yanother + } + > - \midi { } \paper{ - \unitspace 2\cm - \geometric 1.3 + + %% remove Timing_engraver and Bar_number_engraver + \translator { + \ScoreContext + \remove "Timing_engraver"; + } + \translator { + \RhythmicStaffContext + \consists "Timing_engraver"; + } + \translator{ + \StaffContext + \consists "Timing_engraver"; + } } }