Re: Helper macros for music analysis

2018-11-01 Thread Thomas Morley
Am Do., 1. Nov. 2018 um 19:37 Uhr schrieb Jérôme Plût : > > Kalendis Novembribus MMXVIII scripsit Thomas Morley : > > Part of the problem is you use 'structure as a music-property without > > declaring it. As a consequence using the option -dcheck-internal-types > > makes the compilation fail. > >

Re: Three questions about Scheme functions

2018-11-01 Thread Thomas Morley
Am Mo., 29. Okt. 2018 um 15:30 Uhr schrieb Jérôme Plût : > > I have a few questions about using Scheme to build Lilypond data. > > 1. I have some Scheme code that builds custom articulations (more > precisely, it attaches metadata to NoteEvents, and the only way I found > to make this possible is v

Re: Helper macros for music analysis

2018-11-01 Thread Jérôme Plût
Kalendis Novembribus MMXVIII scripsit Thomas Morley : > Part of the problem is you use 'structure as a music-property without > declaring it. As a consequence using the option -dcheck-internal-types > makes the compilation fail. This is why, in a previous iteration of this code, I used an invisibl

SystemStartBracket and BarNumber collision

2018-11-01 Thread Pierre-Luc Gauthier
Hi there, In the example bellow : Why doesn't the SystemStartBracket push the BarNumber up? Probably rather : Why doesn't the SystemStartBracket register in the skylines? \version "2.21.0" \layout { \override Score.BarNumber.self-alignment-X = #CENTER \override StaffGroup.SystemStartBracket.

Re: BarNumber.whiteout over StaffGroup vertical lines

2018-11-01 Thread Pierre-Luc Gauthier
Hi Thomas, I thought since the behavior could be repeatable (like in my MWE) that it was a symptom of some other problem. So I suppose that what LilyPond does in some repeatable situation is to print the BarNumber first and in some other print the SystemStartBar first. Changing the layer does inde

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread Lukas-Fabian Moser
+1. I've *never* seen an ambitus except at the very beginning of a piece. I often use an ambitus in front- or end-matter, to give vocal ranges separate from the score itself. Of course, "front-matter" can be interpreted as "the very beginning of a piece", but I think of it as entirely separate

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread Thomas Morley
Am Do., 1. Nov. 2018 um 16:24 Uhr schrieb Kieren MacMillan : > > Hi Werner, > > > +1. I've *never* seen an ambitus except at the very beginning of a piece. > > I often use an ambitus in front- or end-matter, to give vocal ranges separate > from the score itself. Of course, "front-matter" can be i

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread Kieren MacMillan
Hi Werner, > +1. I've *never* seen an ambitus except at the very beginning of a piece. I often use an ambitus in front- or end-matter, to give vocal ranges separate from the score itself. Of course, "front-matter" can be interpreted as "the very beginning of a piece", but I think of it as enti

Re: Helper macros for music analysis

2018-11-01 Thread Thomas Morley
Am Do., 1. Nov. 2018 um 14:44 Uhr schrieb Jérôme Plût : > > > I wrote some macros to help write analysis of musical pieces. > Here is an example file (on Bach's Invention I). > > Structural analysis is (of course) performed by hand, and displayed on > a Lyrics structure on top of the music. (This p

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread Werner LEMBERG
> So, to be honest, I'm not sure whether trying to make the > Ambitus_engraver compatible with hiding empty staves would be worth > the effort, especially if (as you say) that effort would be large. +1. I've *never* seen an ambitus except at the very beginning of a piece. Werner

Helper macros for music analysis

2018-11-01 Thread Jérôme Plût
I wrote some macros to help write analysis of musical pieces. Here is an example file (on Bach's Invention I). Structural analysis is (of course) performed by hand, and displayed on a Lyrics structure on top of the music. (This part is only a set of very simple macros). Harmonic analysis is perf

Re: \RemoveEmptyStaves not removing first line [OT-ish]

2018-11-01 Thread Kieren MacMillan
Hi Lukas, > It seems to me that the whole point (or, at least, the most important > application) of the Ambitus indication is to enable users of the score to > judge the tessitura "at first glance" (even though, of course, for a reliable > judgement one would have to look at the actual music in

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread Lukas-Fabian Moser
Where would you expect the Ambitus marker to show up if you do not want the staff to appear in the first system? First entry? I am not sure that the interfaces the Ambitus_engraver exercises would allow to make that difference, but if they did, this would be a reasonable expectation. Though

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread David Kastrup
Lukas-Fabian Moser writes: > Am 01.11.18 um 01:34 schrieb Rohan Srinivasan: >> Thank you - I meant to reply to the list. I have the following: > > The problem is the Ambitus_engraver. The ambitus is given at the > beginning of the piece, and if you do this, the first staff of the > singing voice

Re: \RemoveEmptyStaves not removing first line

2018-11-01 Thread Lukas-Fabian Moser
Am 01.11.18 um 01:34 schrieb Rohan Srinivasan: Thank you - I meant to reply to the list. I have the following: The problem is the Ambitus_engraver. The ambitus is given at the beginning of the piece, and if you do this, the first staff of the singing voice is not empty (but contains the Amb

Re: put footnote in a variable

2018-11-01 Thread Gianmaria Lari
On Thu, 1 Nov 2018 at 11:12, Aaron Hill wrote: > On 2018-11-01 2:59 am, Gianmaria Lari wrote: > > Ahem I found another issue Aaron. > > > > Suppose you have a variable containing the music and the reference to > > your > > footnote code. Something like this: > > > > var = {a b c d \myfootnote

Re: put footnote in a variable

2018-11-01 Thread Aaron Hill
On 2018-11-01 2:59 am, Gianmaria Lari wrote: Ahem I found another issue Aaron. Suppose you have a variable containing the music and the reference to your footnote code. Something like this: var = {a b c d \myfootnote e f g a} If you 'use' the variable multiple time in your score you pro

Re: lilypond-invoke-editor in Windows

2018-11-01 Thread Federico Bruni
Il 2018-10-31 07:43 Aaron Hill ha scritto: On 2018-10-31 12:34 am, David Kastrup wrote: Federico Bruni writes: Hi all I'm trying again to make lilypond-invoke-editor work in Windows. Someone managed to make it work using Windows Subsystem for Linux, that is installing the LylyPond Linux bina

Re: put footnote in a variable

2018-11-01 Thread Gianmaria Lari
Ahem I found another issue Aaron. Suppose you have a variable containing the music and the reference to your footnote code. Something like this: var = {a b c d \myfootnote e f g a} If you 'use' the variable multiple time in your score you probably don't want to display the footnote multiple

Re: put footnote in a variable

2018-11-01 Thread Gianmaria Lari
On Thu, 1 Nov 2018 at 09:33, Aaron Hill wrote: > On 2018-11-01 1:04 am, Gianmaria Lari wrote: > > I have the following code: > > > > \version "2.19.81" > > \fixed c' { > > \time 3/4 > > c c c > > > > \once \override Score.FootnoteItem.annotation-line = ##f > > \footnote \markup\huge { * }

Re: put footnote in a variable

2018-11-01 Thread Aaron Hill
On 2018-11-01 1:04 am, Gianmaria Lari wrote: I have the following code: \version "2.19.81" \fixed c' { \time 3/4 c c c \once \override Score.FootnoteItem.annotation-line = ##f \footnote \markup\huge { * } #'(0 . 5) \markup {\lower #0.8 { \super { * } } "The second time play the m

put footnote in a variable

2018-11-01 Thread Gianmaria Lari
I have the following code: \version "2.19.81" \fixed c' { \time 3/4 c c c \once \override Score.FootnoteItem.annotation-line = ##f \footnote \markup\huge { * } #'(0 . 5) \markup {\lower #0.8 { \super { * } } "The second time play the measure as " \raise #0.5 \score { \new S