Re: notehead collisions in cluster

2010-12-12 Thread Jan WarchoĊ‚
Hi,

2010/12/11 Jon W :
>
> Hi. I wrote a program in C that finds the solutions, if any exist, to a
> compositional problem specified in the command line. One of the output
> formats is lilypond. Some of the solutions involve clusters that lilypond
> does not display very well

I'm not familiar with clusters, but i know that there is a special
notation used for them, maybe you should try it?
see Notation Reference 1.5.1:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Single-voice#Clusters

cheers,
Janek

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


Re: notehead collisions in cluster

2010-12-11 Thread Trevor Daniels


Jon W wrote Saturday, December 11, 2010 1:00 AM


I uploaded an image as an attachment:
http://old.nabble.com/file/p30430768/collisions_example.png
collisions_example.png  To be sure this is somewhat of a 
pathological case
and I do not expect lilypond to be able to handle it gracefully by 
default.
Ideally the cluster would be rendered with more horizontal spacing 
so as to

avoid collisions.


Jon, could you post an image that shows, or describe precisely
how, you would like these chords to appear?  Could you also
say what you think should happen to shorter notes (with stems)
in these same chords.


My question is, what does anyone suggestion as a practical
solution? What could I instruct my program to do, if it is about 
to output a

chord with two note heads on the same line or space of the staff?


There are ways of changing the positions of note heads
and accidentals in a chord relatively easily as long as
no stems are involved.  If you show exactly what you
want I'm sure someone will come up with a solution in
any specific case.  A general solution would be more
difficult, though.

Trevor



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


notehead collisions in cluster

2010-12-10 Thread Jon W

Hi. I wrote a program in C that finds the solutions, if any exist, to a
compositional problem specified in the command line. One of the output
formats is lilypond. Some of the solutions involve clusters that lilypond
does not display very well--noteheads overlap vertically, making them
illegible, and accidentals collide, or are misplaced or missing, when a
chord has two notes on the same line or space of the staff. It would be hard
to make my program intelligent enough to respell these cases, and in any
case there will still be some dense cases that are impossible to spell in
such a way that you can notate the cluster the way lilypond tries to. Here
is an example of the lilypond output of my program when the input is the
chord 012b:

\layout {   
  ragged-right = ##t
  \context {
  \Staff
  \remove "Time_signature_engraver" 
  \remove "Bar_engraver"
  } 
}
\book {
  \score {
<<
\new Staff {
\set Staff.instrument = "(012b)  "
\set Staff.extraNatural = ##f
#(set-accidental-style 'no-reset)
 { 1  1  1  1  1 }
}
>>
  }
}

I uploaded an image as an attachment: 
http://old.nabble.com/file/p30430768/collisions_example.png
collisions_example.png  To be sure this is somewhat of a pathological case
and I do not expect lilypond to be able to handle it gracefully by default.
Ideally the cluster would be rendered with more horizontal spacing so as to
avoid collisions. My question is, what does anyone suggestion as a practical
solution? What could I instruct my program to do, if it is about to output a
chord with two noteheads on the same line or space of the staff?

Thank you!  --Jon
-- 
View this message in context: 
http://old.nabble.com/notehead-collisions-in-cluster-tp30430768p30430768.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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