How to increase the length of an arpeggio

2009-10-08 Thread Nick Payne
How can I increase the length of the arpeggio bracket on seconds and 
thirds, which at their default lengths are ridiculously short. See 
attached example. I'd like to make the length of the arpeggio on seconds 
and thirds the same length as that on the fourth. I tried various 
overrides such as \override Staff.Arpeggio #'Y-extent (which had no 
effect at all with any values that I tried) and \override Staff.Arpeggio 
#'position (which caused the arpeggio to disappear with all values that 
I tried, along with warning messages saying "no head found for arpeggio".


I guess I can get what I want by creating an additional hidden voice 
with arpeggiated notes at the right pitch to lengthen the arpeggio, but 
was wondering if it is possible to get what I want with an override.


There's also the problem with arpeggios that they don't get spaced 
properly from the preceding note. Usually it just means that they're a 
bit close, but if the preceding chord contains a second then they 
actually overlap the note.


%==
\version "2.13.4"

treble = \relative c {
   e\arpeggio f\arpeggio g\arpeggio
}

bass = \relative c {
   d\arpeggio d\arpeggio d\arpeggio
}

\score {
   <<
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef "treble_8"
   \key c \major
   \time 4/4
   <<
   \context Voice = "1" { \voiceOne \treble }
   \context Voice = "4" { \voiceFour \bass }
   >>
   }
   >>
   \layout {
   \context {
   \Staff
   \consists "Span_arpeggio_engraver"
   }
   }
}
%==

Nick

<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


More arpeggio strangeness

2009-10-08 Thread Nick Payne
This example has two identical bars, except that in the 2nd bar I've 
used a hack suggested by Keiren MacMillan to stop the arpeggios crowding 
up against the preceding notes. For some reason this doesn't have any 
effect on the final arpeggio. However, I've found that if I change the 
override for preceding stem to that one arpeggio to be \once \override 
Staff.Stem #'X-extent = #'(0 . 2.5), then it's appearance matches that 
of the others. I have no idea why a different override is required just 
for that one...


%==
\version "2.13.4"

arpstem = \once \override Staff.Stem #'X-extent = #'(0 . 1.5)

treble = \relative c {
   d16\arpeggio   d,\arpeggio e\arpeggio  
   e,\arpeggio e\arpeggio   e\arpeggio |
   d16\arpeggio   \arpstem d,\arpeggio e\arpeggio  

   \arpstem e,\arpeggio e\arpeggio  \arpstem  
e\arpeggio |

}

bass = \relative c {
   g8.\arpeggio g16\arpeggio g8.\arpeggio g16\arpeggio g8.\arpeggio 
g16\arpeggio |
   g8.\arpeggio g16\arpeggio g8.\arpeggio g16\arpeggio g8.\arpeggio 
g16\arpeggio |

}

\score {
   <<
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef "treble_8"
   \key d \major
   \time 3/4
   <<
   \context Voice = "1" { \voiceOne \treble }
   \context Voice = "4" { \voiceFour \bass }
   >>
   }
   >>
   \layout {
   \context {
   \Staff
   \consists "Span_arpeggio_engraver"
   }
   }
}
%==

Nick
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Midi-output not generated

2009-10-08 Thread Paul Rijke
Hi there,

 

