Re: function to replace notes by rests

2015-11-23 Thread Jacques Menu
Hello Marc, Thanks for teaching me this. As it turns out, we’re better off specifying durations at crucial points to avoid « inheriting » such default values, see: c'4 d e f \notesToRests \fragment f'8 e c2 below. JM \version "2.19.32" notesToRests = #(define-music-function (music) (ly:m

Re: function to replace notes by rests

2015-11-23 Thread Marc Hohl
Am 24.11.2015 um 08:27 schrieb Jacques Menu: Hello Malte, Interesting, but why are there halves instead of quarters in the second staff? Because the first \relative bock ends with halves and this duration is used for the next \relative block as well. Just using \relative multiple times doesn

Re: function to replace notes by rests

2015-11-23 Thread Jacques Menu
Hello Malte, Interesting, but why are there halves instead of quarters in the second staff? JM \version "2.19.32" notesToRests = #(define-music-function (music) (ly:music?) (music-map (lambda (m) (if (eq? (ly:music-property m 'name) 'NoteEvent) (make-music 'RestEvent

Re: function to replace notes by rests

2015-11-23 Thread Malte Meyn
Am 24.11.2015 um 08:10 schrieb Marc Hohl: Thanks or sharing! The drawbacks in relative mode are neglectable, I'll use absolute mode. Alternatively you could use 1. another \relative block inside of notesToRests \relative { c' d e f \notesToRests \relative { g' a b2 g8 c }

RE: tieWaitForNote

2015-11-23 Thread Mark Stephen Mrotek
Malte Meyn, Perfect! Thank you. Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Malte Meyn Sent: Monday, November 23, 2015 11:05 PM To: lilypond-user@gnu.org Subject: Re: tieWaitForN

Re: Automatically transforming a FiguredBass line into a sequence of chords ?

2015-11-23 Thread Malte Meyn
Am 23.11.2015 um 23:56 schrieb Michael Gerdau: Hi list, does someone know of a function or snipped that automatically transforms some music together with a FigruedBass line into a sequence of chords I once wanted to do that but I hadn’t enough time and automatic a correct right hand for a f

Re: function to replace notes by rests

2015-11-23 Thread Marc Hohl
Am 23.11.2015 um 21:41 schrieb Malte Meyn: Am 23.11.2015 um 10:46 schrieb Marc Hohl: As the file is a bit lengthy, I think of a way to just redefine \xNotes to change every note to its corresponding rest, instead of rewriting the whole file (or using sed or any other external script). Has anyon

Re: tieWaitForNote

2015-11-23 Thread Malte Meyn
Am 24.11.2015 um 06:53 schrieb Mark Stephen Mrotek: Everything is correct except that the ties do not appear. What is my error? If you really want these note length values you need a << >> construct but without \\ because that would create new Voices. The only new Voice you need is the one

Re: Strange LilyPond crash

2015-11-23 Thread Marc Hohl
Am 24.11.2015 um 00:12 schrieb Thomas Morley: [...] So, commit b416f10429d8d3881445d9000ff422dc67176df1 Author: David Kastrup Date: Wed Jul 15 23:30:30 2015 +0200 Issue 3693: Let Percent_repeat_iterator be unfazed by Timing changes There is still one shortcoming: the percent repea

RE: tieWaitForNote

2015-11-23 Thread Mark Stephen Mrotek
Hwaen Ch'uqi, Thank you for your reply. I shall try your suggestion. Mark -Original Message- From: Hwaen Ch'uqi [mailto:hwaench...@gmail.com] Sent: Monday, November 23, 2015 10:13 PM To: Mark Stephen Mrotek Cc: lilypond-user Mailinglist Subject: Re: tieWaitForNote Greetings Mark, I

Re: tieWaitForNote

2015-11-23 Thread Hwaen Ch'uqi
Greetings Mark, I believe that ties only work if the notes they are connecting are in the same voice. In your example, you have called \voiceOne, \voiceTwo, and \voiceThree. However, your resulting chord is in none of those voices. Would it be possible to avoid that construct altogether? Something

tieWaitForNote

2015-11-23 Thread Mark Stephen Mrotek
Hello, Everything is correct except that the ties do not appear. What is my error? \version "2.18.2" \relative c'' { \clef treble \key e \minor \time 6/8 << {b8\rest s \set tieWaitForNote = ##t d,~ } \\ {\set tieWaitForNote = ##t g,4.~ } \\ {

Re: Strange LilyPond crash

2015-11-23 Thread Thomas Morley
2015-11-22 1:59 GMT+01:00 Thomas Morley : > 2015-11-21 17:31 GMT+01:00 Thomas Morley : >> 2015-11-21 16:42 GMT+01:00 David Kastrup : >>> Marc Hohl writes: >>> As soon as I remove an instrumental part at random (or even some notes), the crash may or may not disappear. I am not sure but II

Automatically transforming a FiguredBass line into a sequence of chords ?

2015-11-23 Thread Michael Gerdau
Hi list, does someone know of a function or snipped that automatically transforms some music together with a FigruedBass line into a sequence of chords like illustrated in the example below ? %%% \version "2.19.31" bcMusic = \relative { c2 c | c c | c c | c c | } bcFigures = \figu

Re: No blot in custom bar line

2015-11-23 Thread Simon Albrecht
On 23.11.2015 23:02, David Nalesnik wrote: Hi Simon, On Mon, Nov 23, 2015 at 3:40 PM, Simon Albrecht mailto:simon.albre...@mail.de>> wrote: Hello, I’ve defined a custom bar line, following the examples in scm/bar-line.scm. Now I would have expected the whole ‘blot’ business t

Re: outside-staff-priority?

2015-11-23 Thread Simon Albrecht
On 23.11.2015 23:05, Ralph Palmer wrote: On Mon, Nov 23, 2015 at 4:56 PM, Stephen MacNeil mailto:classicalja...@gmail.com>> wrote: \override Score.MetronomeMark.padding = #5 \tempo "Mod. fast Bulgar" 4 = 110-115 My thanks to both Stephen and to Malte Meyn. Yes, I missed "Score". I

Re: outside-staff-priority?

2015-11-23 Thread David Kastrup
Ralph Palmer writes: > On Mon, Nov 23, 2015 at 4:56 PM, Stephen MacNeil > wrote: > >> \override Score.MetronomeMark.padding = #5 >> >> \tempo "Mod. fast Bulgar" 4 = 110-115 >> > > My thanks to both Stephen and to Malte Meyn. Yes, I missed "Score". I was > using Staff. "outside.staff.priority" wo

Re: outside-staff-priority?

2015-11-23 Thread Ralph Palmer
On Mon, Nov 23, 2015 at 4:56 PM, Stephen MacNeil wrote: > \override Score.MetronomeMark.padding = #5 > > \tempo "Mod. fast Bulgar" 4 = 110-115 > My thanks to both Stephen and to Malte Meyn. Yes, I missed "Score". I was using Staff. "outside.staff.priority" would imply something other than "Staff

Re: No blot in custom bar line

2015-11-23 Thread David Nalesnik
Hi Simon, On Mon, Nov 23, 2015 at 3:40 PM, Simon Albrecht wrote: > Hello, > > I’ve defined a custom bar line, following the examples in > scm/bar-line.scm. Now I would have expected the whole ‘blot’ business to > give me round edges, at least with \override Staff.BarLine.rounded = ##t, > but it

RE:outside-staff-priority?

2015-11-23 Thread Stephen MacNeil
\override Score.MetronomeMark.padding = #5 \tempo "Mod. fast Bulgar" 4 = 110-115 HTH Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

No blot in custom bar line

2015-11-23 Thread Simon Albrecht
Hello, I’ve defined a custom bar line, following the examples in scm/bar-line.scm. Now I would have expected the whole ‘blot’ business to give me round edges, at least with \override Staff.BarLine.rounded = ##t, but it doesn’t. Why? Also, it’s a bit of a nuisance that calc-blot isn’t publicly

Re: outside-staff-priority?

2015-11-23 Thread Malte Meyn
Am 23.11.2015 um 21:58 schrieb Ralph Palmer: I tried setting the outside-staff-priority of each and/or both, but without success. \override Score.MetronomeMark.outside-staff-priority = 1501 % or \override Score.RehearsalMark.outside-staff-priority = 999 You probably missed the “Score.” I'm

outside-staff-priority?

2015-11-23 Thread Ralph Palmer
Greetings - I'm running LY 2.19.31 under Win7. In the following snippet, I would like to move the Rehearsal Mark below the tempo indication, or, conversely, move the tempo indication above the Rehearsal Mark. I cannot figure out how to do either. I would greatly appreciate some help. I tried sett

Re: function to replace notes by rests

2015-11-23 Thread Malte Meyn
Am 23.11.2015 um 10:46 schrieb Marc Hohl: As the file is a bit lengthy, I think of a way to just redefine \xNotes to change every note to its corresponding rest, instead of rewriting the whole file (or using sed or any other external script). Has anyone a scheme routine at hand that does exactly

Re: [WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Pierre Perol-Schneider
Nice! Thank you Simon. In fact, in that particular case I have no choice, I have to follow the composer's indications. But i'l keep your tweak in mind anyway. Cheers, Pierre 2015-11-23 21:18 GMT+01:00 Simon Albrecht : > How about > %%% > \version "2.19.31" > { > \key e\major > \time

Re: [WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Simon Albrecht
How about %%% \version "2.19.31" { \key e\major \time 3/4 % mes.98 s2. \once\override Score.BreakAlignment.break-align-orders = #(make-vector 3 '(key-cancellation key-signature staff-bar)) \key e \minor \bar "||" } %% I can’t get the tweak on X-extent to work here…

Re: [WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Pierre Perol-Schneider
'cause of a DS to the former key sig. 2015-11-23 20:45 GMT+01:00 Simon Albrecht : > On 23.11.2015 10:36, Pierre Perol-Schneider wrote: > >> Hi, >> >> See: >> http://lilypond.1069038.n5.nabble.com/Staff-ends-before-clef-time-and-key-td174133.html#a174182 >> >> Reminder: >> >> %% Here works fine: >

Re: [WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Simon Albrecht
On 23.11.2015 10:36, Pierre Perol-Schneider wrote: Hi, See: http://lilypond.1069038.n5.nabble.com/Staff-ends-before-clef-time-and-key-td174133.html#a174182 Reminder: %% Here works fine: \version "2.18.2" { \key e\major \time 3/4 % mes.98 s2. \bar "||" \key e \minor } %% Bug

Re: [WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Pierre Perol-Schneider
Or even: \version "2.19.32" { \key e\major \time 3/4 % mes.98 a'2. \bar "||" \tweak KeySignature.X-extent #'(0 . 1.4) \key e \minor s8 } 2015-11-23 20:29 GMT+01:00 Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com>: > Thanks to you guys: > http://lilypond.1069038.n5.n

Re: [WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Pierre Perol-Schneider
Thanks to you guys: http://lilypond.1069038.n5.nabble.com/Kerning-a-clef-td183994.html I've just found what I was lokking for: \version "2.19.32" { \key e\major \time 3/4 % mes.98 a'2. \bar "||" \tweak KeySignature.space-alist.next-note #'(extra-space . 0.2) \key e \minor \grac

Re: ‘Kerning’ a clef

2015-11-23 Thread Simon Albrecht
On 23.11.2015 20:01, Kieren MacMillan wrote: Hi Simon, I’d like the clef to take less space, especially to the right, and at best to overlap with the following note. How can I achieve that? \version "2.19.31" { a'8 \tweak Clef.space-alist.next-note #'(extra-space . 0) \tweak Clef.X-exte

Re: ‘Kerning’ a clef

2015-11-23 Thread Simon Albrecht
On 23.11.2015 19:58, David Kastrup wrote: Simon Albrecht writes: have a look at the attached image. I’d like the clef to take less space, especially to the right, and at best to overlap with the following note. How can I achieve that? extra-spacing-width obviously can only increase spacing Ne

Re: ‘Kerning’ a clef

2015-11-23 Thread Kieren MacMillan
Hi Simon, > I’d like the clef to take less space, especially to the right, and at best to > overlap with the following note. How can I achieve that? \version "2.19.31" { a'8 \tweak Clef.space-alist.next-note #'(extra-space . 0) \tweak Clef.X-extent #empty-interval \clef bass a, b, c } This

Re: ‘Kerning’ a clef

2015-11-23 Thread David Kastrup
Simon Albrecht writes: > have a look at the attached image. I’d like the clef to take less > space, especially to the right, and at best to overlap with the > following note. How can I achieve that? extra-spacing-width obviously > can only increase spacing Negative numbers exist. -- David Kast

‘Kerning’ a clef

2015-11-23 Thread Simon Albrecht
Hello, have a look at the attached image. I’d like the clef to take less space, especially to the right, and at best to overlap with the following note. How can I achieve that? extra-spacing-width obviously can only increase spacing, and the following doesn’t work either: % \vers

Re: question about overrides within repeats

2015-11-23 Thread David Kastrup
David Nalesnik writes: > My question would be: when does the evaluation of a grob's stencil > normally happen? My guess is this normal evaluation is happening > based on a haphazard input, that using 'before-line-breaking and > 'after-line-breaking is forcing a later evaluation, at a time when >

Re: question about overrides within repeats

2015-11-23 Thread David Nalesnik
On Sun, Nov 22, 2015 at 2:44 PM, David Kastrup wrote: > Thomas Morley writes: > > > Though, why it is that arbitrary? > > > > Look at this variation and the attached image: > > > > \version "2.19.29" > > #(define test-nmbrs > > (let ((nmbrs (circular-list 1 2 3 4))) > > (lambda (grob) > >

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread lilypond
Am 2015-11-23 11:41, schrieb Urs Liska: I think for now (the current project) I'll try to find a setting that matches *most* cases and tweak the others manually. There are pretty few ones in this score so it'll be OK. But maybe this really is a feature request for a new property? If we start

Re: Gounod - Le Rendez Vous

2015-11-23 Thread Alberto Simões
On 23/11/2015 00:03, Simon Albrecht wrote: It seems that you intentionally replaced -! by -. in Valse 1, however the original uses them distinctly and I’d stick with that. Ah, I see what you mean. Wasn't aware of that symbol... shame on me :-) Thanks Alberto ___

Re: Gounod - Le Rendez Vous

2015-11-23 Thread Alberto Simões
Hi, Simon On 23/11/2015 00:03, Simon Albrecht wrote: The last measure of the Introduction actually has only two quarters (the half note isn’t dotted), to be complemented by the immediately following upbeat for Valse 1. Damn. I though I had that correct, as I recall from when I was looking to

Re: Gounod - Le Rendez Vous

2015-11-23 Thread Alberto Simões
Hi, Abraham, On 22/11/2015 22:27, tisimst wrote: I think there was a misunderstanding about the voicing in Valse 2. The beamed groups should NOT be in \voiceOne. They should be in \oneVoice. That should clean up the space taken up by their respective slurs, too. Yep, I understood you were sug

Re: Fwd: Slash chords

2015-11-23 Thread jmechmech
Perfect for a snippet : \version "2.18.2" #(define (lower-extension pitch chbass) "Return lowered markup for pitch note name." #{ \markup \raise #-1.9 \halign #0.2 #(note-name->markup pitch chbass) #}) \layout { \context { \ChordNames

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread Urs Liska
Am 23.11.2015 um 10:49 schrieb Noeck: > Hi Urs, > > you probably know these pages: > > http://www.lilypond.org/doc/v2.18/Documentation/internals/slur > http://www.lilypond.org/doc/v2.18/Documentation/internals/slur_002dinterface > http://www.lilypond.org/doc/v2.18/Documentation/internals/tie > ht

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread David Kastrup
Urs Liska writes: > Am 23.11.2015 um 10:39 schrieb David Kastrup: >> Urs Liska writes: >> >>> I don't seem to be able to find the right property to control the shape >>> of ties. >>> >>> I would like to make the default appearance of ties less flat than what >>> you see in the first attachment.

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread Noeck
Hi Urs, you probably know these pages: http://www.lilypond.org/doc/v2.18/Documentation/internals/slur http://www.lilypond.org/doc/v2.18/Documentation/internals/slur_002dinterface http://www.lilypond.org/doc/v2.18/Documentation/internals/tie http://www.lilypond.org/doc/v2.18/Documentation/internal

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread Marc Hohl
Am 23.11.2015 um 10:45 schrieb Urs Liska: Am 23.11.2015 um 10:39 schrieb David Kastrup: Urs Liska writes: I don't seem to be able to find the right property to control the shape of ties. I would like to make the default appearance of ties less flat than what you see in the first attachment

function to replace notes by rests

2015-11-23 Thread Marc Hohl
Hi list, I have a melody with some spoken passages, written like this: c4 d e f \xNotes { b b b b } f e d c Now I need a midi file that contains the "normal" notes only: c4 d e f r r r r f e d c As the file is a bit lengthy, I think of a way to just redefine \xNotes to change every note to it

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread Urs Liska
Am 23.11.2015 um 10:39 schrieb David Kastrup: > Urs Liska writes: > >> I don't seem to be able to find the right property to control the shape >> of ties. >> >> I would like to make the default appearance of ties less flat than what >> you see in the first attachment. I *think* what I want is ha

Re: question about overrides within repeats

2015-11-23 Thread David Kastrup
Werner LEMBERG writes: >> Well, System::post_processing ends by creating the stencils of a >> system in reverse order. That's probably not helping. > > A bug? No, there is no guaranteed order of stencilization. But making stuff more random gratuitously is still going to annoy people. -- Davi

Re: Property/ies to control the shape of ties/slurs

2015-11-23 Thread David Kastrup
Urs Liska writes: > I don't seem to be able to find the right property to control the shape > of ties. > > I would like to make the default appearance of ties less flat than what > you see in the first attachment. I *think* what I want is having a > steeper slope. But reading through the IR for t

[WAS] Staff ends before \clef, \time and \key

2015-11-23 Thread Pierre Perol-Schneider
Hi, See: http://lilypond.1069038.n5.nabble.com/Staff-ends-before-clef-time-and-key-td174133.html#a174182 Reminder: %% Here works fine: \version "2.18.2" { \key e\major \time 3/4 % mes.98 s2. \bar "||" \key e \minor } %% Bug here: \version "2.19.32" { \key e\major \time 3/4

Property/ies to control the shape of ties/slurs

2015-11-23 Thread Urs Liska
I don't seem to be able to find the right property to control the shape of ties. I would like to make the default appearance of ties less flat than what you see in the first attachment. I *think* what I want is having a steeper slope. But reading through the IR for tie and tie-interface I didn't s

Re: missing stem

2015-11-23 Thread Urs Liska
Hi Bogi, regarding two of the comments on your request you may also wish to read the following (temporary) pages: Am 23.11.2015 um 01:14 schrieb Simon Albrecht: > first: your code example can be made much easier to read if you add > some spaces and line breaks, and get indenting right (this is do