Re: tie & tag

2019-11-25 Thread Gianmaria Lari
Dear Aaron, you wrote: [] > \pushToTag and \appendToTag only work on things that have an elements > property. So that means this expression is valid but useless: > > \pushToTag #'here c' \tag #'here g' I tried to search "Element property" and I found this:

Re: tie & tag

2019-11-25 Thread Gianmaria Lari
Dear Aaron... > A \tag is not a location per se, but rather it marks the following bit > of music with some identifier. [.] Thanks a lot for your examples, now it's perfectly clear! I post here some other examples inspired by your code. I did my best to write the easiest as possible

Re: tie & tag

2019-11-22 Thread Aaron Hill
On 2019-11-22 12:49 pm, Gianmaria Lari wrote: Your code surprise me, so probably I didn't understand how tag do work. I thought that this \pushToTag #'here c' \tag #'here { g' } would be 'converted' to c' { g' } [ . . . ] Could you please give me some hints? In part, I think the \tag being

Re: tie & tag

2019-11-22 Thread Gianmaria Lari
On Fri, 22 Nov 2019 at 18:53, Aaron Hill wrote: > On 2019-11-22 7:49 am, Gianmaria Lari wrote: > > I tried (again) with PushToTag with no success. And I don't understand > > why > > it doesn't work. Here it is the code: > > \pushToTag and \appendToTag only work on things that have an elements >

Re: tie & tag

2019-11-22 Thread Aaron Hill
On 2019-11-22 7:49 am, Gianmaria Lari wrote: I tried (again) with PushToTag with no success. And I don't understand why it doesn't work. Here it is the code: \pushToTag and \appendToTag only work on things that have an elements property. So that means this expression is valid but useless:

Re: tie & tag

2019-11-22 Thread Gianmaria Lari
I tried (again) with PushToTag with no success. And I don't understand why it doesn't work. Here it is the code: \version "2.21.00" \tagGroup #'(screenOut midiOut) nc = {\tag #'midiOut\tag #'tieTag {} \tag #'screenOut c' } myScore = {\pushToTag #'tieTag ~ \nc \nc} \keepWithTag #'screenOut

Re: tie & tag

2019-11-22 Thread Gianmaria Lari
Hello Aaron, made some tests and I discovered where are the issues. Here is our working code (just a bit simplified): \version "2.21.0" \tagGroup #'(screenOut midiOut) nc = {\tag #'midiOut\tag #'screenOut c' } myScore = {\nc << \nc <>~ >> \nc} \keepWithTag #'screenOut \myScore \keepWithTag

Re: tie & tag

2019-11-21 Thread Gianmaria Lari
Ciao Aaron, you wrote: > > Here's something you can do in 2.19.83: > > > > > > \version "2.19.83" > > > > \tagGroup #'(screenOut midiOut) > > nc = {\tag #'midiOut \tag #'screenOut c' } > > nd = {\tag #'midiOut \tag #'screenOut d' } > > myScore = {\nc \nd \nc << \nd s~ >> \nd} >

Re: tie & tag

2019-11-21 Thread Aaron Hill
On 2019-11-21 3:58 pm, Aaron Hill wrote: Here's something you can do in 2.19.83: \version "2.19.83" \tagGroup #'(screenOut midiOut) nc = {\tag #'midiOut \tag #'screenOut c' } nd = {\tag #'midiOut \tag #'screenOut d' } myScore = {\nc \nd \nc << \nd s~ >> \nd} \score

Re: tie & tag

2019-11-21 Thread Aaron Hill
On 2019-11-21 3:11 pm, Gianmaria Lari wrote: Consider this situation: \version "2.21.00" \tagGroup #'(screenOut midiOut) nc = {\tag #'midiOut \tag #'screenOut c' } nd = {\tag #'midiOut \tag #'screenOut d' } myScore = {\nc \nd \nc \nd~\nd} \score {\keepWithTag #'screenOut \myScore

Re: tie & tag

2019-11-21 Thread Gianmaria Lari
Consider this situation: \version "2.21.00" \tagGroup #'(screenOut midiOut) nc = {\tag #'midiOut \tag #'screenOut c' } nd = {\tag #'midiOut \tag #'screenOut d' } myScore = {\nc \nd \nc \nd~\nd} \score {\keepWithTag #'screenOut \myScore \layout{}} \score {\keepWithTag #'midiOut

Re: tie & tag

2019-11-21 Thread Gianmaria Lari
On Thu, Nov 21, 2019, 5:35 PM David Kastrup wrote: > Gianmaria Lari writes: > > > I would expect this code > > > > > > \version "2.21.00" > > test = {\tag #'first c' > > \tag #'second e'} > > \keepWithTag #'first {\test~\test} > > \keepWithTag #'second {\test~\test} > > > > ...

Re: tie & tag

2019-11-21 Thread David Kastrup
Gianmaria Lari writes: > I would expect this code > > > \version "2.21.00" > test = {\tag #'first c' > \tag #'second e'} > \keepWithTag #'first {\test~\test} > \keepWithTag #'second {\test~\test} > > ... generates two scores > > c~c > > and > > e~e > > but it doesn't! It generates > > c

tie & tag

2019-11-21 Thread Gianmaria Lari
I would expect this code \version "2.21.00" test = {\tag #'first c' \tag #'second e'} \keepWithTag #'first {\test~\test} \keepWithTag #'second {\test~\test} ... generates two scores c~c and e~e but it doesn't! It generates c c and e~e Why no ties in the first score? Any "fix"?