Re: How to revert an override in partcombine

2014-02-10 Thread Ed Gordijn

Hi Pierre,


I use an override in partcombine to ignore collisions. But how do
I revert this again?


\override Staff.NoteColumn.ignore-collision =##t
\revert Staff.NoteColumn.ignore-collision

should work.


It does! Now I can write my music function.

Thank you,

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


Re: How to revert an override in partcombine

2014-02-10 Thread Pierre Perol-Schneider
2014-02-10 12:34 GMT+01:00 Ed Gordijn :

> Hi,
>

Hi Ed,


>
> I use an override in partcombine to ignore collisions. But how do I revert
> this again?
>


\override Staff.NoteColumn.ignore-collision =##t
\revert Staff.NoteColumn.ignore-collision

should work.

Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fwd: Re: How to revert an override in partcombine

2014-02-10 Thread Ed Gordijn
-- Doorgestuurd bericht --
Van: "Ed Gordijn" 
Datum: 10 feb. 2014 21:00
Onderwerp: Re: How to revert an override in partcombine
Aan: "Keith OHara" 
Cc:

Hi Keith,

> Most overrides change a setting of the current Voice

Are the settings for the other voices out of reach? Is it possible to to
set it with scheme? That would make it possible to use a temporary override
in a music function.

Greetings, Ed
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to revert an override in partcombine

2014-02-10 Thread Keith OHara
Ed Gordijn  gmail.com> writes:

> I use an override in partcombine to ignore collisions. But how do I 
> revert this again?

Revert the next time that \partcombine output has the same
configuration of Voices.

As the two parts change in relation to each other, the part-combiner 
sometimes routes them in to one Voice, sometimes into separate Voices.

Most overrides change a setting of the current Voice, so if you override
while voices are separate, you change the way separate voices are set,
but the next music in unison is unaffected.

Overrides apply to at the moment of the next note, so an override 
immediately before \partcombineAutomatic applies to the first note
that goes into the automatically-chosen configuration of Voices.

So you have to change your overrides that apply to Voices
the next time those Voices are in use.

musicII =  \relative g' {
  \partcombineApart
\override Voice.NoteColumn.ignore-collision =##t
g1~
g1
  \partcombineAutomatic
  g2 g
  \partcombineApart
  \override Voice.NoteColumn.ignore-collision =##f 
g2 e
}


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


How to revert an override in partcombine

2014-02-10 Thread Ed Gordijn

Hi,

I use an override in partcombine to ignore collisions. But how do I 
revert this again?
In the snippet below I trie to revert but this doens't have effect and 
the g in the last measure collides.


I know that \once does work but I would prefer the construction with 
\override and \revert because I want to use this in longer sequences too.


Greetings, Ed


\version "2.18.0"

musicI =  \relative g' {
  g1~
  g1
  c2 c
  g1
}

musicII =  \relative g' {
  % create a double tie with partcombine
  \partcombineApart
\override Voice.NoteColumn.ignore-collision =##t
g1~
g1
\revert Voice.NoteColumn.ignore-collision
% tried both revert and override but there is no difference
% \override Voice.NoteColumn.ignore-collision =##f
  \partcombineAutomatic
  g2 g
  \partcombineApart
%\override Voice.NoteColumn.ignore-collision =##f % works, but why 
do I need it twice

g2 e
  \partcombineAutomatic
}


\partcombine \musicI \musicII

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