I have the following drum excersises written out for my daughter. It prints
beautifully (except that I am not able to set the vertical spacing to my
linking, but that's not that big of a problem). I just wonder why the
midi-file (which is generated) only is 149 bytes long and contains no sound.
Dows anybody know what's going wrong? There are no errors or warnings in the
log.

 

\version "2.12.2"

 

\header {

  title = "Drum practice Robin"

  subtitle = "week 41 - 2009"

}

 

patternA = \drummode { 

   <<  { cymr8 cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8} 

   \\ 

   { bd8 bd8 bd8
bd8 bd8 bd8 bd8 bd8 } 

   >> } 

 

patternB = \drummode { 

   <<  { cymr8 cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8} 

   \\ 

   { bd4 bd bd
bd } 

   >> } 

 

patternC = \drummode { 

   <<  { cymr8 cymr8 8 cymr8 cymr8 cymr8 8 cymr8} 

   \\ 

   { bd4 hhp bd
hhp } 

   >> }


 

patternD = \drummode { 

   <<  { cymr8 cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8} 

   \\ 

   { bd8 bd8 bd8
bd8 bd4 bd4  } 

   >> }


   

patternE = \drummode { 

   <<  { cymr8 cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8} 

   \\ 

   { bd8 bd8 bd4
bd8 bd8 bd4  } 

   >> }

   

patternF = \drummode { 

   <<  {cymr8 cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8} 

   \\ 

   {bd4 bd8 bd8
bd4 bd8 bd8} 

   >> }

   

% It All Goes Together Here %%

\score 

{

\new DrumStaff <<

   \new DrumVoice = "1" { s1*2 }

   \new DrumVoice = "2" { s1*2 }

   {

   \patternB \patternB \patternB \patternB
\break 

   \patternA \patternA \patternA \patternA
\break 

   \patternC \patternC \patternC \patternC
\break 

   \patternD \patternD \patternD \patternD
\break 

   \patternE \patternE \patternE \patternE
\break 

   \patternF \patternF \patternF \patternF
\break 

   \patternF \patternE \patternD \patternC
\break 

   \patternD \patternF \patternC \patternE
\break 

   } 

   >>



\layout {

   indent = #0 %this makes the first bar
beginning at the same position as everything else

   %fit as much on a page as possible

%between-system-padding = 9.5\cm

   %between-system-space = 4\cm

   system-count = #8

   ragged-bottom=##f

   ragged-last-bottom=##f

   proportionalNotationDuration =
#(ly:make-moment 1 8)

   \context {

   \DrumStaff

   \override
Beam #'thickness = #0.4

   \override
VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 5)

   \override
BarLine #'hair-thickness = #0.2

   \override
Stem #'thickness = #0.2

   \remove
"Time_signature_engraver"  %this removes the time signature from the first
bar

  

Re: SVG improvements

2009-10-08 Thread Bertalan Fodor (LilyPondTool)

Wow, this is incredibly cool.
Thanks!

Bert

Patrick McCarty wrote:

Hi LilyPond users,

Now that 2.13.5 is out, I'm happy to announce that LilyPond has brand
new SVG output.  Almost every aspect of the output has been modified,
with special care to make sure the SVG is compatible with the SVG 1.1
and SVG 1.2 Tiny recommendations.

You can find extensive information about the SVG output improvements,
bugs, requests, and ideas on the LilyPond wiki:

  http://wiki.lilynet.net/index.php/SVG_backend

Also, you can find some of my testcases here:

  http://uoregon.edu/~pmccarty/svg/

***

Please report any bugs you find.  But also make sure to check the wiki
first, since many items are already listed there.

Also, feel free to modify the wiki with your ideas, suggestions, etc.  Enjoy!

Thanks,
Patrick


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

  




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: More arpeggio strangeness

2009-10-08 Thread Robin Bannister
Nick Payne wrote:   
I have no idea why a different override is required just for that one 
 
Oh dear!.  More queer things going on.  
The picture may give you an idea why (to a certain extent).
 
 
I have the impression you missed my suggestion in the last thread.  
http://lists.gnu.org/archive/html/lilypond-user/2009-09/msg00735.html
It is effective in this case too.  
 
 
Cheers,

Robin<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to increase the length of an arpeggio

2009-10-08 Thread Robin Bannister
Nick Payne wrote:
How can I increase the length of the arpeggio bracket on seconds and 
thirds, which at their default lengths are ridiculously short.  



You can lengthen an arpeggio using the workaround given in 
http://code.google.com/p/lilypond/issues/detail?id=794&q=arrow 
which is a case where the arpeggio is too short for Lilypond itself.



Lengthening just seconds and thirds is very similar to what the   
#'constrain-hidden-positions   override does.  
If you need both fuctionalities they might have to be combined 
in a single override.



Cheers,
Robin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user