Re: Accidentals tied over a line break

2008-07-31 Thread Jonathan Wilkes
Han-Wen Nienhuys hanwen at lilypond.org writes:

 
 Mats Bengtsson wrote:
  In the source code, I found a comment saying:
  TODO: insert support for smaller cautionaries, tie-break-reminders.
   ...
  which indicates that this is a feature that is not yet
  implemented. I made some quick attempts to solve the problem
  by redefining Accidental #'after-line-breaking but didn't manage.
 
 the right approach is to add an option to accidental-engraver.cc to 
 ignore tied notes completely.
 

I would be very interested in an option to suppress accidentals when notes are
tied over line breaks.
Since lilypond's current behavior in this regard is not a bug, is there some
place to post a feature request for suppressing accidentals in this case?

On a related note, how complex is the process of fixing the tie  time signature
collision bug?  How does one go about sponsoring a fix like this?

Thanks,
Jonathan



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


Re: Accidentals tied over a line break

2006-08-25 Thread Marcus Macauley
Markus: That's a way to manually suppress accidentals after a line break; 
thanks. But I need a way to do it automatically.


 Is the example in Section 9.3.7: Difficult Tweaks of any help?

Kieren: That looks like it might be helpful, but I don't understand the syntax 
well enough to adapt the tweak on that page.
( 
http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Difficult-tweaks.html )

It seems like it might be possible to modify that tweak with Markus's 
accidental-suppression --
\once \override Staff.Accidental #'transparent = ##t
-- but I can't figure out how to do this.

Any tips?

Thanks,
Marcus

P.S. Actually, I'm not sure that will be enough. It looks like transparent 
accidentals still take up space; I'd rather suppress the accidental *and* its 
allotted space. Surely there should be an easier way, even if it's possible to 
hack it somehow in the meantime.


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


Re: Accidentals tied over a line break

2006-08-25 Thread Mats Bengtsson

In the source code, I found a comment saying:
TODO: insert support for smaller cautionaries, tie-break-reminders.
 ...
which indicates that this is a feature that is not yet
implemented. I made some quick attempts to solve the problem
by redefining Accidental #'after-line-breaking but didn't manage.

  /Mats

Marcus Macauley wrote:


Hello,

Currently, if a note with an accidental is tied over a line break, the 
accidental is repeated on the new line. Is there any way to turn off this 
behavior?

I looked in the manual; 9.1.1 Automatic accidentals would seem to be the relevant 
section, but it doesn't say anything about tied accidentals. There's a regression test called 
accidental-tie.ly, but it merely explains that an accidental is present if the line is broken 
at the tie, which happens for the G sharp, without mentioning any way of turning off this 
behavior.

It took me a while to find an instance of a note with accidental tied over a 
line break in the Henle edition of the Bach Well-Tempered Clavier, but when I 
eventually found one, the accidental was not repeated after the line break. 
(Book I, Fugue in B minor, measures 56-57. It happens to be a G-sharp.) So if 
my own desire to not repeat the accidental isn't enough, there's an example 
from G. Henle Verlag.*

Thanks,
Marcus

(In fairness, the second instance I found did repeat the accidental: Book I, 
Fugue in C-sharp minor, measures 40-41, an A-sharp. Anyway, I think the user 
should be able to choose whether or not accidentals are displayed in these 
situations. And if they are repeated, the ties should not collide, as the 
currently do. The aforementioned A-sharp provides a good example of how a tie 
can avoid an accidental in such a case.)


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




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Accidentals tied over a line break

2006-08-25 Thread Han-Wen Nienhuys

Mats Bengtsson wrote:

In the source code, I found a comment saying:
TODO: insert support for smaller cautionaries, tie-break-reminders.
 ...
which indicates that this is a feature that is not yet
implemented. I made some quick attempts to solve the problem
by redefining Accidental #'after-line-breaking but didn't manage.


the right approach is to add an option to accidental-engraver.cc to 
ignore tied notes completely.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Accidentals tied over a line break

2006-08-23 Thread Marcus Macauley
Hello,

Currently, if a note with an accidental is tied over a line break, the 
accidental is repeated on the new line. Is there any way to turn off this 
behavior?

I looked in the manual; 9.1.1 Automatic accidentals would seem to be the 
relevant section, but it doesn't say anything about tied accidentals. There's a 
regression test called accidental-tie.ly, but it merely explains that an 
accidental is present if the line is broken at the tie, which happens for the G 
sharp, without mentioning any way of turning off this behavior.

It took me a while to find an instance of a note with accidental tied over a 
line break in the Henle edition of the Bach Well-Tempered Clavier, but when I 
eventually found one, the accidental was not repeated after the line break. 
(Book I, Fugue in B minor, measures 56-57. It happens to be a G-sharp.) So if 
my own desire to not repeat the accidental isn't enough, there's an example 
from G. Henle Verlag.*

Thanks,
Marcus

(In fairness, the second instance I found did repeat the accidental: Book I, 
Fugue in C-sharp minor, measures 40-41, an A-sharp. Anyway, I think the user 
should be able to choose whether or not accidentals are displayed in these 
situations. And if they are repeated, the ties should not collide, as the 
currently do. The aforementioned A-sharp provides a good example of how a tie 
can avoid an accidental in such a case.)


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


Re: Accidentals tied over a line break

2006-08-23 Thread Markus Schneider
Hi Marcus,

see this:

%%% Begin ly snippet
\version 2.9.15
noAcc = \once \override Staff.Accidental #'transparent = ##t

\score { {
cis''1 ~ \noAcc \break
cis''1
cis''1 ~ \break
cis''1
  }
  \layout {
ragged-right = ##t }
}
%%% End  ly snippet

This involves a certain amount of typing, though. I wasn't able to cook up a
function for after-line-breaking or before-line-breaking to do this
automatically, nor modifying

tildeSymbol = { #(make-music 'TieEvent) \noAcc }

Maybe someone can give a hint?

Cheers,
Markus





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


Re: Accidentals tied over a line break

2006-08-23 Thread Kieren MacMillan

Hi, Markus (and Marcus):


Maybe someone can give a hint?


Is the example in Section 9.3.7: Difficult Tweaks of any help?

Cheers,
Kieren.


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