I am using the function looksSlower from the snippet http://lsr.dsi.unimi.it/LSR/Item?id=305
and when i use it, it produces many warnings such as:
- warning: stem does not fit in beam
- warning: beam was started here

I tested the snippet and it does not produce those warning because it does not use custom beam

This function is very, very handy to learn music written with complex rhythm especially in 1/32 and 1/64 notes.

It is going to work with so many custom beams?

The function makes the music look 1 time slower. I was able to make it look 2 times slower by changing one of the number but I was wondering if is possible to pass the number as an argument?
looksTwoTimesSlower =
#(define-music-function (parser location music) (ly:music?)
  (let ((new-music (ly:music-deep-copy music)))
   (shift-duration-log new-music -2 0)
   new-music))


\version "2.13.45"
\language "english"
\paper {  indent = 0.0 }
\header {
        title = "Sonata I BWV 1001"
        piece = "1. Adagio"
}


looksOneTimeSlower =
#(define-music-function (parser location music) (ly:music?)
  (let ((new-music (ly:music-deep-copy music)))
   (shift-duration-log new-music -1 0)
   new-music))


melody = \relative g'' {
<< {
%{ Main Voice %}
%{ 1 %}  <bf, g'>4 ~ g'32 [f (ef d c bf a bf64 g ) ] g8 [ fs ] ~ fs32 [ e ( d e fs g a c64 bf )]
%{ 2 %}  c8 ~ [ c32 d64 ( c bf32 c ] c16. \trill [ bf64 c d16 a )] g'8 r32 g,32 ( [ a64 bf c d ] ef8 ) [ bf ]
}
 \\  { %{ Voice 2 %}
%{ 1 %}  <g, d'>8  s8 s4 a  s4
%{ 2 %}  d8 s8 s4 g,8 s8 r8 g'8
}
 \\ { %{ Voice 3 %}
%{ 1 %}  s4 s4 c4 s4
%{ 2 %}  fs4 s4 <d, bf'>8 s4.
}
 >>
}
\score {
	\context Staff { 
		\clef treble
		\key d \minor
		\time 4/4
		\melody
		\looksOneTimeSlower \melody
    }
	\layout { }
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to