Why Is This Merge Behavior Different?

2008-02-06 Thread Ted Stanion
Hello All,

The following code is modified from section 6.3.5 of the LilyPond
2.10.33 manual. Can someone explain to me why the eighth note and half
note have their heads merged in the first measure while the quarter
note and the half note in the second measure do not?

Thanks,
Ted

 Begin merge.ly 
\paper {
  #(define dump-extents #t)

  indent = 0\mm
  line-width = 160\mm - 2.0 * 0.4\in
  ragged-right = ##t
  force-assignment = #""
  line-width = #(- line-width (* mm  3.00))
}

\layout {

}

\relative c''
{
\new Voice << {
  c8 c4.
  \override Staff.NoteCollision #'merge-differently-headed = ##t
  c8 c4.
  \override Staff.NoteCollision #'merge-differently-headed = ##f
  c4 c4
  \override Staff.NoteCollision #'merge-differently-headed = ##t
  \override Staff.NoteCollision #'merge-differently-dotted = ##t
  c4 c4 } \\
  { c2 c2 c2 c2 } >>
--- End merge.ly 
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Why Is This Merge Behavior Different?

2008-02-08 Thread Ted Stanion
Please note that I understand that it is LilyPond's intended behavior
to never merge a quarter note and a half note regardless of how
properties are set. I also understand why this should be the default
behavior. I guess I don't understand why setting
'merge-differently-headed should not override the default behavior for
quarter notes as well as flagged notes. I've attached a snippet of
some old sheet music which does merge a quarter note and a half note.
While in some contexts it might be ambiguous, in this case, it is not.

BTW, I have figured out how to fake the behavior that I want.

Ted


> -- Forwarded message --
> From: "Gilles THIBAULT" <[EMAIL PROTECTED]>
> To: "Ted Stanion" <[EMAIL PROTECTED]>, 
> Date: Fri, 8 Feb 2008 09:27:38 +0100
> Subject: Re: Why Is This Merge Behavior Different?
> > Can someone explain to me why the eighth note and half
> > note have their heads merged in the first measure while the quarter
> > note and the half note in the second measure do not?
> > \relative c''
> > {
> > \new Voice << {
> >  c8 c4.
> >  \override Staff.NoteCollision #'merge-differently-headed = ##t
> >  c8 c4.
> >  \override Staff.NoteCollision #'merge-differently-headed = ##f
> >  c4 c4
> >  \override Staff.NoteCollision #'merge-differently-headed = ##t
> >  \override Staff.NoteCollision #'merge-differently-dotted = ##t
> >  c4 c4 } \\
> >  { c2 c2 c2 c2 } >>
> Yes it seems strange but i think it is on purpose.
> With a eighth note and a half note, the little hook of the eighth note
> (sorry don't remember how you call that in english) lets you to understand
> the duration of each merged notes.
> There is no way to distinguish a quarter note and a half note if they are
> merged. It can make believe you that it is 2 half notes.
> (of course reading forward in the measure let you imagine the real duration
> of each note)
>
> Gilles
>
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Acciaccatura Inside Arpeggio

2008-03-19 Thread Ted Stanion
I've been searching the archives and the LSR for hints on how to put
an acciaccatura inside an arpeggio without success. I've attached a
scan from a Chopin nocturne to show what I mean. Can someone show me
how this is done?

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


Re: Acciaccatura Inside Arpeggio

2008-03-19 Thread Ted Stanion
Thank you!  That works brilliantly.

Ted

On Wed, Mar 19, 2008 at 5:03 PM, Neil Puttock <[EMAIL PROTECTED]> wrote:
> Hi Ted,
>
>  Here's one way of doing it, using a hidden grace note:
>
>  \version "2.11.42"
>  \paper { ragged-right = ##t }
>  \score {
> \new Staff \relative c'' {
> %a note to improve layout for this snippet
> g
> %polyphonic section
> << {
> %the acciaccatura, with slur to g
> \acciaccatura a8\arpeggio
> %override to ignore "note clashing column" error
> \once \override NoteColumn #'ignore-collision = ##t
> %to prevent slur joining b have to remove d & b
> g8.
> }
> %a new voice for the hidden grace note
> \new Voice { \voiceTwo
> %an invisible gracenote with arpeggio to join up with 
> the acciaccatura above
> \hideNotes \grace a,8\arpeggio
> %the rest of the chord. By scaling a dotted crotchet, 
> saves having
>  to remove stencil for flag
> %cf. \oneVoice \once \override Stem #'flag-style = 
> #'no-flag 8.
> \unHideNotes \oneVoice 4.*1/2
> } >> f'16
> }
> \layout {
> \context {
> %allow arpeggios to be connected between different 
> voices on a stave
> \Staff
> \consists Span_arpeggio_engraver
> connectArpeggios = ##t
> }
> }
>  }
>
>  If it's OK for the slur to be above, it's a bit simpler:
>
>  \version "2.11.42"
>  \paper { ragged-right = ##t }
>  \score {
> \new Staff \relative c'' {
> g
> << {
> \slurUp
> \acciaccatura a8\arpeggio
> 8.
> }
> \new Voice { \voiceTwo
> \hideNotes \grace a,8\arpeggio
> } >> f'16
> }
> \layout {
> \context {
> \Staff
> \consists Span_arpeggio_engraver
> connectArpeggios = ##t
> }
> }
>  }
>
>  Regards,
>  Neil
>


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


Problems Running convert-ly

2006-04-11 Thread Ted Stanion
I had been using LilyPond 2.6.4-1 under cygwin. I decided to switch to 2.8.1
under Windows XP. I am trying to run convert.ly in a cygwin bash shell. I
started by adding /LilyPond/usr/bin to my PATH. When I try to run
convert-ly.py, however, I am getting the following messages:

Traceback (most recent call last):
  File "/cygdrive/c/nobackup/LilyPond/usr/bin/convert-ly.py", line 39, in ?
import lilylib as ly
  File
"/cygdrive/c/nobackup/LilyPond/usr/share/lilypond/current/python/lilylib.py",
line 17, in ?
import subprocess
  File "/usr/lib/python2.4/subprocess.py", line 391, in ?
import select
ImportError: No such process

What am I doing wrong?

Thanks,
Ted



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


Still Have convert-ly Questions/Problems.

2006-04-12 Thread Ted Stanion
I managed to get 'convert-ly' version 2.8.1 to run in Cygwin 
by doing the following:

1) I have Cygwin LilyPond 2.6.4 installed. This was installed 
   in the default location using the 'setup' program.
2) I have Windows Lilypond 2.8.1 installed in the directory 
   c:\nobackup\LilyPond.
3) I copied the convert-ly.py script from c:\nobackup\LilyPond\usr\bin 
   in Windows world to /usr/bin in Cygwin world.
4) I copied c:\nobackup\LilyPond\usr\share\lilypond\current to
   /usr/share/lilypond/current.

The script seems to run, but stops at conversion 2.7.40 and leaves 
the line \version "2.7.40" in the new file. (It started as "2.6.0".)
Is this the expected outcome or should it have continued further? 

Ted




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


Re: Still Have convert-ly Questions/Problems.

2006-04-13 Thread Ted Stanion
I tried this and it works for in a DOS command prompt. It failed the same way in
my bash shell - it seems to want to use the python installed for Cygwin. Still,
this is a better solution to what I was doing.

Thanks,
Ted




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


Getting Started - Problem with Piano Centered Dynamics and Pedal

2005-04-02 Thread Ted Stanion
I have just started using LilyPond with version 2.4.3 on Cygwin. I modified
the "piano-dynamics.ly" file which I found at
http://lilypond.org/doc/v2.2/input/template/out-www/collated-files.html by
adding an extra measure of music with new dynamics. Specifically, the second
measure has a crescendo to ff with \setTextCresc. The text comes out, but it
and the spanner are not aligned with the other dynamic markings. The manual
says that the vertical position should be controlled by the
DynamicLineSpanner object. I added a \override state, but it had no affect.
Also, I tried to change the PedalSustainStyle to bracket; this also failed.
Can anyone explain what I've done wrong? My input file is attached.

Thank you,
Ted Stanion
% Generated by lilypond-book
% Options: [printfilename,texidoc,linewidth]

\layout {
linewidth = 160 \mm
}
\renameinput "piano-dynamics.ly"
\version "2.4.0"
\header {
texidoc ="
  Dynamics on a separate line, neatly centered between staffs.
"
}

upper = \relative c'' {
  a b c d |
  a b c d
}

lower = \relative c {
  a2 c
  a2 c
}

dynamics =  {
  s2\fff\> s4
  s\!\pp |
  \setTextCresc
  s\< s2 s4\!\ff |
}

pedal =  {
  \set Staff.pedalSustainStyle = #'bracket
  s2\sustainDown s2\sustainUp
}

\score {
  \context PianoStaff <<
\context Staff = "upper" \upper
\context Dynamics = "dynamics" \dynamics
\context Staff = "lower" <<
  \clef bass
  \lower
>>
\context Dynamics = "pedal" \pedal
  >>
  \layout {
\context {
  \type "Engraver_group_engraver"
  \name Dynamics
  \alias Voice % So that \cresc works, for example.
  \consists "Output_property_engraver"
  
  minimumVerticalExtent = #'(-1 . 1)
  pedalSustainStrings = #'("Ped." "*Ped." "*")
  pedalUnaCordaStrings = #'("una corda" "" "tre corde")
  pedalSustainStyle = #'bracket
  
  \consists "Piano_pedal_engraver"
  \consists "Script_engraver"
  \consists "Dynamic_engraver"
  \consists "Text_engraver"

  \override TextScript #'font-size = #2
  \override TextScript #'font-shape = #'italic
  \override TextScript #'extra-offset = #'(0 . 2.5)
  \override DynamicText #'extra-offset = #'(0 . 2.5)
  \override Hairpin #'extra-offset = #'(0 . 2.5)
  \override DynamicLineSpanner #'extra-offset = #'(0 . 2.5)

  \consists "Skip_event_swallow_translator"

  \consists "Axis_group_engraver"
}
\context {
  \PianoStaff
  \accepts Dynamics
  \override VerticalAlignment #'forced-distance = #7
}
  }
  \midi {
\context {
  \type "Performer_group_performer"
  \name Dynamics
  \consists "Piano_pedal_performer"
  \consists "Span_dynamic_performer"
  \consists "Dynamic_performer"
}
\context {
  \PianoStaff
  \accepts Dynamics
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


How to Get Line Breaks in the Tagline

2005-05-25 Thread Ted Stanion
Is there a way to get a line break to appear in the tagline? I saw an
archived message which implied that putting a \break in the string would do
this, but it did not seem to work. I am using LilyPond version 2.4.6 under
Cygwin. I've attached an example source file showing what I've tried.

Ted Stanion

\version "2.4.6"
\include "english.ly"

#(set-global-staff-size 24)

\paper {
  #(set-paper-size "letter")
  topmargin = 0.5\in
}

\header {
  title = "Twinkle, Twinkle"
  composer = "Traditional"
  tagline = "Typeset by Ted Stanion ([EMAIL PROTECTED]) \\break Engraved by LilyPond (ver. 2.4.6)"
}

\relative c' {
  \clef treble
  \time 4/4
  \key c \major

  c4  c g' g a a g2
  f4  f e  e d d c2 \break
  g'4 g f  f e e d2
  g4  g f  f e e d2 \break
  c4  c g' g a a g2
  f4  f e  e d d c2
}

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


Re: how to get half-bar used in Bach Music?

2010-11-20 Thread Ted Stanion
Does this do what you want?

\version "2.12.3"

\relative c' {
  \override Staff.BarLine #'bar-size = #2.0
  c4 c c c |
  c c c c |
}


On Sat, Nov 20, 2010 at 9:00 PM, Marc Mouries  wrote:

> thanks Nick. A half-bar is Bach's writing was a bar containing the same
> number notes but only went over the staff from the 2nd to the 4th lines.
>
> On Nov 20, 2010, at 11:20 PM, Nick Payne wrote:
>
> > On 21/11/10 15:10, Marc Mouries wrote:
> >> I searched and checked
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bars
> >> but could not find a way to print a half-bar like Bach used in some of
> his music.
> >> It is not really used often so i'd not be surprised but just wanted to
> check with you guys just in case.
> >
> > \version "2.13.39"
> >
> > \relative c'' {
> >c4 c c c |
> >\set Score.measureLength = #(ly:make-moment 2 4)
> >c c |
> >\set Score.measureLength = #(ly:make-moment 4 4)
> >c c c c |
> > }
> >
> > ___
> > 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Spurious Repeat Symbol

2011-01-09 Thread Ted Stanion
How can I get rid of the extra repeat symbol in this example? I'm sure it is
caused by the rest at the beginning of the repeat. I've tried hiding an
extra note along with a skip, but I can't figure out how to do this and get
the rest back.

Ted

%%% Begin example.
\version "2.12.0"

melody = \relative c' {
  c4 d e f
  \repeat volta 2 {
   r c d e
  } \alternative {
{ f1 }
{ g1 }
  }
}

words = \lyricmode  {
  do re mi fa
  \repeat volta 2
  {
do re me
  } \alternative {
{ fa } { sol }
  }
}

\score {
  <<
  \new Staff { \melody }
  \addlyrics { \words }
  >>
}
%%% End example.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: variant on "many syllables to one note"

2011-01-18 Thread Ted Stanion
I'm pretty sure that adding "\set melismaBusyProperties = #'()" before your
notes will do what you want.

On Tue, Jan 18, 2011 at 4:09 PM, Graham King wrote:

> In the early sixteenth century manuscript I'm working on, the scribe has
> set the first three syllables of "angelorum" to a single note that I'm
> transcribing as a1. ~ a1. ~ a1
>
> Is there a way, preferably compatible with \lyricmode, to tell lilypond
> to align the syllables under the respective semibreves?
>
> (So far, I've tried the suggestions for "manual syllable durations" and
> "multiple syllables to one note" in the Notation Reference manual)
> --
> Graham King 
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>


align.ly
Description: Binary data
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user