Re: Cross-staff beam problems (collisions ugly slope)

2014-11-21 Thread Ralph Palmer
On Tue, Nov 18, 2014 at 7:17 PM, Marcus Macauley marcus.macau...@gmail.com
wrote:

 \version 2.18.2


 The example above is my attempt at a tiny illustration of three
 simultaneous problems with a cross-staff beam: collisions (of beam with
 notes or accidentals); ugly slopes; and ugly horizontal spacing (stem
 spacing overcorrection).

 I checked the Lilypond Google Project Bug Tracker before making this, and
 the most similar issues I could find were 1324 and 1702, but I don't
 believe
 this is fully redundant.


Greetings, Marcus Macauley -  I apologize for misspelling your last name in
the submission. This has been submitted as Issue 4202 ;
https://code.google.com/p/lilypond/issues/detail?id=4202
Cheers,
Ralph
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: \alternative error...

2014-11-21 Thread Federico Bruni
2014-11-21 17:02 GMT+01:00 Marcos Press tdy.p...@gmail.com:

 Can someone tell why the small fragment in the attached .ly file, gives
 these error?



you should put the bar checks inside the music expression {}

\version 2.18.2

\relative c'{

  \time 2/4

  \repeat volta 2 {r16 fis g a bes a8 fis16 | }
  \alternative {
{g16 fis g a bes a8 fis16 | }
{g16 fis g a bes a8 e16 | }
  }

  \repeat unfold 3 {g16 fis g a bes a8 e16 | }
}

Bug Squad, maybe a warning should be added to the NR?
http://lilypond.org/doc/v2.18/Documentation/notation/bars.html#bar-and-bar-number-checks
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


multiple issues with MIDI channel assignment

2014-11-21 Thread Sean Barrettt
 I'm not top-posting.

Because these issues relate to overflowing the 16 MIDI channels,
the minimal example would still be 18+ lines. As I've found these
issues in my first 5 minutes of using lilypond, it doesn't make
sense to spend my time trying to produce a minimal example when
the issues are trivial to trigger with a lilypond sample file
instead.

lilypond 2.18.2 on Windows.

Issues:

1. lilypond with verbose output (-V) doesn't output any information
about which staves are assigned to which MIDI channels; this makes
debugging the following issues more difficult

2. lilypond assigns a separate MIDI channel to lyrics lines. This is
presumably an error. (If it is by design, then it is a documentation
error, as I couldn't find any information about this in the docs.)

You can demonstrate this by taking the orchestral template
( Documentation/learning/orchestra-choir-and-piano ) and adding
\midi { } at the end. When run in lilypond, it will print
warning: MIDI channel wrapped around 5 times. If you then
comment out the four \new Lyrics lines, it will only print
the wraparound warning 1 time.

3. I can't find any documentation explaining how to force multiple
staves to use the same MIDI channel. In particular, the same example
uses two staves for piano. If you take the example above and comment
out the \new Staff { \pianoLHMusic (in addition to the lyrics),
then you will get *no* wraparound warnings. So perhaps even better,
as a separate bug, would be that \Staff in \PianoStaff should
reuse MIDI channels?

Note that fixes for the above two issues allows that template to
actually fit in a MIDI file without wrapping MIDI channels at all
and thus actually work correctly as MIDI, which would maybe be nice
if it worked that way out of the box.

4. All of the above things could be manually worked around easily
if you could explicitly assign the MIDI channel for a staff. I see
from googling this has been suggested in the past.

5. lilymidi just prints usage, regardless of commandline parameters
(I tried many things, but e.g. lilymidi --dump test.mid. I would
not be surprised if this is specific to the Windows port.

I believe I can workaround this (basically by just making two
totally different versions of the score block, one for layout
and one for MIDI, where the latter omits the lyrics and uses
\partcombine to combine the two piano staffs). But it seems
pretty unnecessarily cumbersome compared to e.g. #4, or better
yet just doing the right thing due to #2 and #3. And even if
somehow you don't think any of those are important, you really
shouldn't make every MIDI user figure this out from scratch for
themselves.



___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond