Re: scheme with Frescobaldi

2018-06-26 Thread Freeman Gilmore
> >> Thanks Urs: >> >> That worked. Problem was that I did not know that the results would be >> displayed in the log window. The tutorial I am using had some example >> like (+ 1 2 3) => and I was expecting 6 in the same window on the next >> line when I compiled. >> >> >> This is what one

Re: \bookparts and scaling

2018-06-26 Thread Ralph Palmer
On Tue, Jun 26, 2018 at 2:13 PM wrote: > Ativo 26 de jun de 2018 01:25, < crimsonsunr...@protonmail.com> escreveu: > > After some searching and some dead ends (due to the fact that the standard > lilypond snippet site doesn't open in qutebrowser), I can't seem to find a > way of solving this

Re: Need help creating Scheme functions to automate includes of many scores in a project

2018-06-26 Thread Aaron Hill
On 2018-06-26 16:02, Karlin High wrote: On 6/26/2018 5:41 PM, Aaron Hill wrote: So is the only option, then, to just dive into the code at this point? Have you seen this post by Stéfano Troncaro? I had not, though that

Re: Need help creating Scheme functions to automate includes of many scores in a project

2018-06-26 Thread Karlin High
On 6/26/2018 5:41 PM, Aaron Hill wrote: So is the only option, then, to just dive into the code at this point? Have you seen this post by Stéfano Troncaro? -- Karlin High Missouri, USA

Re: Need help creating Scheme functions to automate includes of many scores in a project

2018-06-26 Thread Aaron Hill
On 2018-06-25 22:42, Urs Liska wrote: Also, not directly. But you can make it happen. Basically you have to define some variable in the top-level file, say #(define is-main-file #t). Then you can check in the included file for #(if (defined? is-main-file) That was the general idea I was

Re: Tags template, for markup?

2018-06-26 Thread Ben
On 6/26/2018 4:42 PM, David Kastrup wrote: Ben writes: On 6/26/2018 4:15 PM, David Kastrup wrote: Ben writes: Hello everyone, I'm learning very quickly just how incredibly powerful the tags system can be, but today my brain just can't get past one hurdle. I am hoping someone can help me

music-function name shadowing a Scheme keyword

2018-06-26 Thread Urs Liska
Hi all, I've mostly completed the implementation of a "span" module that provides the \span music-function, which is roughly the same as the HTML element. Nearly everything works fine by now, and I've been very happy with the name - until I realized that a music-function \span can be

Re: Tags template, for markup?

2018-06-26 Thread David Kastrup
Ben writes: > On 6/26/2018 4:15 PM, David Kastrup wrote: >> Ben writes: >> >>> Hello everyone, >>> >>> I'm learning very quickly just how incredibly powerful the tags system >>> can be, but today my brain just can't get past one hurdle. >>> >>> I am hoping someone can help me to grasp this:

Re: Tags template, for markup?

2018-06-26 Thread Ben
On 6/26/2018 4:15 PM, David Kastrup wrote: Ben writes: Hello everyone, I'm learning very quickly just how incredibly powerful the tags system can be, but today my brain just can't get past one hurdle. I am hoping someone can help me to grasp this: suppose I would like to setup a tag

Re: Tags template, for markup?

2018-06-26 Thread David Kastrup
Ben writes: > Hello everyone, > > I'm learning very quickly just how incredibly powerful the tags system > can be, but today my brain just can't get past one hurdle. > > I am hoping someone can help me to grasp this: suppose I would like to > setup a tag template (for my visualizing and

Tags template, for markup?

2018-06-26 Thread Ben
Hello everyone, I'm learning very quickly just how incredibly powerful the tags system can be, but today my brain just can't get past one hurdle. I am hoping someone can help me to grasp this: suppose I would like to setup a tag template (for my visualizing and learning) so I can add some

Re: Bar number position and text (especially for anacruses)

2018-06-26 Thread Torsten Hämmerle
*PS:* I should probably have mentioned that TextScript, Dynamics etc. behave in exactly the same way and the usual remedy to vertically align them on a common baseline is to use staff-padding. The problem with bar numbers is that they are not in a Staff context but in the Score context and

Re: Bar number position and text (especially for anacruses)

2018-06-26 Thread Torsten Hämmerle
Stephen Cummings wrote > Anyone with suggestions for points 1 and 2? > > > > Stephen Cummings wrote on 6/23/2018 8:07 AM: > > >  1. Vertical alignment/positioning of  bar numbers. In the output the > parenthetical bar number for the anacrusis is higher than the remaining > bar numbers. Hi

Re: Bar number position and text (especially for anacruses)

2018-06-26 Thread Simon Albrecht
On 26.06.2018 20:02, Stephen Cummings wrote: That crude trial-and-error gave me a working adaptation that shrinks the text so that it more or less fits: ... (markup #:tiny #:italic"pickup")) and I now see how markups in lambda functions or whatever they're called can be formatted.

Re: \bookparts and scaling

2018-06-26 Thread crimsonsunrise
Ativo 26 de jun de 2018 01:25, escreveu: After some searching and some dead ends (due to the fact that the standard lilypond snippet site doesn't open in qutebrowser), I can't seem to find a way of solving this one. I'm trying to get a single pdf with all different parts of the main score and

Re: Bar number position and text (especially for anacruses)

2018-06-26 Thread Stephen Cummings
Thanks so much, Andrew--never would have figured that out. Have a long way to go before I understand the sort of code you provided so I just experimented with various examples I found that contained the word "markup" until I got successful compilation. That crude trial-and-error gave me a

Re: Catch possible non-rhythmic-event music expressions

2018-06-26 Thread Urs Liska
Am 25.06.2018 um 14:30 schrieb Urs Liska: 2) How can I know the comprehensive list of type/grob mappings I have to support? 3) What would be a better structure than the growing list of memq conditionals, especially if the list should turn out to be significantly longer than the five I

Re: Repeat question

2018-06-26 Thread David Wright
On Mon 25 Jun 2018 at 12:34:13 (-0700), Torsten Hämmerle wrote: > Ok, when looking at the XML data, I'll have to admit that Finale, Musescore > and Sibelius (just tested it) are closer to the XML reality, whereas > LilyPond fills in missing parts. I'd agree, and would say that the XML is simply

Re: Catch possible non-rhythmic-event music expressions

2018-06-26 Thread Urs Liska
Am 25.06.2018 um 14:30 schrieb Urs Liska: .. 1) Determining Staff.Clef is obviously not correct since there are other music-wrapper-music types around. How can I reliably determine if a music expression (which has already been determined not to be sequential and not to be rhythmic)

Re: scheme with Frescobaldi

2018-06-26 Thread Freeman Gilmore
​ On Tue, Jun 26, 2018 at 12:24 AM, Andrew Bernard wrote: > Hi Freeman, > > I'm not understanding this thread. For Scheme development or learning, why > wouldn't you use a command line REPL, such as the one provided with guile? > Are you trying to use Frescobaldi as some sort of IDE? That seems

Re: Need help creating Scheme functions to automate includes of many scores in a project

2018-06-26 Thread David Kastrup
Nah writes: > Thanks. That gives me a good starting point. Will it work in a > procedure? Something like: > createLessons = #(make-scheme-function ( ... )) > > Can I assume the infinite loop to be caused by the ".ly" suffix being > the same as the suffix of the main file? If I use ".ily" suffix

Re: Need help creating Scheme functions to automate includes of many scores in a project

2018-06-26 Thread Nah
Thanks. That gives me a good starting point. Will it work in a procedure? Something like: createLessons = #(make-scheme-function ( ... )) Can I assume the infinite loop to be caused by the ".ly" suffix being the same as the suffix of the main file? If I use ".ily" suffix for all the scores

Re: add a ticktock measure to the beginning of a score

2018-06-26 Thread Gianmaria Lari
On Tue, 26 Jun 2018 at 12:03, David Kastrup wrote: > Gianmaria Lari writes: > > > On Tue, 26 Jun 2018 at 10:47, David Kastrup wrote: > > > >> Gianmaria Lari writes: > >> > >> > For this I thought to write a substitution function etc. Something > like > >> > this (it doesn't compile): > >> > >

Re: add a ticktock measure to the beginning of a score

2018-06-26 Thread David Kastrup
Gianmaria Lari writes: > On Tue, 26 Jun 2018 at 10:47, David Kastrup wrote: > >> Gianmaria Lari writes: >> >> > For this I thought to write a substitution function etc. Something like >> > this (it doesn't compile): >> > >> > \version "2.19.81" >> > myScore = >> > #(define-void-function

Re: add a ticktock measure to the beginning of a score

2018-06-26 Thread Gianmaria Lari
On Tue, 26 Jun 2018 at 10:47, David Kastrup wrote: > Gianmaria Lari writes: > > > For this I thought to write a substitution function etc. Something like > > this (it doesn't compile): > > > > \version "2.19.81" > > myScore = > > #(define-void-function (music) (ly:music?) > >(let (myRests

Re: scheme with Frescobaldi

2018-06-26 Thread Urs Liska
Hi Andrew, Am 26.06.2018 um 06:24 schrieb Andrew Bernard: Hi Freeman, I'm not understanding this thread. For Scheme development or learning, why wouldn't you use a command line REPL, such as the one provided with guile? Are you trying to use Frescobaldi as some sort of IDE? That seems

Re: add a ticktock measure to the beginning of a score

2018-06-26 Thread David Kastrup
Gianmaria Lari writes: > For this I thought to write a substitution function etc. Something like > this (it doesn't compile): > > \version "2.19.81" > myScore = > #(define-void-function (music) (ly:music?) >(let (myRests #{ \time 3/4 r4 r r #} ) (ticktock #{ \time 3/4 hihat > bassdrum

Re: scheme with Frescobaldi

2018-06-26 Thread Urs Liska
Am 26.06.2018 um 02:25 schrieb Freeman Gilmore: ​ On Mon, Jun 25, 2018 at 4:04 PM, Urs Liska > wrote: CCing to the list. Am 25.06.2018 um 21:47 schrieb Freeman Gilmore: On Mon, Jun 25, 2018 at 9:29 AM, Urs Liska mailto:li...@openlilylib.org>>

add a ticktock measure to the beginning of a score

2018-06-26 Thread Gianmaria Lari
Few days ago I asked how to get the number of beats and the duration of each beat of a measure. The reason was that I wanted to try to write some facilities to add a ticktock measure at the beginning of a score: My idea was to transform a score like this \version "2.19.81" music = {\time 3/4 a

Re: CueVoice issues.

2018-06-26 Thread Torsten Hämmerle
Hi Crimson, It's all about quotes and cues, isn't it, and that's why LilyPond offers some quote and cue functionality. With your original note material as a basis, I've set up a fictional mini score consisting of Violin 1 and Violin 2. Violin 2 should show Violin 1 cue notes in its part, but the

Re: Accidental style in presence of mid-bar line breaks.

2018-06-26 Thread Richard Shann
On Mon, 2018-06-25 at 22:48 +0200, Simon Albrecht wrote: > On 25.06.2018 13:25, Richard Shann wrote: > > In 18th c. mss and prints it is quite common to create line breaks > > during bars - I've found this much improves the legibility of some > > florid slow movements. > > > > However, it seems