Re: Automatic accidental rule

2008-03-22 Thread Stefan Thomas
Dear Rune, I would like to ask You again a question about the auto-accidentals. When I write \version 2.11.42 \relative { \set Staff.autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) (any-octave . 0) ) c fis h cis1 } I expected the c to be

Re: Automatic accidental rule

2008-03-22 Thread Stefan Thomas
Sorry, I made a mistake! I mean, off course: \version 2.11.42 \relative { \set Staff.autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) (any-octave . 0) ) c fis b cis1 } 2008/3/15, Rune Zedeler [EMAIL PROTECTED]: Stefan Thomas skrev: then

Re: Automatic accidental rule

2008-03-15 Thread Stefan Thomas
Dear Rune, these automatic accidentals are a great thing! But I have one more question: If I change the example to: myAccidentals = { \set Staff.autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) ) } \relative c'' { \myAccidentals c4 cis' cis8 cis c, c }

Re: Automatic accidental rule

2008-03-15 Thread Rune Zedeler
Stefan Thomas skrev: then no natural sign will be printed before the c, How can I change it? \set Staff.autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) (any-octave . 0) ) -Rune ___ lilypond-user

Re: Automatic accidental rule

2008-03-15 Thread Stefan Thomas
excellent!! Thanks! 2008/3/15, Rune Zedeler [EMAIL PROTECTED]: Stefan Thomas skrev: then no natural sign will be printed before the c, How can I change it? \set Staff.autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) (any-octave

Automatic accidental rule

2008-03-13 Thread Stephen Lavelle
I'm using the forget accidental scheme at the moment in a piece, but ideally I would prefer some scheme whereby all sharpened or flattened notes were given accidentals, but also all natural notes that followed sharpened/flattened notes of the same letter would get naturals put in automatically.

Re: Automatic accidental rule

2008-03-13 Thread Oscar van Eijk
Stephen, Try the exclamation mark:{ c! cs! cs c! } To change the style globally, see http://lilypond.org/doc/v2.11/Documentation/user/lilypond-big-page#Automatic-accidentals. Oscar Stephen Lavelle [EMAIL PROTECTED] schreef: I'm using the forget accidental scheme at the moment in a piece, but

Re: Automatic accidental rule

2008-03-13 Thread Rune Zedeler
Stephen Lavelle skrev: So { c cs cs c } would, when rendered, have a sharps on the two middle notes, and a natural on the fourth. Something like this: \version 2.10.20 myAccidentals = { \set Staff.autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) ) }

Re: Automatic accidental rule

2008-03-13 Thread Rune Zedeler
Rune Zedeler skrev: Something like this: Btw, notice that this will probably break in 2.12 - but will be easily repaired. -Rune ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Automatic accidental rule

2008-03-13 Thread Stephen Lavelle
Ah, I set extraNatural to false (which isn't a detail I mentioned before), and then (after remembering to put it in each voice) I get exactly what I want. Fantastic. Cheers, Stephen (sorry if this is the second copy I sent to you dude; I've not used gmail with mailing lists before ) On Thu,

Re: Automatic accidental rule

2008-03-13 Thread Rune Zedeler
Stephen Lavelle skrev: (after remembering to put it in each voice) Ofcourse, if you want it globally, you can do the setting once and for all in the layout-block: \version 2.10.20 \layout { \context { \Staff autoAccidentals = #'( Staff (same-octave . -1) (same-octave . 0) )