Re: circle of fifths

2016-09-06 Thread Andrew Bernard
Hi Brian, Nice! I wonder if the Anglophone version should go on LSR as well? Andrew On 6 September 2016 at 14:19, Brian Barker wrote: > At 03:04 06/09/2016 +, Ming Tsang wrote: > >> I found LSR circle of fifths. It is in \language "deutsch" by Manuela >> http://lsr.di.unimi.it/LSR/Snippe

Re: circle of fifths

2016-09-06 Thread MING TSANG
Brian,  Thank you very much for the "english" version.Immanuel,Ming. From: Brian Barker To: lilypond-user@gnu.org Cc: Ming Tsang Sent: Tuesday, September 6, 2016 12:19 AM Subject: Re: circle of fifths At 03:04 06/09/2016 +, Ming Tsang wrote: >I found LSR circle of fifths. It is

Re: circle of fifths

2016-09-06 Thread Federico Bruni
Hi Ming IIRC you cannot use GUI programs as Frescobaldi, right? Anyway, in Frescobaldi the conversions from language A to language B are based on a tool called python-ly, which includes a command-line program. The following command: ly translate english input-file.ly should do what you nee

Video generation, bash script, keeps sync in spite of tempo changes

2016-09-06 Thread Knut Petersen
Hi everybody! I think some people might be interested in the files attached. JSBI1.ly is a sample document (Bach Invention No. 1) that demonstrates the syntax. It includes some insane tempo changes and a bad layout to force pages with a variable number of systems. You'll see that despite of th

Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Hi list, I want to change the MultiMeasureRest.stencil to a squiggle as shown in the appendices (quite roughly pasted together in GIMP). Searching the LSR and the web does not give any informations about this topic (the only thing I found was using the percent stencil, which is also hardcoded

Re: calculation of the total duration of a score

2016-09-06 Thread Marc Hohl
Am 05.09.2016 um 11:54 schrieb Federico Bruni: Il giorno lun 5 set 2016 alle 11:01, Marc Hohl ha scritto: [...] I have not tried, but maybe python-ly is able to give what you want? http://python-ly.readthedocs.io/en/latest/ly.music.html Thanks for the link. If I haven't overlooked an import

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Pierre Perol-Schneider
Hi Marc, See: http://lilypond.1069038.n5.nabble.com/How-to-align-a-new-MultiMeasureRest-stencil-td142767.html How about: \version "2.19.47" #(define (new-centered-mmr-stencil grob) (let* ((sys (ly:grob-system grob)) (X-extent (lambda (q) (ly:grob-extent q sys X))) (l

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Kieren MacMillan
Hi Mark, > I tried to override the stencil by > \override MultiMeasureRest.stencil = #ly:line-spanner::print Please post a minimal example, and I’ll take a look. Thanks, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenm

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Pierre Perol-Schneider
Or even: #(define (new-centered-mmr-stencil grob) (let* ((sys (ly:grob-system grob)) (X-extent (lambda (q) (ly:grob-extent q sys X))) (left-bound (ly:spanner-bound grob LEFT)) (left-bound-X-length (interval-length (X-extent left-bound))) (left-b

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
On Tue, Sep 6, 2016 at 9:09 AM, David Nalesnik wrote: > > \version "2.19.46" > > #(define my-stencil >(lambda (grob) > (let* ((default-stil (ly:multi-measure-rest::print grob)) > (X-ext (ly:stencil-extent default-stil X))) >(ly:line-interface::line grob (car X-ext) 0

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
Hi Marc, On Tue, Sep 6, 2016 at 7:28 AM, Marc Hohl wrote: > Hi list, > > I want to change the MultiMeasureRest.stencil to a squiggle as shown in the > appendices (quite roughly pasted together in GIMP). > Searching the LSR and the web does not give any informations about this > topic (the only th

Version 2.18 vs.2.19 speed and W10

2016-09-06 Thread Pierre Perol-Schneider
Hi All, This morning Win10 forced me to do an update which has last more than an hour, and then another one few hours later (15mn "only"). Since then, I have a very long run delay with LP v2.19. For example, the snippet in this thread : http://lilypond.1069038.n5.nabble.com/Changing-MulitMeasureRe

Re: circle of fifths

2016-09-06 Thread Simon Albrecht
On 06.09.2016 16:50, Simon Albrecht wrote: On 06.09.2016 12:51, Andrew Bernard wrote: Hi Federico, But that tool does not change German variable names into names that are in English, and more meaningful to a speaker of that language. [There is lots of scheme in that circle of fifths code with

Re: Version 2.18 vs.2.19 speed and W10

2016-09-06 Thread Pierre Perol-Schneider
Maybe an simpler compilation: \version "2.18.2" { c' } Starting lilypond-windows.exe 2.18.2 [Untitled]... Processing `c:/users/pierre/appdata/local/temp/frescobaldi-zjscau/tmpaf0a6q/ document.ly' Parsing... Interpreting music... Preprocessing graphical objects... Finding the ideal number of pages

Re: circle of fifths

2016-09-06 Thread Federico Bruni
Il giorno mar 6 set 2016 alle 12:51, Andrew Bernard ha scritto: But that tool does not change German variable names into names that are in English, and more meaningful to a speaker of that language. [There is lots of scheme in that circle of fifths code with names that in German to me mean not

Re: circle of fifths

2016-09-06 Thread Kieren MacMillan
Hi all, > P.S. I don’t think there should be anything _but_ the anglicised version in > the LSR. It’s a very bad idea to use German variable names in probably any > programming language. Hmmm… Then should we change the default language of Lilypond (e.g., for note names) to “english”? ;) Jok

Re: Version 2.18 vs.2.19 speed and W10

2016-09-06 Thread Michael Rivers
Same problem here. I didn't save any compile times before the update for comparison, but Lilypond just crawls now. I was compiling a one-page piece last night, which used to go by in a flash, and now it takes a good 10 seconds. -- View this message in context: http://lilypond.1069038.n5.nabble.

Alternative bars in the middle of measure

2016-09-06 Thread Sven Axelsson
Hello Lilyponders! For the kind of music I mostly typeset, it is common to have alternative bars or even alternative notes in the middle of a measure. At the moment I handle this by setting score.repeatCommands like so: % Used when substituting a single bar or just a few notes to show alternative

Re: circle of fifths

2016-09-06 Thread Simon Albrecht
On 06.09.2016 16:59, Kieren MacMillan wrote: Hi all, P.S. I don’t think there should be anything _but_ the anglicised version in the LSR. It’s a very bad idea to use German variable names in probably any programming language. Hmmm… Then should we change the default language of Lilypond (e.g.

Re: circle of fifths

2016-09-06 Thread Simon Albrecht
On 06.09.2016 12:51, Andrew Bernard wrote: Hi Federico, But that tool does not change German variable names into names that are in English, and more meaningful to a speaker of that language. [There is lots of scheme in that circle of fifths code with names that in German to me mean nothing.]

Re: Version 2.18 vs.2.19 speed and W10

2016-09-06 Thread Simon Albrecht
Hi Pierre, the problem has been reported by Mac users, as a change between v2.19.46 and .47, in that now it takes so long on every run instead of only the very first. Presumably because the font cache is always being rebuilt. Maybe it’s the same problem? Best, Simon On 06.09.2016 16:59, Pie

Shifting rests breaks beaming

2016-09-06 Thread Peter Crighton
Hello all, based on Paul Morris’ restShifter ( https://lists.gnu.org/archive/html/lilypond-user/2013-06/msg00088.html), I wrote a function beautifying the vertical placement of rests in a TabStaff. Unfortunately, this does seem to break rests under beams – or rather the beams themselves, they now

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Hello Pierre, thank you for your solution, this works like a charm! Marc Am 06.09.2016 um 16:15 schrieb Pierre Perol-Schneider: Or even: #(define (new-centered-mmr-stencil grob) (let* ((sys (ly:grob-system grob)) (X-extent (lambda (q) (ly:grob-extent q sys X))) (l

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Am 06.09.2016 um 16:09 schrieb David Nalesnik: Hi Marc, On Tue, Sep 6, 2016 at 7:28 AM, Marc Hohl wrote: Hi list, I want to change the MultiMeasureRest.stencil to a squiggle as shown in the appendices (quite roughly pasted together in GIMP). Searching the LSR and the web does not give any inf

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Am 06.09.2016 um 16:09 schrieb David Nalesnik: Hi Marc, On Tue, Sep 6, 2016 at 7:28 AM, Marc Hohl wrote: Hi list, I want to change the MultiMeasureRest.stencil to a squiggle as shown in the appendices (quite roughly pasted together in GIMP). Searching the LSR and the web does not give any inf

Re: Alternative bars in the middle of measure

2016-09-06 Thread Pierre Perol-Schneider
Hi Sven, try to put 'number instead of 'text in your code: altBracket = #(define-music-function (parser location tag) (string?) #{ \set Score.repeatCommands = #(list (list 'volta (markup #:number tag))) #}) Cheers, Pierre 2016-09-06 17:24 GMT+02:00 Sven Axelsson : > Hello Lilyponders! > > Fo

Default staff-line thickness?

2016-09-06 Thread Peter Crighton
Hello all, how is the default staff-line thickness calculated in relation to the staff size? I want MultiMeasureRests to appear the same in relation to the staff lines, regardless of staff size. They should be as thick as the space between two staff lines in a TabStaff. A thick-thickness (which is

Re: Alternative bars in the middle of measure

2016-09-06 Thread Sven Axelsson
On 6 September 2016 at 18:27, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Hi Sven, > > try to put 'number instead of 'text in your code: > > altBracket = #(define-music-function (parser location tag) (string?) > #{ \set Score.repeatCommands = #(list (list 'volta (markup #

Re: Automatically prevent parentheses from colliding

2016-09-06 Thread Peter Crighton
2016-09-06 0:48 GMT+02:00 Thomas Morley : > 2016-09-05 23:47 GMT+02:00 Peter Crighton : > > Hello all, > > > > how can I add an automatic space next to parentheses, so they don’t > collide > > with other elements like other parentheses, noteheads, accidentals, > ledger > > lines etc.? Something li

Re: circle of fifths

2016-09-06 Thread David Kastrup
Simon Albrecht writes: > On 06.09.2016 16:50, Simon Albrecht wrote: >> On 06.09.2016 12:51, Andrew Bernard wrote: >>> Hi Federico, >>> >>> But that tool does not change German variable names into names that >>> are in English, and more meaningful to a speaker of that >>> language. [There is lots

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
On Tue, Sep 6, 2016 at 11:07 AM, Marc Hohl wrote: > Am 06.09.2016 um 16:09 schrieb David Nalesnik: >> Even if you for this to work, your mockup shows a line more complex >> than a squiggle. You'd only be able to get a simple zigzag line, >> without the refinement at the ends, and without control

Re: circle of fifths

2016-09-06 Thread Thomas Morley
2016-09-06 19:34 GMT+02:00 David Kastrup : > Simon Albrecht writes: > >> On 06.09.2016 16:50, Simon Albrecht wrote: >>> On 06.09.2016 12:51, Andrew Bernard wrote: Hi Federico, But that tool does not change German variable names into names that are in English, and more meaningfu

Re: Alternative bars in the middle of measure

2016-09-06 Thread Pierre Perol-Schneider
With a double bar ? ... music \altBracket "1." music \bar "||" \altBracket "2." music \altBracketEnd 2016-09-06 18:36 GMT+02:00 Sven Axelsson : > On 6 September 2016 at 18:27, Pierre Perol-Schneider < > pierre.schneider.pa...@gmail.com> wrote: > >> Hi Sven, >> >> try to put 'number instead of '

Re: Alternative bars in the middle of measure

2016-09-06 Thread David Wright
On Tue 06 Sep 2016 at 18:36:46 (+0200), Sven Axelsson wrote: > On 6 September 2016 at 18:27, Pierre Perol-Schneider > wrote: > > try to put 'number instead of 'text in your code: > > > > altBracket = #(define-music-function (parser location tag) (string?) > > #{ \set Score.repeatCommands = #(li

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Pierre Perol-Schneider
Wow, nice David ! Cheers, Pierre 2016-09-06 19:41 GMT+02:00 David Nalesnik : > On Tue, Sep 6, 2016 at 11:07 AM, Marc Hohl wrote: > > Am 06.09.2016 um 16:09 schrieb David Nalesnik: > > >> Even if you for this to work, your mockup shows a line more complex > >> than a squiggle. You'd only be abl

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Thomas Morley
2016-09-06 19:41 GMT+02:00 David Nalesnik : > On Tue, Sep 6, 2016 at 11:07 AM, Marc Hohl wrote: >> Am 06.09.2016 um 16:09 schrieb David Nalesnik: > >>> Even if you for this to work, your mockup shows a line more complex >>> than a squiggle. You'd only be able to get a simple zigzag line, >>> with

Re: Alternative bars in the middle of measure

2016-09-06 Thread Pierre Perol-Schneider
Or even: \version "2.18.2" altBracket = #(define-music-function (parser location tag) (string?) #{ \set Score.repeatCommands = #(list (list 'volta (markup #:number tag))) #}) altBracketEnd = { \set Score.repeatCommands = #'((volta #f)) } { c'1 \once\override Score.VoltaBracket.shorten-pai

Re: circle of fifths

2016-09-06 Thread David Wright
On Tue 06 Sep 2016 at 19:51:25 (+0200), Thomas Morley wrote: > 2016-09-06 19:34 GMT+02:00 David Kastrup : > > Simon Albrecht writes: > > > >> On 06.09.2016 16:50, Simon Albrecht wrote: > >>> On 06.09.2016 12:51, Andrew Bernard wrote: > Hi Federico, > > But that tool does not change

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread David Nalesnik
Hi Harm, On Tue, Sep 6, 2016 at 2:01 PM, Thomas Morley wrote: > 2016-09-06 19:41 GMT+02:00 David Nalesnik : >> On Tue, Sep 6, 2016 at 11:07 AM, Marc Hohl wrote: >>> Am 06.09.2016 um 16:09 schrieb David Nalesnik: >> Even if you for this to work, your mockup shows a line more complex tha

Re: circle of fifths

2016-09-06 Thread Simon Albrecht
On 06.09.2016 20:29, David Wright wrote: I'm getting confused. Some of the replies seem to be conflating the three meanings of "language" that might be meant here. 1) the note names, as in \key fis \major 2) the text printed on the diagram, as in \combine \move-markup "es/dis" 3) the variabl

Re: Alternative bars in the middle of measure

2016-09-06 Thread David Wright
On Tue 06 Sep 2016 at 20:29:46 (+0200), Pierre Perol-Schneider wrote: > Or even: > > \version "2.18.2" > > altBracket = #(define-music-function (parser location tag) (string?) > #{ \set Score.repeatCommands = #(list (list 'volta (markup #:number > tag))) #}) > > altBracketEnd = { \set Score.re

Re: Alternative bars in the middle of measure

2016-09-06 Thread David Wright
On Tue 06 Sep 2016 at 23:40:40 (+0200), Sven Axelsson wrote: > On 6 September 2016 at 21:24, David Wright > wrote: > > > On Tue 06 Sep 2016 at 20:29:46 (+0200), Pierre Perol-Schneider wrote: > > > Or even: > > > > > > \version "2.18.2" > > > > > > altBracket = #(define-music-function (parser loca

Re: Alternative bars in the middle of measure

2016-09-06 Thread Sven Axelsson
On 7 September 2016 at 00:56, David Wright wrote: > On Tue 06 Sep 2016 at 23:40:40 (+0200), Sven Axelsson wrote: > > Thanks everyone. I tweaked my definition to use > > > > \allowVoltaHook "|" > > > > altBracket = #(define-music-function (parser location tag) (string?) > > #{ > > \once \overr

Re: circle of fifths

2016-09-06 Thread Marc Hohl
Am 06.09.2016 um 19:34 schrieb David Kastrup: Simon Albrecht writes: [...] At least in mostly functional programming languages. It might be argued that German is perfectly appropriate for imperative languages. ;-) ___ lilypond-user mailing l

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Hi David, hi Harm, thanks a lot for your work! Am 06.09.2016 um 22:50 schrieb David Nalesnik: [...] P. S. This all might be easier if the C++ were translated to Scheme. Then there would be no need to try to match the old stencil's dimensions, and no redundant calculations. Looks like it wou