Re: Invoking a script inside lilypond

2019-11-14 Thread Urs Liska
I Check out this and see if there's anything for you (and if it still works): https://github.com/openlilylib/snippets/tree/master/editorial-tools/git-commands Urs Am 15. November 2019 04:19:28 MEZ schrieb Francesco Petrogalli : >Hi all, > >I would like to capture the output of a command line

Re: Invoking a script inside lilypond

2019-11-14 Thread Andrew Bernard
So, just out of interest here is a snippet: % \version "2.19.83" date = #(strftime "%d/%m/%Y" (localtime (current-time))) \header { tagline = \markup { \fontsize #-3.5 { \override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7) \box \center-column { \line {

Re: Invoking a script inside lilypond

2019-11-14 Thread Andrew Bernard
Hi Francesco, Aaron's code is correct. But what would your workflow be: edit/compile/fix, edit/compile/fix, ..., git commit/compile. Wouldn't that mean that most of the time you would display the previous git commit derived from git log, and so it would be incorrect the majority of the time? Sound

Re: Invoking a script inside lilypond

2019-11-14 Thread Aaron Hill
On 2019-11-14 7:19 pm, Francesco Petrogalli wrote: I would like to capture the output of a command line script into a lilypond variable. Is there a way to do this? I am trying to print the hash of a commit in the pdf, to version the file. Neither ly:spawn nor system appear to capture stdout o

Invoking a script inside lilypond

2019-11-14 Thread Francesco Petrogalli
Hi all, I would like to capture the output of a command line script into a lilypond variable. Is there a way to do this? I am trying to print the hash of a commit in the pdf, to version the file. Kind regards, Francesco

How to color objects that cause collision

2019-11-14 Thread Paolo Prete
Hello, I think that a very useful function would be a way to highlight or change the color for all the objects that are causing a collision.Is there already some code for that?Look for example at the two slurs in the following snippet: LilyPond Score | | | | LilyPond Score LilyPond Score m

Re: system-system-spacing

