Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Thomas Morley
2017-09-12 21:58 GMT+02:00 Kieren MacMillan : > Hi Harm, > > Is > > \dynamicH "text only" > > (or something like that) supposed to work? Well, it did work in a previous version. So it's a regression. Thanks spotting it. For a quick fix, change here: #(define

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Thomas Morley
2017-09-12 2:03 GMT+02:00 Kieren MacMillan : > Harm, > >> A very first shot. > > You never cease to amaze me! > > 1. Is this, speed-wise, any more or less efficient [e.g., on very large > scores with lots of combo dynamics] than your other approach? Well, it's a

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Thomas Morley
2017-09-12 13:57 GMT+02:00 Kieren MacMillan : > Hi David, > >>> 1. Is this, speed-wise, any more or less efficient [e.g., on very >>> large scores with lots of combo dynamics] than your other approach? >> >> So much for: >> No security, no conditions, don't use

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Thomas Morley
2017-09-12 10:08 GMT+02:00 David Kastrup : > Thomas Morley writes: > >> 2017-09-12 1:23 GMT+02:00 Kieren MacMillan : >>> Hi Harm, >>> you could already use 'details.markup-commands to add space to _both_ sides of a

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Thomas Morley
2017-09-12 9:25 GMT+02:00 David Kastrup : > Thomas Morley writes: > >> 2017-09-10 14:43 GMT+02:00 David Kastrup : >> >>> More like a nightmare. Some markup expression with some \etc somewhere >>> in the middle? How many arguments is it

Re: Silence as long as another part

2017-09-12 Thread Malte Meyn
Am 12.09.2017 um 21:13 schrieb Joel C. Salomon: On 2017-09-12 2:37 PM, David Kastrup wrote: How can I set one piece to be silent for the duration of another? I know I’ve seen this in the past, but I cannot find it again. $(skip-of-length upper) Thank you. I was searching for “rest” and

Re: notes regex expression

2017-09-12 Thread Jim Tisdall
Sorry for all the ? replacing the tabs in my last post - not sure which step made that transformation - I try again after removing all the tabs Jim I have been using a perl regular expression to parse lilypond notes for my own application, which handles guitar notes with possible right hand,

Re: \chordmode problem?

2017-09-12 Thread Carl Sorensen
On 9/12/17 10:50 AM, "David Kastrup" wrote: >Menu Jacques writes: > >> Pushing things further, I found that the removed third is not obvious >>in Cb5 below, >> but more seriously perhaps, that the removed C root leads to a G chord >>being >> displayed: >> >> *

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Kieren MacMillan
Hi Harm, Is \dynamicH "text only" (or something like that) supposed to work? I know I could use #(make-dynamic-script …) to define a dynamic without any real dynamic font/text in it — and that's what I'll do in the short-term — but I'd prefer a single interface for all dynamics, if it's

Re: Silence as long as another part

2017-09-12 Thread Joel C. Salomon
On 2017-09-12 2:37 PM, David Kastrup wrote: >> How can I set one piece to be silent for the duration of another? I >> know I’ve seen this in the past, but I cannot find it again. >> > $(skip-of-length upper) Thank you. I was searching for “rest” and “silence”, not “skip”; that’s probably why I

Re: Silence as long as another part

