Re: temporary polyphonic passage

2025-02-25 Thread David Wright
On Tue 25 Feb 2025 at 13:41:58 (+0100), Gianmaria Lari wrote: > The implicit instantiation of items is something almost always creating > problems for me. I agree that without it, the code would be very verbose > even for very simple situations but in the end, I have the impression that > it does

Re: temporary polyphonic passage

2025-02-25 Thread Gianmaria Lari
> > > > *If* I understood correctly, if I instantiate the first voice as you > propose the voice will go in a different context then 'd4'. > > That's the contrary. If you instantiate the first Voice (directly after > the \new Staff command, not after <<, maybe I was not clear enough in my > previou

Re: temporary polyphonic passage

2025-02-25 Thread Xavier Scheuer
On Tue, 25 Feb 2025 at 12:48, Gianmaria Lari wrote: > > *If* I understood correctly, if I instantiate the first voice as you propose the voice will go in a different context then 'd4'. That's the contrary. If you instantiate the first Voice (directly after the \new Staff command, not after <<, ma

Re: temporary polyphonic passage

2025-02-25 Thread Gianmaria Lari
[...] > You are not explicitly instantiating the first voice. > Replace \new Staff by \new Staff \new Voice and you have the expected > output. > *If* I understood correctly, if I instantiate the first voice as you propose the voice will go in a different context then 'd4'. This can be ok or not

Re: temporary polyphonic passage

2025-02-25 Thread Xavier Scheuer
On Tue, 25 Feb 2025 at 11:14, Gianmaria Lari wrote: > > I did some tests and I discovered something that's not clear. > > Why in the following code the very last note `d4` stem is up? > > %%% > \version "2.25.23" > \fixed c' \new Staff > { > %a1 > << > {\voiceTwo a,4 d g c' } > \new Vo

Re: temporary polyphonic passage

2025-02-25 Thread Gianmaria Lari
I did some tests and I discovered something that's not clear. Why in the following code the very last note `d4` stem is up? %%% \version "2.25.23" \fixed c' \new Staff { %a1 << {\voiceTwo a,4 d g c' } \new Voice {\voiceOne r1 } >> d4 % stem up } %%% I didn't call \oneVoice so I

Re: temporary polyphonic passage

2025-02-24 Thread Knute Snortum
On Mon, Feb 24, 2025 at 8:39 AM Gianmaria Lari wrote: > Thanks Knute, very clear example. And thanks David also for your reply. > > What's about \oneVoice? In my examples adding or removing it doesn't > change the output. > >> >> > >> \fixed c' \new Staff >> > >> { >> > >> \incipit >> > >> <<

Re: temporary polyphonic passage

2025-02-24 Thread Gianmaria Lari
ote: > > > On Mon, 24 Feb 2025 at 16:18, Gianmaria Lari wrote: > > > >> When I need to write a temporary polyphonic passage my code looks > similar > > >> to this: > > > >> \fixed c' \new Staff > > >> { > > >>

Re: temporary polyphonic passage

2025-02-24 Thread David Wright
On Mon 24 Feb 2025 at 07:58:19 (-0800), Knute Snortum wrote: > > On Mon, 24 Feb 2025 at 16:18, Gianmaria Lari wrote: > >> When I need to write a temporary polyphonic passage my code looks similar > >> to this: > >> \fixed c' \new Staff > >> { &

Re: temporary polyphonic passage

2025-02-24 Thread Knute Snortum
6:18, Gianmaria Lari > wrote: > >> When I need to write a temporary polyphonic passage my code looks similar >> to this: >> >> %%% >> >> \version "2.25.23" >> >> incipit = {c4 4 4 4} >> conclusion = {c4 4 4 4} >> voiceA

Re: temporary polyphonic passage

2025-02-24 Thread Gianmaria Lari
Sorry, I also forgot to mention that at the end of my polyphonic passage I normally forgot to mention (like I forgot in my previous code) the \oneVoice statement. What could happen without it? On Mon, 24 Feb 2025 at 16:18, Gianmaria Lari wrote: > When I need to write a temporary polypho

temporary polyphonic passage

2025-02-24 Thread Gianmaria Lari
When I need to write a temporary polyphonic passage my code looks similar to this: %%% \version "2.25.23" incipit = {c4 4 4 4} conclusion = {c4 4 4 4} voiceA = {c4 d e f} voiceB = {b4 a g f} \fixed c' \new Staff { \incipit %monodic << \new Voice {\voiceOne \v

Re: temporary polyphonic passage in Staff + TabStaff

2014-04-05 Thread Federico Bruni
2014-04-05 22:09 GMT+02:00 Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com>: > Hi Federico, > > > 2014-04-05 21:56 GMT+02:00 Federico Bruni : > > I'm typesetting a two voice piece which needs a temporary third voice in >> one bar only. >> The problem is that I'm using Staff + TabStaff, s

Re: temporary polyphonic passage in Staff + TabStaff

2014-04-05 Thread Pierre Perol-Schneider
Hi Federico, 2014-04-05 21:56 GMT+02:00 Federico Bruni : > I'm typesetting a two voice piece which needs a temporary third voice in > one bar only. > The problem is that I'm using Staff + TabStaff, so the following minimal > example creates an extra staff. Comment the TabStaff block and the pro

temporary polyphonic passage in Staff + TabStaff

2014-04-05 Thread Federico Bruni
I'm typesetting a two voice piece which needs a temporary third voice in one bar only. The problem is that I'm using Staff + TabStaff, so the following minimal example creates an extra staff. Comment the TabStaff block and the problem doesn't exist. \version "2.18.2" upper = \relative c' { c1