2019-11-14 Thread Aaron Hill
On 2019-11-14 3:16 pm, Paolo Prete wrote: Hello, the following syntax was good for some old version of lilypond but obsolete for 2.19: \paper {    system-system-spacing #'basic-distance = #28 ... Please refer to [1] for an example of adjusting paper settings. [1]: http://lilypond.org/doc/v2.1

system-system-spacing

2019-11-14 Thread Paolo Prete
Hello, the following syntax was good for some old version of lilypond but obsolete for 2.19: \paper {    system-system-spacing #'basic-distance = #28 ... How can I replace it? Thanks

Re: Display the control points of a slur

2019-11-14 Thread Aaron Hill
On 2019-11-14 2:20 pm, Paolo Prete wrote: I propose to include your snippet in a new release of Lilypond because it's very useful. It would be nice to include more debug annotations within LilyPond. If I am not mistaken, we currently have the following options: \paper { annotate-spacing =

Re: Display the control points of a slur

2019-11-14 Thread Paolo Prete
Thanks very much Aaron, I propose to include your snippet in a new release of Lilypond because it's very useful. Il mercoledì 13 novembre 2019, 16:19:29 CET, Aaron Hill ha scritto: On 2019-11-13 7:00 am, Aaron Hill wrote: > On 2019-11-13 6:32 am, Paolo Prete wrote: >> Hello, >> I wonde

Re: drawing a range reguardless of transposition

2019-11-14 Thread Aaron Hill
On 2019-11-14 8:53 am, Sandro Santilli wrote: In order to determine if I'm writing something that can be played by an instrument, is there a way to display on the score the supported range by that instrument ? I'd like to have something that doesn't change when I transpose, so to know if transpo

Re: drawing a range reguardless of transposition

2019-11-14 Thread karl
Sandro: > In order to determine if I'm writing something that can > be played by an instrument, is there a way to display > on the score the supported range by that instrument ? > > I'd like to have something that doesn't change when I > transpose, so to know if transpositions are possible > at al

drawing a range reguardless of transposition

2019-11-14 Thread Sandro Santilli
In order to determine if I'm writing something that can be played by an instrument, is there a way to display on the score the supported range by that instrument ? I'd like to have something that doesn't change when I transpose, so to know if transpositions are possible at all... --strk; ()

Re: Re: Macro with pitches as parameters

2019-11-14 Thread Mats Bengtsson
On 2019-11-14 12:46, Aaron Hill wrote: On 2019-11-14 1:02 am, David Menéndez Hurtado wrote: >> I am transcribing a piece that is filled with the rhythmic motif "8. 16 8" at different pitches. Being a LaTeX user, I want to write a macro like \myrithm{c a g}. I found the documentation for Schem

Re: Mac OS 10.15 Catalina

2019-11-14 Thread Hans Åberg
After running the LilyPond installer listed at the bottom this page, open the Frescobali app and in Preferences > LilyPond Preferences > “LilyPond versions to use”, set as Default the path /opt/lilypond/bin/lilypond > On 14 Nov 2019, at 10:19, Jeremiah Reilly wrote: > > Carl, thanks for bot

Re: Macro with

2019-11-14 Thread David Kastrup
David Menéndez Hurtado writes: > On Thu, 14 Nov 2019 at 12:47, Aaron Hill wrote: > >> Secondly, there's a quirk in variable substitution syntax. You need to >> use the $var form, so the parser will see the ly:pitch? and ly:duration? >> tokens as indicating a single note. >> > > Ah, right. I und

Re: Mac OS 10.15 Catalina

2019-11-14 Thread Tim McNamara
Frescobaldi itself does not generate sheet music. You need to install Lilypond also. In my experience with Catalina, Hans Aberg's .mkpg installs with a double click and works fine(except for convert-ly, apparently). Frescobaldi 3 does not work out of the box on the Mac; there are a half a dozen

Applying a rhythmic pattern (was Re: Macro with)

2019-11-14 Thread Aaron Hill
I was inspired by David's post, as I have also encountered patterns in durations that I wish were less redundant to input. The snippet Malte linked to is rather complex, although I suspect it is significantly more air-tight at handling edge cases. Here is a simpler (i.e. "one-pager") music fu

Re: Macro with

2019-11-14 Thread Urs Liska
Am 14.11.19 um 10:26 schrieb David Menéndez Hurtado: On Thu, 14 Nov 2019 at 10:05, Malte Meyn > wrote: Am 14.11.19 um 10:02 schrieb David Menéndez Hurtado: > I am transcribing a piece that is filled with the rhythmic motif "8. 16 > 8" at differen

Re: Reusing score music for parts

2019-11-14 Thread Urs Liska
Am 14.11.19 um 13:18 schrieb Dartme: bobroff@centrum.isReply Mar 12, 2012; 10:34am said the following: "My usual practice is to write all the definitions (musical information) in one file.  Then I write other files for the score and parts.  You can "include" a file in another file.  This has

Re: Unwanted warning messages: omitting tuplet bracket

2019-11-14 Thread Peter Toye
Andrew, So it does. I wonder why. I don't really mind if invisible objects are grouped or not :) Thanks. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Wednesday, November 13, 2019, 11:05:28 AM, Andrew Bernard wrote: > Hi Peter, > If you leave out the

Reusing score music for parts

2019-11-14 Thread Dartme
bobroff@centrum.isReply Mar 12, 2012; 10:34am said the following: "My usual practice is to write all the definitions (musical information) in one file. Then I write other files for the score and parts. You can "include" a file in another file. This has the advantage that when you make edits in y

Re: Macro with

2019-11-14 Thread David Menéndez Hurtado
On Thu, 14 Nov 2019 at 12:47, Aaron Hill wrote: > Secondly, there's a quirk in variable substitution syntax. You need to > use the $var form, so the parser will see the ly:pitch? and ly:duration? > tokens as indicating a single note. > Ah, right. I understand now the manual means with "normal L

Re: Macro with

2019-11-14 Thread Aaron Hill
On 2019-11-14 1:02 am, David Menéndez Hurtado wrote: This is what I managed to put together, but doesn't quite work. Anyone can suggest how to fix it? \version "2.19.83" \language "english" myrithm = #(define-music-function (parser location first second third) (first second third) (ly:pit

Re: Cross-staff notes using only one music expression

2019-11-14 Thread Leo Correia de Verdier
As Knute writes the upper staff needs to be created and kept alive. In this case, the PianoStaff context contains a Keep_alive_together_engraver that can take care of the keeping alive, but the staff still needs to be initiated. I’m not sure if that can be done from inside the musical expression

Re: Macro with

2019-11-14 Thread David Menéndez Hurtado
On Thu, 14 Nov 2019 at 10:05, Malte Meyn wrote: > Am 14.11.19 um 10:02 schrieb David Menéndez Hurtado: > > I am transcribing a piece that is filled with the rhythmic motif "8. 16 > > 8" at different pitches. Being a LaTeX user, I want to write a macro > > like \myrithm{c a g}. > > Maybe http://ls

Re: Mac OS 10.15 Catalina

2019-11-14 Thread Jeremiah Reilly
Carl, thanks for both tips. The Frescobaldi Downloads page states "Install a copy of Lilypond as well." Not sure how that jives with Catalina. Sorry to be inept re packages and making from source. I am a musician, not a developer. Your help much appreciated. On Wed, Nov 13, 2019 at 4:34 PM Carl

Re: Macro with

2019-11-14 Thread Malte Meyn
Am 14.11.19 um 10:02 schrieb David Menéndez Hurtado: I am transcribing a piece that is filled with the rhythmic motif "8. 16 8" at different pitches. Being a LaTeX user, I want to write a macro like \myrithm{c a g}. Maybe http://lsr.di.unimi.it/LSR/Item?id=465 or http://lsr.di.unimi.it/LSR

Macro with

2019-11-14 Thread David Menéndez Hurtado
I am transcribing a piece that is filled with the rhythmic motif "8. 16 8" at different pitches. Being a LaTeX user, I want to write a macro like \myrithm{c a g}. I found the documentation for Scheme functions, and how to edit whole music sections, but nothing on how to insert a fixed number of pit