2017-09-12 Thread David Kastrup
"Joel C. Salomon" writes: > Neighbors, > > How can I set one piece to be silent for the duration of another? I > know I’ve seen this in the past, but I cannot find it again. > > E.g., > > upper = { c1 d e f } > > dynamics = { > <>\p > s1*4 % <-- this

Silence as long as another part

2017-09-12 Thread Joel C. Salomon
Neighbors, How can I set one piece to be silent for the duration of another? I know I’ve seen this in the past, but I cannot find it again. E.g., upper = { c1 d e f } dynamics = { <>\p s1*4 % <-- this line: silence as long as \upper \bar "|." } (This is

Re: notes regex expression

2017-09-12 Thread Jim Tisdall
I have been using a perl regular expression to parse lilypond notes for my own application, which handles guitar notes with possible right hand, left hand, plectrum, string, glissando markings. Thus it only includes some of the features of lilypond notes.  It assumes english note names (easily

Re: \chordmode problem?

2017-09-12 Thread David Kastrup
Menu Jacques writes: > Pushing things further, I found that the removed third is not obvious in Cb5 > below, > but more seriously perhaps, that the removed C root leads to a G chord being > displayed: > > * > > Don’t know whether this is correct or not, though. LilyPond's

Re: \chordmode problem?

2017-09-12 Thread Menu Jacques
Interesting: adding \powerChords to the part leads to the behaviour I expected in the first place, i.e.: I’ll use that by default for jazz scores, then. JM > Le 12 sept. 2017 à 17:04, Menu Jacques a écrit : > > Pushing things further, I found that the removed third is

Re: \chordmode problem?

2017-09-12 Thread Jacques Menu Muzhic
Salut Klaus, OK, thanks, now I understand! Jazz musicians would be disappointed though, hence the use of custom chord names in that case. JM > Le 12 sept. 2017 à 17:17, Klaus Blum a écrit : > > Salut Jacques, > > > Menu Jacques wrote >> What does ‘lyd’ mean BTW? > >

Re: \chordmode problem?

2017-09-12 Thread Klaus Blum
Salut Jacques, Menu Jacques wrote > What does ‘lyd’ mean BTW? "lyd" is short for "lydian". Thy lydian scale is almost equal to the major scale, except for a #4 which is the same pitch as a #11. Cheers, Klaus -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

Re: \chordmode problem?

2017-09-12 Thread Menu Jacques
Pushing things further, I found that the removed third is not obvious in Cb5 below, but more seriously perhaps, that the removed C root leads to a G chord being displayed: Don’t know whether this is correct or not, though. JM %% \version "2.19.65" PartPOneVoiceOne =

Re: \chordmode problem?

2017-09-12 Thread Menu Jacques
Hello Harm and Knut, Thanks for your answers. I know how to customize chord names, but I’m surprised that ':maj7.11+’ leads to ‘lyd' while ':maj7.11’ is handled alright. What does ‘lyd’ mean BTW? JM > Le 12 sept. 2017 à 15:44, Knute Snortum a écrit : > >

Re: \chordmode problem?

2017-09-12 Thread Knute Snortum
http://lilypond.org/doc/v2.19/Documentation/notation/displaying-chords#customizing-chord-names --- Knute Snortum (via Gmail) On Tue, Sep 12, 2017 at 2:51 AM, Thomas Morley wrote: > > > 2017-09-12 11:37 GMT+02:00 Menu Jacques : > >> Hello folks, >>

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread Kieren MacMillan
Hi David, >> 1. Is this, speed-wise, any more or less efficient [e.g., on very >> large scores with lots of combo dynamics] than your other approach? > > So much for: > >>> No security, no conditions, don't use it for typesetting serious >>> stuff, just an idea: > > Throwing out stuff is just

Re: \chordmode problem?

2017-09-12 Thread Thomas Morley
2017-09-12 11:37 GMT+02:00 Menu Jacques : > Hello folks, > > I get this score: > > from what seems to be the reasonable LP code below. > > What should one write to get: > > > Thanks if you can help! > > JM > > > > \version "2.19.65" > > PartPOneVoiceOne =

\chordmode problem?

2017-09-12 Thread Menu Jacques
Hello folks, I get this score: from what seems to be the reasonable LP code below. What should one write to get: Thanks if you can help! JM \version "2.19.65" PartPOneVoiceOne = \relative a' { \clef "treble" \key c \major \time 4/4 | % 1 a4 \bar "|." }

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread David Kastrup
Thomas Morley writes: > 2017-09-12 1:23 GMT+02:00 Kieren MacMillan : >> Hi Harm, >> >>> you could already use 'details.markup-commands >>> to add space to _both_ sides of a dynamic: >> >> um… Which version does this require? With 2.19.65,

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread David Kastrup
Kieren MacMillan writes: > Harm, > >> A very first shot. > > You never cease to amaze me! > > 1. Is this, speed-wise, any more or less efficient [e.g., on very > large scores with lots of combo dynamics] than your other approach? So much for: >> No security, no

Re: improving Janek's \dynamic function (for combo dynamics)

2017-09-12 Thread David Kastrup
Thomas Morley writes: > 2017-09-10 14:43 GMT+02:00 David Kastrup : > >> More like a nightmare. Some markup expression with some \etc somewhere >> in the middle? How many arguments is it supposed to stand for? And >> which markup command is it supposed