User:MartialR: Difference between revisions
Appearance
Ignoring parts of the score - Go to the desired measurement and the number of measurements you want to see or hear. |
Ignoring parts of the score - Go to the desired measurement and the number of measurements you want to see or hear. |
||
| Line 14: | Line 14: | ||
% \new Devnull \Gotandseehere Time #(measurement number to see) #(number of measurements to see) | % \new Devnull \Gotandseehere Time #(measurement number to see) #(number of measurements to see) | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |||
music= \relative c' { \key a \major | music= \relative c' { \key a \major | ||
\time 3/4 | \time 3/4 | ||
| Line 33: | Line 34: | ||
} | } | ||
\markup"Go to m4 and see 3 measures" | \markup"Go to m4 and see 3 measures" | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |||
Revision as of 19:44, 7 January 2026
Skiptypesetting
% Measure_Time_duration - Go_to_measure - number of measurement you want see
Goandseehere = #(define-music-function (d a nt) (ly:duration? number? number?)
#{
\set Score.skipTypesetting = ##t
r$d * #(- a 1)
\set Score.skipTypesetting = ##f
r$d * #nt
\set Score.skipTypesetting = ##t
#})
% use :
% \new Devnull \Gotandseehere Time #(measurement number to see) #(number of measurements to see)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
music= \relative c' { \key a \major
\time 3/4
b8 cis d4 d8 e
fis4. gis8 b gis
\tuplet 3/2 { fis8 gis fis } e2~e2.
b8 cis d4 d8 e
fis4 gis8[ cis] b[ gis]
\tuplet 3/2 { fis gis fis } e2~e2.}
\score { \new Staff { \clef "treble" \music }
\layout { }
}
\score { <<
\new Staff { \clef "treble" \music }
\new Devnull \Goandseehere 2. #4 #3
>>
\layout { }
\midi { }
}
\markup"Go to m4 and see 3 measures"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%