Re: Cross-staff arpeggios with a grace note

2022-04-14 Thread Leo Correia de Verdier
I think there might be a more beautiful solutions to your whole situation, but I’m too tired to figure it out right now, so: You can change the arpeggio’s Y-extent to prevent it from pushing away the other staff. %%% \version "2.22.2" rightHand = { e'2 } leftHand = \relative { \clef bass

Passing arguments to grob-transformer

2022-06-17 Thread Leo Correia de Verdier
Dear list! I’m quite likely just being somewhat dim, but is there a way to pass additional arguments to a function used by grob-transformer (or any callback for that matter)? Would it be possible to do something equivalent to this following using an override to the stencil using grob-transforme

Getting spanner length

2019-01-17 Thread Leo Correia de Verdier
Dear list! I’m all new to lily pond and trying to create a custom spanner (a couple of parallel lines connecting some of the holes of two fingering charts). To hack this together I would need the length of the spanner I’m modifying or replacing. I’ve put this piece of code together to extract it a

Re: harp basic muffle

2019-01-24 Thread Leo Correia de Verdier
This is Valentins code with a few values changed to get the appearance closer to what you are looking for: mufflePath= \markup \path #'0.25 #'((moveto -1.5 0) (lineto 1.5 0) (moveto 0 -1.5) (lineto 0 1.5)) muffleMarkup= \markup \translate #'(0 . 1) \c

text block as spanner

2019-01-31 Thread Leo Correia de Verdier
Dear List! I’m still learning lilypond and working on a piece with long text instructions that appear over a note or group of notes. So far I have managed to achieve this by hacking off the stencils from text spanners and replacing them with the line wrapped markup, but I feel there should be a

Re: text block as spanner

2019-02-06 Thread Leo Correia de Verdier
Thanks a lot to all for the help and all code you’ve written! I included Thomas'/Harm's multiple-text-spanners-via-id from February third. This is what I ended up with: \version "2.19.80" \include "multiple-text-spanners-via-id.ly" longTextInstr = #(define-music-function (alongtext) (string?

Scheme char issue

2019-02-06 Thread Leo Correia de Verdier
Dear list! The following code is not compiling as I think it should. (I think it should output a square root sign, it should be valid scheme code for that) \version "2.19.82" \void #(display #\x221A) Is it because I’m stupid, some known issue or something else? Do you know about some workaroun

midiExpression in voices with Staff_performer

2019-02-11 Thread Leo Correia de Verdier
Dear list! I’m trying to add different midiExpressions to a staff with two voices on different midi channels. The problem I have is that \set midiExpression only seems to work if placed before the first note of a voice. Subsequent \set-s don’t appear in the output midi file. The following \set

Re: force a line break in the middle of a measure

2019-03-25 Thread Leo Correia de Verdier
If exact midi playback isn’t a main concern I would do it like: \version "2.19.82" \new PianoStaff << \new Staff {\partial 4 r4 b1 1 1 1*3/4 s4 } \new Staff {\partial 4 g4 g1 1 1 2. \bar"" \break \partial 4 4} >> > 25 mars 2019 kl. 14:39 skrev Gianmaria Lari : > > In the following code I

Re: midiExpression in voices with Staff_performer

2019-04-15 Thread Leo Correia de Verdier
Dear list! Can any of you check this for possible mistakes so I can rule out myself as source of error before I send it in as a bug report? Love /Leo > 11 feb. 2019 kl. 11:14 skrev Leo Correia de Verdier > : > > Dear list! > > I’m trying to add different midiExpressio

Re: midiExpression in voices with Staff_performer

2019-04-17 Thread Leo Correia de Verdier
e_performer" } \context { \Voice \consists "Staff_performer" \consists "Midi_control_change_performer" } } } > 17 apr. 2019 kl. 09:01 skrev Heikki Tauriainen : > > On Mon, 2019-04-15 at 23:36 +0200, Leo Correia de Verdier wrote: >> Dear

Predicting accidentals

2019-05-07 Thread Leo Correia de Verdier
Dear list! Is there a way to run the functions in autoAccidental before they would normally be evaluated, to see beforehand if a note would get an accidental? What I would like iso do is a function that in some cases (depending on other circumstances in code) forces an accidental with a tweak,

Re: Predicting accidentals

2019-05-16 Thread Leo Correia de Verdier
\fixed c' { \printAcc cis4 \printAcc cis \printAcc c } > 7 maj 2019 kl. 12:13 skrev Leo Correia de Verdier > : > > Dear list! > > Is there a way to run the functions in autoAccidental before they would > normally be evaluated, to see beforehand if a note wou

Re: Unconventional score and unwanted stray staff lines

2019-05-21 Thread Leo Correia de Verdier
A quite minimal could look like: \version "2.19.82" \score { << \new Staff {e'2.} \new Staff {g'4. f'4} \new Staff {a'1} >> \layout { \context { \Voice \remove "Note_heads_engraver" \consists "Completion_heads_engraver" completionUnit = #(ly:make-m

Re: How can I set this piano music?

2019-06-12 Thread Leo Correia de Verdier
You need to make a separate voice for it. A short way, that I would use in this case is simply. ... left = \relative c { \global <<{r8 f8 as4}\\b,2>> es4 es, \fermata | } … There will be cases when you need more complex settings and will have to specify them more throughout. There is a lot to

Re: Change position of first bar of melody

2019-08-28 Thread Leo Correia de Verdier
This is called an upbeat or anacrusis. In lilypond you could do write the melody in the beginning of your example like: \relative c’ { \partial 8 c8 | a’4 a a f8 a } More about it here: http://lilypond.org/doc/v2.18/Documentation/learning/advanced-rhythmic-commands HTH /Leo > 28 aug. 2019 kl.

Re: Custom Markup Command

2019-09-18 Thread Leo Correia de Verdier
You know there is a better way of writing chords, right? Anyway, I think this does what you want: \version "2.19.82" #(define-markup-command (formatchord layout props text) (markup?) (interpret-markup layout props #{ \markup { \fontsize #-1 \override #'(font-n

Functions with after-events

2019-10-02 Thread Leo Correia de Verdier
Dear list! Something of a still learning question, but I can’t really get my head around it: Is there a simple way to make the following (or something that would have the same effect) into a function? \version "2.19.82" \fixed c'' { d8 -\tweak minimum-length #5 -\tweak springs-and-rods #l

Re: Functions with after-events

2019-10-02 Thread Leo Correia de Verdier
> #{ > \tweak minimum-length #arg > \tweak springs-and-rods #ly:spanner::set-spacing-rods > \glissando > #}) > > \fixed c'' { d8 \glissandoWithMinLength10 cis } > > Cheers, > Pierre > > Le mer. 2 oct. 2019 à 11:18, Leo Cor

Disabling beamExceptions and beatStructure

2019-10-03 Thread Leo Correia de Verdier
Dear list! I am working on a piece with constantly changing meters and it got me wondering if there is a way to set beamExceptions to #’() and beat structure to a suitably long sequence of ones for all time signatures in the whole piece at once. At the moment I’m doing so for each time signatur

Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread Leo Correia de Verdier
time signatures have quarter notes as denominator. > 3 okt. 2019 kl. 11:30 skrev Malte Meyn : > > > > Am 03.10.19 um 10:51 schrieb Leo Correia de Verdier: >> Dear list! >> I am working on a piece with constantly changing meters and it got me >> wondering if there

Re: Disabling beamExceptions and beatStructure

2019-10-03 Thread Leo Correia de Verdier
Thanks a lot! I think this was what I was looking for. Thanks to Malte for the suggestion too! > 3 okt. 2019 kl. 11:56 skrev Toine Schreurs : > >> I am working on a piece with constantly changing meters and it got >> me wondering if there is a way to set beamExceptions to #’() and >> beat struc

Tweaking glissando timing stems

2019-10-10 Thread Leo Correia de Verdier
Dear list! I'm soon going to start engraving a piece that contains very many glissandi with timing marks (or actually, glissandi with broken bowing and articulations during the way). The snippet in http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-lines#glissando mention

Re: dot flips horizontal alignment of voices

2019-10-10 Thread Leo Correia de Verdier
If it hasn’t changed since 2.19.82 you could use \override Staff.NoteCollision.prefer-dotted-right = ##f > 10 okt. 2019 kl. 20:44 skrev Urs Liska : > > Hi, > > The following code creates the attached result: > > \version "2.21.0" > > { > \time 3/8 > << >{ > c''4. c''4. >} >

Re: Tweaking glissando timing stems

2019-10-14 Thread Leo Correia de Verdier
:51 Uhr schrieb Leo Correia de Verdier > : >> >> Dear list! >> >> I'm soon going to start engraving a piece that contains very many glissandi >> with timing marks (or actually, glissandi with broken bowing and >> articulations during the way). The snip

Re: Tweaking glissando timing stems

2019-10-18 Thread Leo Correia de Verdier
ion. On a sidetone from that: How does the (beam slope) damping factor affect the beam calculation? I can see and understand its effect, but wonder what the calculation behind it is. Cheers /Leo > 17 okt. 2019 kl. 00:24 skrev Thomas Morley : > > Am Mo., 14. Okt. 2019 um 1

Re: Tweaking glissando timing stems

2019-10-19 Thread Leo Correia de Verdier
> 19 okt. 2019 kl. 12:36 skrev Thomas Morley : > > Am Sa., 19. Okt. 2019 um 00:01 Uhr schrieb Leo Correia de Verdier > : >> >> Thanks a lot for your help! >> >> Quite to my surprise I found the following snippet does work. >> >> >

Re: Tweaking glissando timing stems

2019-10-25 Thread Leo Correia de Verdier
Brilliant! I realized that defining the glissando gradient taking the stencil as point of departure, rather than the grob properties, makes it work for broken glissandi too. It was a quite minimal change. (gliss-gradient (/ (+ (- (car stil-y-ext) (cdr stil-y-ext)) (* half-line-thick 2))

Re: testing the reachable of my post

2019-10-31 Thread Leo Correia de Verdier
I would do it like: \relative c' { << { f8 d f a~ 4 } \\ { 4. 8~ \hideNotes s4. } >> c'2. b4 } > 31 okt. 2019 kl. 08:20 skrev Jinsong Zhao : > > Hi there, > > Sorry for the disturbance. > > I have tried several times to post my question to the mailing list. However, > I have not found

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: chord/arpeggio

2019-12-01 Thread Leo Correia de Verdier
You can include the Span_arpeggio_engraver in the staff you’re writing, set Staff.connectArpeggios = ##t and write arpeggios in all voices it should include. See http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-lines#arpeggio > 1 dec. 2019 kl. 18:25 skrev Mario Bolognani

Re: chord/arpeggio

2019-12-02 Thread Leo Correia de Verdier
h a single note of a chord… > > Mario Bolognani > email: mario.bologn...@gmail.com > www.baroquemusic.it > > > >> Il giorno 1 dic 2019, alle ore 18:36, Leo Correia de Verdier >> ha scritto: >> >> You can include the Span_arpeggio_engraver in the staff you’re

Individual stencils in key signature

2022-08-02 Thread Leo Correia de Verdier
Dear list, Is there any way to access the stencils of individual accidentals in a key signature? Thanks /Leo

Re: Individual stencils in key signature

2022-08-02 Thread Leo Correia de Verdier
signatures to match the accidentals inside the music and have to cover my first hack with a second, even worse one… > 2 aug. 2022 kl. 10:50 skrev Lukas-Fabian Moser : > > Hi Leo, > > Am 02.08.22 um 09:48 schrieb Leo Correia de Verdier: >> Is there any way to access the s

Re: Individual stencils in key signature

2022-08-04 Thread Leo Correia de Verdier
Thanks! Thats a better solution. (But I’m still happy about having asked the wrong question so I could learn about how to find the stencil expression) Best /Leo > 3 aug. 2022 kl. 13:40 skrev Jean Abou Samra : > > > >> Le 2 août 2022 à 23:34, Leo Correia de Ve

Re: Help with Rhythm Notation

2022-08-22 Thread Leo Correia de Verdier
I’d guess it’s a written-out accelerando. For exactly how I would do it could depend a bit on circumstances, like tempo and melody, but I think this is fairly readable and how I would do it at lest in reasonably slow tempi… % \version "2.22.1” \fixed c' { \set subdivideBeams = ##t

Re: Help with Rhythm Notation

2022-08-22 Thread Leo Correia de Verdier
l. 09:47 skrev Leo Correia de Verdier > : > > I’d guess it’s a written-out accelerando. For exactly how I would do it could > depend a bit on circumstances, like tempo and melody, but I think this is > fairly readable and how I would do it at lest in reasonably slow tempi… >

Re: Controlling Slur Marks

2022-08-30 Thread Leo Correia de Verdier
The easiest way would be to use \voiceOne and \voiceTwo instead of \stemUp and \stemDown (recommended anyway in most cases). Otherwise _( and ^( works too. HTH /Leo > 30 aug. 2022 kl. 19:30 skrev Greg Lindstrom : > >  > I am finishing up engraving my first full score. It's a piece for brass b

Re: Text under recitative note

2022-10-19 Thread Leo Correia de Verdier
I think you are looking for the markup commands wordwrap or wordwrap-string, something like: \version "2.23.11" \fixed c' { \cadenzaOn d4 e a g f g f d d e2 g1 f4 e } \addlyrics { When the stone had been seal -- ed by the Jews. \markup { \override #'(line-width . 25)

Re: \chordMode question

2022-10-20 Thread Leo Correia de Verdier
Hi Jaques! The chords do not have any specified duration, so they fall back to the default duration, which is a quarter note. For them to have a whole notes length at least the first of them has to have a specified duration, like c1:m . After the first chord having a specified duration the subs

Re: Limit the scope of baseMoment and beatStructure to a single Staff within a PianoStaff

2022-10-24 Thread Leo Correia de Verdier
Hi Vlad! You can specify what context baseMoment and beatStructure should apply to, the syntax is like \set Staff.beatStructure = 1,1 The default is Voice, so the reason your beatStructure is not working is more likely that you have some beamExceptions rule in effect (they take priority over

Re: Change clef size

2022-10-30 Thread Leo Correia de Verdier
This should work regardless of font, right? \version "2.23.11" { s1 \once \override Staff.Clef.font-size = -2 \clef bass s1 \once \override Staff.Clef.font-size = -5 \clef alto s1 \once \override Staff.Clef.font-size = 4 \clef treble s1 } HTH /Leo > 30 okt. 2022 kl. 23:06 skrev Paul Ho

Re: Explicitly add extra space before a note

2022-11-09 Thread Leo Correia de Verdier
I think what you are asking for is extra-spacing-width, but it might be easier to use repeatTie instead of slur. ## \version "2.23.11" \relative c'' { b1 a \repeatTie \tweak extra-spacing-width #'( -5 . 0 ) c \repeatTie d, \repeatTie \tweak extra-spacing-width #'( -5 . 0

Re: Custom Music font doesn't scale with staff

2022-11-21 Thread Leo Correia de Verdier
In the expression #:factor (/ staff-height pt 20) staff-height retrieves the staff height and divides it by 20. It works for any staff height. > 21 nov. 2022 kl. 22:23 skrev Yentl Tijssens : > > In case you missed it: I was just wondering how I should calculate the > required #:factor dependi

Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Leo Correia de Verdier
Hi Luca! This works quite well when I try to replicate it, so the code producing the error is probably needed to solve this. Try to make a minimal example. That said, one could guess that it could have something to do with break-alignments. Best /Leo > 22 nov. 2022 kl. 11:27 skrev Luca Fascion

Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Leo Correia de Verdier
bility = #'#(#f #f #f) > > I'm working on shortening the source > > L > > On Tue, Nov 22, 2022 at 12:25 PM Luca Fascione wrote: > Ha. Ok, I'll whittle it down to something small that repros it then. > Thanks Leo! > L > > On Tue, 22 Nov 2022, 12:0

Re: Collision between accidentals and start-of-line brackets

2022-11-22 Thread Leo Correia de Verdier
;> \repeat unfold 4 { c c c c } >> } >> >> \score { >> \m >> } >> >> >> On Tue, Nov 22, 2022 at 1:15 PM Luca Fascione wrote: >> It seems to have something to do with this: >> >> \override Clef.break-visibility =

Re: NOT merging same notes in different voices

2023-01-11 Thread Leo Correia de Verdier
If you use \omit instead of \hide there will be no invisible stem for the tenuto lines to avoid. HTH /Leo > 11 jan. 2023 kl. 17:43 skrev Johannes Roeßler : > >  > Hi Group, > > how can I have a "tenuto" line directly at the note (and not above or below > the invisible stem?). > > I have tw

Re: NOT merging same notes in different voices

2023-01-12 Thread Leo Correia de Verdier
Other than setting the stems to the same direction you can also use \once \override NoteColumn.force-hshift = 1 (or -1, depending on what voice you want first). A clarification: Voices have settings for stem direction and shift. For the noteheads not to be merged they need to have the same stem

Re: irrational meters

2023-01-17 Thread Leo Correia de Verdier
Hi Karim! Your first example seems to work to me (I don’t do irrational meters everyday, so there might be something I’m missing. I would probably write the tuplets explicitly rather than use \scaleDurations). \set Staff.timeSignatureFraction is superfluous, the time signature already does tha

Re: irrational meters

2023-01-18 Thread Leo Correia de Verdier
in music practice. > > Best to all of you, and thank you for all your comments. > > Karim > > > > On Tue, Jan 17, 2023 at 01:30:49PM +0100, Leo Correia de Verdier wrote: >> Hi Karim! >> >> Your first example seems to work to me (I don’t do irr

Re: Question about text formatting: hard line breaks?

2023-01-24 Thread Leo Correia de Verdier
If you can use \wordwrap-string you can use \n for hard breaks. This doesn’t seem to work with \wordwrap though... > 24 jan. 2023 kl. 01:14 skrev Alasdair McAndrew : > > Hello, > > I have a paragraph of descriptive text that I'd like to display in a box. > Currently I have: > > \markup \smal

Re: Tie not working as expected

2023-01-31 Thread Leo Correia de Verdier
The tie ~ and number 1 in measure 3 are in the wrong order, the tie should come after the number. What happens is that Lilypond, when it sees a pitch or duration alone interprets it as a new note, with the missing pitch or duration carried over from the previous note. So g~1 becomes a g with

Re: Visible Barline in ChoirStaff

2023-02-08 Thread Leo Correia de Verdier
Your example doesn’t work because the bars between the staves are in fact not BarLine grobs, but SpanBar grobs, and they would live in the ChoirStaff context. The difference between a ChoirStaff and a StaffGroup is that the Choirstaff doesn’t contain the Span_Bar_Engraver, that creates them. You

Pedal reminder

2023-02-16 Thread Leo Correia de Verdier
Dear list! Is there any way to make lilypond automagically place a reminder of a held pedal note at the beginning of each system it still sounds, looking somewhat like the second supplied example, but without having to do it by hand? \score { \new StaffGr

Re: spurious second treble clef sign, what did I do wrong this time?

2023-02-20 Thread Leo Correia de Verdier
I haven’t been able to open your .ly file since I’m on the telephone, but that should be an issue 34. Add s8. right after the clef and time signature in the right hand, so that the grace note timing matches between the different staves and voices and the extra clefs and time signatures will d

Re: spurious second treble clef sign, what did I do wrong this time?

2023-02-21 Thread Leo Correia de Verdier
; > Thanks, > Ken > >> On Mon, Feb 20, 2023 at 11:42 PM Leo Correia de Verdier >> wrote: >> >> I haven’t been able to open your .ly file since I’m on the telephone, but >> that should be an issue 34. Add s8. right after the clef and time signature &

Re: spurious second treble clef sign, what did I do wrong this time?

2023-02-21 Thread Leo Correia de Verdier
lh voice, apparently >> needed in the the second rh voice? >> >> Thanks, >> Ken >> >>> On Mon, Feb 20, 2023 at 11:42 PM Leo Correia de Verdier >>> wrote: >>> >>> I haven’t been able to open your .ly file since I’m on the telephone, &

Re: cross-staff stems

2023-03-22 Thread Leo Correia de Verdier
Like this? \version "2.22.2" ArightOne = \relative c'' { f4 (e8) s8 } ArightTwo = \relative c'' { \crossStaff { a4 g16 } } AleftOne = \relative c' { s4. } AleftTwo = \relative c' { c4~ c16 } \score { \new PianoStaff << \new Staff = "right" << \Arigh

Re: Coda/Segno sign color override not working: LiliyPond 2.24.0

2023-03-24 Thread Leo Correia de Verdier
The problem with that solution is that it changes all Scripts, including all articulations. I would suggest the somewhat hacky solution of redefining just the commands in case, like segno = \tweak color #red \segno coda = \tweak color #red \coda But if something more elegant is required (for i

Re: how to do this?

2023-03-27 Thread Leo Correia de Verdier
Try\set Score.rehearsalMarkFormatter = #format-mark-box-numbersMore details and explanations can be found hereLilyPond Notation Reference: 1.2.5 Barslilypond.org27 mars 2023 kl. 17:49 skrev Dario Marrini :many thanks guys, and what about this : ?the '11 in that box; I found A,B,C,D as progressive

Re: Separate dynamics from notes

2023-04-26 Thread Leo Correia de Verdier
You can do like this if it’s useful to you, removing the engravers that read what you don’t want at a specific place. %% \version "2.25.1" rh = \fixed c' {c4\pp d\p e\f f\ff} \score { << \new Voice \with { \remove Dynamic_engraver } \rh \new Dynamics %Dynamics cont

Re: Glissando intervoices

2023-04-28 Thread Leo Correia de Verdier
Hi Mario! Like Kieren, I thought you were satisfied with the answers you got, since you did not send any MWE. Anyway, here is how I would code the passage you sent in the first mail: \version "2.25.1" << \new Staff = "upper" << \key e \minor \new Voice \r

Re: Separate dynamics from notes

2023-05-02 Thread Leo Correia de Verdier
event) (music-is-of-type? m 'note-event)) (make-music 'SkipEvent m) m)) music)) \convertToSkips { r2\p c'4( d)\ff s4 r4 } %% Take care with things that ar still interpreted, like Scripts. > 26 apr. 2023 kl. 22:55 skrev

Re: Proportional duration and cross-staff notation

2023-05-30 Thread Leo Correia de Verdier
I think what was asked for was for the proportional spacing to be done based on the stems position rather than the noteheads, with the result akin to this horrible hack: % up = { \change Staff = "up" \stemDown \temporary\override NoteColumn.X-offset = #1

Re: Proportional duration and cross-staff notation

2023-05-30 Thread Leo Correia de Verdier
But I have probably understood it wrong, because in that case I cannot see what’s wrong with the default spacing... > 30 maj 2023 kl. 13:34 skrev Leo Correia de Verdier > : > > I think what was asked for was for the proportional spacing to be done based > on the stems position

Re: Leadsheet with cadenza / ad lib.

2023-06-07 Thread Leo Correia de Verdier
What is aligned in Lilypond is not the bars, but the lengths of the notes/skips/rests. CadenzaOn allows you to have a bar of arbitrary length, but does not negate the alignment of the note values (it’s also valid for all staves, as long as you haven’t moved engravers around). Your harmonies stil

Re: Define an alias to a parametrized command

2023-06-27 Thread Leo Correia de Verdier
Hi Volodymyr! You can write: % acc = \acciaccatura \etc af = \after \etc % \set in lilypond is something completely else. HTH /Leo > 27 juni 2023 kl. 21:57 skrev Volodymyr Prokopyuk > : > > Hello, > > I'd like to define a shorter alias to a parametrized command. My

Function for letter noteheads

2023-10-04 Thread Leo Correia de Verdier
Dear List! I am trying to put custom notation for a piece for typewriter and electronics together and have devised a function for merging text and rhythm. It works fine as long as nothing else is involved, but interferes in some way with scripts and dynamics. Could any of you figure how and why

Re: textSpanner - disable repeat of text on new line

2023-10-07 Thread Leo Correia de Verdier
Hi Bevan! I think what you are looking for is: \override TextSpanner.bound-details.left-broken.text = ##f HTH /Leo > 7 okt. 2023 kl. 21:13 skrev Bevan Broun : > > Hi All > > When using a text spanner I get the text repeated after a line break, > followed by new dashes. Can I disable getting

Re: Function for letter noteheads

2023-10-08 Thread Leo Correia de Verdier
Hi Jean! It was not intentional, that was the actual problem. When I compiled it without the dynamics it came out in the same order as the input, but that was only a lucky coincidence then, right? Do you have any suggestions for how to get them ordered? Thanks! /Leo > 8 okt. 2023 kl. 11:2

Re: Dynamics placement in partCombine

2023-10-13 Thread Leo Correia de Verdier
Quick answer, and I’m not sure it will help much: \dynamicUp affects the context (Voice) in which it’s placed. \partCombine combines its arguments into new Voices and \dynamicUp ended up in a different voice than the p > 13 okt. 2023 kl. 12:32 skrev Michael Gerdau : > > Hi list, > > the fo

Re: Two small issues

2023-11-02 Thread Leo Correia de Verdier
I’m unsure what of this is relevant today, but maybe you can find help or inspiration in this thread:Re: Extending staff lines through key changelists.gnu.org2 nov. 2023 kl. 12:58 skrev David Kastrup :Peter Mayes writes:Ideally what I want is the first version, but with the stave extendingjust en

Re: using partcombine with different clefs, repeats, text

2023-11-12 Thread Leo Correia de Verdier
I think this sounds like a use case for a long text preface explaining what is to be performed in what order and why, just notating everything on a treble clef and doing manual octavations in the midi file. Maybe writing a reminding 1S,2B: or such (not sure I got it completely right from your ex

Re: clefs, time signatures, and key signatures

2023-12-05 Thread Leo Correia de Verdier
At least for the clef+time signature I prefer the tighter spacing of the first suggestion. Improvement requires things to change. > 5 dec. 2023 kl. 07:39 skrev Werner LEMBERG : > >  >> please have a look at Merge Request 2188 and comment there on how to >> proceed with the new distances betwe

Re: right indent once, horizontal space

2023-12-22 Thread Leo Correia de Verdier
Does this do what you want or do you want the staff to go on after the bar line?Indenting individual systemsdi.unimi.it22 dec. 2023 kl. 15:47 skrev Cordelia :Thank you, yes this works if the measure is the last one.For exemple in your exemple, I’d need the second staff to have a right indent.On 22

Re: chord

2024-01-18 Thread Leo Correia de Verdier
<\tweak duration-log 3 e, b, g e’>2 > 18 jan. 2024 kl. 16:33 skrev Alexander Weidner : > >  > > Hello, > > how do I notate a Double stop (German: Doppelgriff), where one note has an > other duration (see image). > > Thanks! Alexander

Re: tempo marks floating number

2024-01-22 Thread Leo Correia de Verdier
Hi Jacopo! I think \set Timing.tempoWholesPerMinute = #(ly:make-moment 24.715) % that is 98.86/4 should work for the midi output. At least it accepts floats. Combining it with Michael’s solution for the markup should get you the complete \tempo I might have heard sometime in the past that tempo

Re: tempo marks floating number

2024-01-22 Thread Leo Correia de Verdier
Sorry, copying error: to avoid confusion, the numbers should be 90.86/4 = 22.715 > 22 jan. 2024 kl. 22:22 skrev Leo Correia de Verdier > : > > Hi Jacopo! > > I think > \set Timing.tempoWholesPerMinute = #(ly:make-moment 24.715) % that is 98.86/4 > should work for t

Re: Ties across voices; tried two methods

2024-01-24 Thread Leo Correia de Verdier
Also: your tie needs to end in the same voice it started. \new Voice and the <<\\>> construct both create other voices. If you remove \new Voice = “melody” from your first attempt it will work, as the last note of the tie is then in the same voice as the first. > 25 jan. 2024 kl. 00:37 skrev M

Re: performance marks

2024-01-31 Thread Leo Correia de Verdier
There is also some code in the list archives: https://lists.gnu.org/archive/html/lilypond-user/2018-05/msg00167.html > 1 feb. 2024 kl. 00:49 skrev Robin Bannister : > > Stan Sanderson wrote: >> Certain marks are used to indicate emphasis (phrase breaking) and >> across-staff fingering. > > >

Re: Alternate bars in different time signatures

2024-02-01 Thread Leo Correia de Verdier
If you want to avoid some of the jiggery pokery you could do something like: \version "2.25.12" #(define ((time-alternate-time upa downa upb downb) grob) (grob-interpret-markup grob (markup #:override '(baseline-skip . 0) #:number

Re: "Squished" tie between 2 notes

2024-02-11 Thread Leo Correia de Verdier
Sorry for short answer, I’m on the phone: Try \tweak Tie.minimum-length #10 And then choose an appropriate number. > 11 feb. 2024 kl. 18:31 skrev George : > >  > At the moment I am having an issue with a tie from the alto part where it is > automatically "squished" by Lillypond. I didn't fin

Re: Double dashed bar lines

2024-02-12 Thread Leo Correia de Verdier
Hi! There is no predefined double dashed bar line in lilypond, (You can see a list of those at https://lilypond.org/doc/v2.25/Documentation/notation/list-of-bar-lines ) so you’ll have to define it using \defineBarLine , as described here https://lilypond.org/doc/v2.25/Documentation/notation/b

Re: Cue clefs

2024-02-23 Thread Leo Correia de Verdier
CueClef and CueEndClef are their own types of GROB, could \omit Staff.CueEndClef work? (sorry for short untried answer, I’m on the phone) > 24 feb. 2024 kl. 00:27 skrev Gerardo Ballabio : > > Hello, please let me ask two questions on the example below: > 1. how can I move the cue treble clef a

Re: Staff final bars

2024-03-05 Thread Leo Correia de Verdier
This happens when different staves have different sizes, giving the bar lines different thickness. There are some strategies to deal with it in the bottom of this manual page: LilyPond Notation Reference: 4.2.2 Setting the staff sizelilypond.orgHTH/Leo5 mars 2024 kl. 13:06 skrev Johannes Roeßler :

Re: Circular staves

2024-03-16 Thread Leo Correia de Verdier
Wow! That was truly amazing! /Leo > 16 mars 2024 kl. 16:46 skrev Valentin Petzel : > > Some time ago Jean posted this lovely proof of concept to the list for > circular staves. I’ve revised this to handle stuff like multiple Staves, > Spanners and Beams and such stuff. The result looks quite

Re: draw box around score

2024-03-22 Thread Leo Correia de Verdier
Hi Joop! Do you mean something like \markup \box \score { c’1 } HTH /Leo > 22 mars 2024 kl. 14:40 skrev Go77 : > >  > Hi all, > > I tried to find how to draw a box around a piece of music. Looked through the > manual, snippets etc, but didn't find out how to do this yet. See below what > I

Re: draw box around score

2024-03-22 Thread Leo Correia de Verdier
Sorry, I got a fudged quote-apostrophe in last answer. It should be: \markup \box \score { c'1 } > 22 mars 2024 kl. 15:06 skrev Leo Correia de Verdier > : > > Hi Joop! > > Do you mean something like > \markup \box \score { c’1 } > > HTH > /Leo >

Re: computer compatible

2024-04-11 Thread Leo Correia de Verdier
MacOS 14 (Sonoma) is not the same as OSX 14 (Mojave, would be 10.14 in a more straightforward numbering). I don’t know about compatibility, though. > 11 apr. 2024 kl. 16:57 skrev Robert Garrigos : > > I’m using it with macosx 14.4.1 since 14.1 > > Robert > >> El 11 abr. 2024, a les 16:28, Ly

Re: GraceSpacing on Staff

2024-04-26 Thread Leo Correia de Verdier
s4*3 after the grace notes (within the grace group) in the lower staff. > 26 apr. 2024 kl. 17:11 skrev Robert Garrigos : > > I have this music to replicate: > > > > I managed to get this: > > > > Still, I need to move the lower grace notes to the left. I can only apply > GraceSpacing on

Re: how to draw lines independent from the notes

2024-06-03 Thread Leo Correia de Verdier
Expanding on Werner’s example a bit, is this something like what you’re after? \version "2.25.12" \markup \with-dimensions #'(0 . 0) #'(0 . 0) { \translate #'(20 . -20) \center-column { example-text \concat { \arrow-head #X #LEFT ##t \draw-line #'(30 . 0) \arrow-head #X #RIGHT ##t }}} <<

Re: RehearsalMarks, slurs and ties overlapping

2024-06-14 Thread Leo Correia de Verdier
Setting \override Score.RehearsalMark.outside-staff-priority = ##f could perhaps also be an option. > 13 juni 2024 kl. 16:49 skrev Federico Sarudiansky : > > Hi again, Kieren! > > Excellent! However I wonder if there is a more general approach. Something > «allowing» the slurs not taking th

Re: Beam.positions affecting space between staves

2024-08-19 Thread Leo Correia de Verdier
Common beams for both staves, sometimes pulled outside them are used in contemporary music when the resultant rhythm from both staves of a single instrument are significantly easier to grasp than the separate rhythms of the separate staves. It also hints at both staves having a common voice or musi

Re: Beam.positions affecting space between staves

2024-08-19 Thread Leo Correia de Verdier
I’m at the hospital, far from my library, and anyways not sure about exactly how Karim wants them to look or behave. I was just pointing out it’s nothing really exotic in contemporary music. Anyway: An alternative approach, somewhat blunter but simpler \version "2.25.12" one = { s2 c'4 c

Re: Lyric spacing confusion

2024-08-19 Thread Leo Correia de Verdier
Hi Laurie \addlyrics (like \lyricsto ) discards the lyric's durations and uses durations from the voice the lyrics are attached to. The twelve ones in the beginning are creating twelve empty syllables, whose durations are then discarded and replaced with the twelve ”syllable-places” in the intr

Re: Percussion with lyrics

2024-09-06 Thread Leo Correia de Verdier
Like this? The staff with the lyrics was being created because in the score block, when you created the NullVoice it had nowhere to go, so the staff was implicitly created for it. Here it is created inside the DrumStaff in the drumsPart variable. %%% SNIPPET BEGINS \version "2.22.1" \header {

Re: Subdivided beaming not correct with compound meter and tuplets

2024-11-06 Thread Leo Correia de Verdier
The subdivision works well without the manual beaming (the square brackets), but as Carl says it’s probably impossible to subdivide just the secondary beam automatically at non-powers-of-a-half: % \relative c { \time 9/8 \set subdivideBeams = ##t \set baseMoment = #(ly:m

Re: Subdivided beaming not correct with compound meter and tuplets

2024-11-06 Thread Leo Correia de Verdier
What is needed is for the secondary beam (the sixteenth beam) to be broken between each quintuplet group in the first measure of the left hand. > 7 nov. 2024 kl. 06:11 skrev Jason Yip : > > On 2024-11-06 10:57, Richard Gress - rgress(a)nd.edu wrote: >> Hi everyone, >> I'm engraving a measure o

Re: Heitor Villa-Lobos out of copyright in Canada. Guitar Preludes completed

2025-02-17 Thread Leo Correia de Verdier
Diosnel’s suggestion is by far the most likely in Portuguese, so I would go with that. All of your sources look like misspellings. > 17 feb. 2025 kl. 19:53 skrev st...@linuxsuite.org: > >Of the 3 versions I have seen It written à Mindinha, and à > Mindinah. The latter edition by Zi

<    1   2   3   >