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: 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,

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: 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: 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

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: 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

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

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

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: 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: 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

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: 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

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: 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

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

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

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

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

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.

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

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

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

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

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 posit

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 =

Re: Separate dynamics from notes

2023-05-02 Thread Leo Correia de Verdier
) (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 Leo Correia de Verd

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

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

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: 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

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" <<

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: 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 signatur

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

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

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

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: 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

Re: irrational meters

2023-01-18 Thread Leo Correia de Verdier
> > 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 irrational meters >

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

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: 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

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

2022-11-22 Thread Leo Correia de Verdier
{ 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 = #'#(#f #f #f) >> >

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

2022-11-22 Thread Leo Correia de Verdier
> > 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:00 Leo Correia de Verdier, > wrote:

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

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

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 .

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

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: \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

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 .

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

Re: Help with Rhythm Notation

2022-08-22 Thread Leo Correia de Verdier
: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: 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: 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: 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

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

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

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

Re: Generate music with scheme

2022-04-11 Thread Leo Correia de Verdier
An addition: MarkEvent is not added to the note, but to the staff (it’s often used for things like rehearsal marks), if you want the markup added to the actual note you can write it like this: % \version "2.18.0" \score { { $ (make-sequential-music (map (lambda (x)

Re: Grace note position and time signature changes

2022-03-24 Thread Leo Correia de Verdier
Hi David! This is our beloved issue 34 again: https://sourceforge.net/p/testlilyissues/issues/34/ You need to place grace spacers in relevant sequential variables matching the gracenotes to get them to the right place, as in this fixed code. %%% \version "2.22.2"

Re: 'baroque' time signatures

2022-03-22 Thread Leo Correia de Verdier
I added necessary supporting code like Michael (and a voice filled with repeated half notes, so I could hear the tempo) and got it to compile compile correctly with tempo changes (at least alternating fast and slow sections) on Lilypond 2.19.82 Frescobaldi 3.1.3, so I wouldn't think that is the

Re: Cross-staff glissando with crescendo and dynamics

2022-03-22 Thread Leo Correia de Verdier
Hi David! The issue, put in a slightly simplified way, is that the Voice context to which the dynamics are attached has moved away from the Staff under which the dynamics were originally aligned, leaving lilypond ”in doubt” about under what staff the \mp should be. The answer in the linked

Re: Time signature guide

2022-03-22 Thread Leo Correia de Verdier
\oneVoice I prefer just placing them in parallell in the same explicitly initiated Staff, as I did. > 22 mars 2022 kl. 10:27 skrev Rip _Mus : > > Thank you so much, > you offered two similar and valid solutions! > > Regards > > > > Il giorno lun 21 mar 2022 al

Re: Time signature guide

2022-03-21 Thread Leo Correia de Verdier
I’m not sure I understood your question right, but I think the usual way to do it would be to write the ”global” variable as a sequence of tempos, time signatures and other events separated by spacers or skips. Something like: %% \version "2.23.6" global = { \time 4/4 \tempo

Re:

2022-03-20 Thread Leo Correia de Verdier
While it’s hard to know without seeing the contents of the included files I would guess you could write \voiceOne before the includes of the voices that should point up and \voiceTwo before the ones that should point down. > 21 mars 2022 kl. 00:22 skrev Michael Dykes : > >  > I have used the

Re: Should \partial accept music instead of duration?

2022-03-20 Thread Leo Correia de Verdier
Entirely replacing the actual syntax would not be desirable in my opinion. Consider the case when it is used in a “global” part/variable in an orchestral score that usually contains rehearsal marks, tempo, key and time signature changes and such. As I understand it having \partial to accept

Re: DynamicTextSpanner spacing

2022-03-06 Thread Leo Correia de Verdier
The stencil is what’s actually printed from a grob. > 6 mars 2022 kl. 02:27 skrev Erika Pirnes : > >  > Thank you Aaron, it seems to work! But what does stencil mean exactly? > > Best, > Erika > Lähettäjä: Aaron Hill > Lähetetty: lauantai 5. maaliskuuta 2022 18.35 > Vastaanottaja: Erika

Re: Naming midi files

2022-02-17 Thread Leo Correia de Verdier
You would have to structure your files and variables differently, for instance something like (in pseudocode): — foo.ly \include "bar.ily" \include ”baz.ily” \book { \bookpart { \header { title = "Bar One" } \score { \barMusic \layout{} } } \bookpart {

Re: Naming midi files

2022-02-17 Thread Leo Correia de Verdier
It’s not that simple, since in the example all the scores are in the same book. > 17 feb. 2022 kl. 09:58 skrev Michael Gerdau : > >> If I have a book that is structured something like below, then LP >> produces two midi files: foo.midi and foo-1.midi. >> Is there a way I can coerce the names

Re: Slur in different voices

2022-02-17 Thread Leo Correia de Verdier
Hi Mark! Generally I work around this using hidden notes or notes with hidden stems. In your example I think you want a tie rather than a slur (since it’s a held note), but they both work in the same way with regard to voices. In your example it could look like: \version "2.22" lowerA =

Re: Complex three-voice left hand

2022-02-15 Thread Leo Correia de Verdier
You were almost there: %%% \relative { \time 3/4 \key f \major \clef bass \mergeDifferentlyHeadedOn << { \voiceThree <\tweak duration-log #2 g df'>2 * 1/2 g4 | } \\ { \voiceFour \override Beam.details.collision-padding = 0 \scaleDurations 2/3 { g8 bf bf g

Re: Accent size and stem length

2022-02-10 Thread Leo Correia de Verdier
If you go for the redefine-solution from the thread the accent is dashLarger > 10 feb. 2022 kl. 23:59 skrev Leo Correia de Verdier > : > > Hi Erika! > > To globally reduce the size of all articulations (I think that could be > relevant, since many of them will relate

Re: Accent size and stem length

2022-02-10 Thread Leo Correia de Verdier
Hi Erika! To globally reduce the size of all articulations (I think that could be relevant, since many of them will relate to noteheads in a way similar to accents) you can use this next to the override for notehead fint size. \override Script.font-size = #-.5 % or whatever size you want If

Re: Engraving chords with the same note twice, but different accidentals

2022-02-03 Thread Leo Correia de Verdier
I differ on that. For me, (and with the perspective of only this measure) both the option of respelling the a flat in only that chord (looks like the repeated a flat moves) and respelling the a flats in the whole measure (and having to read the second between a flat and b flat as a diminished

\include inside function

2022-02-01 Thread Leo Correia de Verdier
Dear list! Is there a way to have an \include inside a function? In the attached file includeinfunction.ly the commented out line doesn’t work (probably for some very logical reason, but still unknown to me). Is there a way to work around that and have includes inside functions? (The function

Re: Object names for styling

2022-01-31 Thread Leo Correia de Verdier
> 31 jan. 2022 kl. 15:56 skrev Paulo Matos : > > Ah - grobs is the technical term I needed. > Where's the best place to find the available grobs that I can style? https://lilypond.org/doc/v2.21/Documentation/internals/all-layout-objects Here they are. It can sometimes be hard to figure witch

Re: Transposing pitches in the lilypond file itself?

2022-01-12 Thread Leo Correia de Verdier
Depending on how you’ll use it \displayLilyMusic may also be useful. (Från telefonen) > 12 jan. 2022 kl. 09:35 skrev Mark Knoop : > > You might be interested in python-ly > (https://python-ly.readthedocs.io/en/latest/) which is actually written by > the Frescobaldi developers and used

Re: Beam slopes

2022-01-09 Thread Leo Correia de Verdier
Hi Yurij If the question was rather about forcing the beam to be kneed you could do it like this: (The auto-knee-gap should be less than the interval between the notes) \version "2.22.0" \new Score \new PianoStaff << \new Staff = "up" { \once \override Beam.damping = #+inf.0 \once \override

Re: Start new piece without line break (with title)

2022-01-07 Thread Leo Correia de Verdier
Adding \once \override Staff.KeySignature. break-visibility = ##(#f #f #f) \once \override Staff.Clef.break-visibility = ##(#f #f #f) \once \omit Score.BarNumber Together with \stopStaff helps avoids some of the strangeness if the new piece’s start happens to coincide

Re: slur crossing bar and time signature change

2021-12-24 Thread Leo Correia de Verdier
Hi J! ~ is not a slur, it's a tie, so that could be the reason it is not working. https://lilypond.org/doc/v2.22/Documentation/learning/ties-and-slurs If not, could you pleas post a minimal example for us to see what could be the issue? Slurs across barlines and time signatures are not

Re: Combining notes and articualtions

2021-12-22 Thread Leo Correia de Verdier
Hi Valentin! Thanks very much for your help! How would I go about to make the function climb the music tree? (There are nested sequential music expressions, needed for another function to work) Could I use for-some-music in some way? > 21 dec. 2021 kl. 00:15 skrev Valentin Petzel : > >

Re: Combining notes and articualtions

2021-12-21 Thread Leo Correia de Verdier
Sorry, It was my mistake, I was confusing what of my own code I was trying it on. > 21 dec. 2021 kl. 09:03 skrev Jean Abou Samra : > > Le 21/12/2021 à 00:12, Leo Correia de Verdier a écrit : >> Thanks a lot! >> >> It’s a perfect solution for the typesettin

Re: Combining notes and articualtions

2021-12-20 Thread Leo Correia de Verdier
mra : > > Le 20/12/2021 à 22:28, Leo Correia de Verdier a écrit : >> Dear list! >> >> Could you help me with a clever way to copy/clone the articulations from >> simultaneous notes in one sequential expression to another? >> So that I could for instance en

Combining notes and articualtions

2021-12-20 Thread Leo Correia de Verdier
Dear list! Could you help me with a clever way to copy/clone the articulations from simultaneous notes in one sequential expression to another? So that I could for instance enter the total articulations of a phrase as \version "2.23.3" << \new RhythmicStaff \with { \override Script.Y-offset =

Re: Hide and replace a note with text

2021-12-08 Thread Leo Correia de Verdier
Add \once \omit Accidental to the overrides before the questionmark-note > 8 dec. 2021 kl. 21:09 skrev Rajesh Baskar : > >  > Thanks Lukas, it works, but for the accidentals. If you see the example code > below, is there a way to hide the sharp/flat signs also? > > \version "2.22.0" > >

Re: Dotted \markup \note - tweaking the dot position

2021-12-03 Thread Leo Correia de Verdier
Hi Adam! I don’t think you can use \note or \note-by-number any longer when you need finer control over the output. This snippet can serve as starting point for more advanced notes and music expressions in markup. https://lsr.di.unimi.it/LSR/Item?id=1029 HTH /Leo > 3 dec. 2021 kl. 13:06

Re: How to change the alignment of the dashed line in \cresc

2021-11-30 Thread Leo Correia de Verdier
I would have expected \override DynamicTextSpanner.bound-details.left.stencil-align-dir-y = #DOWN to work, since I think that is the property to be changed, but it seems it needs a lower value, like \override DynamicTextSpanner.bound-details.left.stencil-align-dir-y = #-2 To align properly.

Re: Vertical space of a fragment of score inside a list

2021-11-25 Thread Leo Correia de Verdier
I think what you’re after, since you already have the vSpace in the markup is score-markup-spacing = #'((basic-distance . 0) (minimum-distance . 0) (stretchability . 0) (padding . 0))

Re: beamed stem lengths in pitch squash engraver

2021-11-24 Thread Leo Correia de Verdier
I see two possibilities, either a general \override Stem.no-stem-extend = ##t Or setting a specific position for the beams in each variable, something like: \override Beam.positions = #'(-4 . -4) (Suggested values are 9, 4, -4, -9) > 24 nov. 2021 kl. 04:50 skrev jerome talkington : > >

Re: Delayed Turn

2021-11-18 Thread Leo Correia de Verdier
de works perfectly. > Why is "\new Voice" not included in the code in the documentation? > > Mark > > -Original Message- > From: Lukas-Fabian Moser [mailto:lukasfabianmo...@googlemail.com] On Behalf > Of Lukas-Fabian Moser > Sent: Thursday, November 18, 20

Re: Delayed Turn

2021-11-18 Thread Leo Correia de Verdier
r your reply and suggestion. > Please bear with my ignorance. > My understanding is that the construct <<{ } { }>> creates two voices. > I merely want to use the documentation to achieve a delayed turn. > > Mark > > -Original Message- > From: Leo Corre

Re: Delayed Turn

2021-11-18 Thread Leo Correia de Verdier
The beam appears since you have both the hidden note and the others in the same voice. Adding the double backslashes is a shorthand for creating a new voice, but then I needed to override some directions, since this also sets the first voice upwards and the second downwards. \version "2.22.1"

Re: Strange Page Break Error

2021-11-17 Thread Leo Correia de Verdier
This compiled fine for me on lilypond 2.23.3, except for the warning about the empty ChordNames. On lilypond 2.20 I got an error message similar to yours (without the filename weirdness), but it compiled fine if I commented out the ChordNames line or typed something into its music expression.

Re: Terminology question

2021-11-13 Thread Leo Correia de Verdier
I’ve just said writing parts (from a score) even if that, for most of my musicwriting life, mostly meant layout. > 13 nov. 2021 kl. 23:23 skrev David Nalesnik : > > On Sat, Nov 13, 2021 at 3:42 PM Kieren MacMillan > wrote: >> >> Hi all, >> >>> The *extraction* of parts is something that

Re: Tweaking glissando timing stems

2021-11-12 Thread Leo Correia de Verdier
cript-example.ly Description: Binary data > 26 okt. 2021 kl. 01:05 skrev Thomas Morley : > > Am Mo., 25. Okt. 2021 um 12:00 Uhr schrieb Leo Correia de Verdier > : >> >> Don’t worry, you’re doing far more on this than anyone could reasonably >> expect. >> >

Re: Tweaking glissando timing stems

2021-10-25 Thread Leo Correia de Verdier
021 um 00:02 Uhr schrieb Leo Correia de Verdier > : > >> One feature I would find useful would be the ability to make chords with one >> ”gliss-note” and one regular notehead. I implemented this (not entirely >> successfully) on top of an earlier version of you

Re: Tweaking glissando timing stems

2021-10-24 Thread Leo Correia de Verdier
working on a piece for violins, where they play chords consisting of a glissando on one string and repeated notes on an open string. Once again thanks! /Leo > 22 okt. 2021 kl. 10:55 skrev Thomas Morley : > > Am Di., 5. Okt. 2021 um 13:39 Uhr schrieb Leo Correia de Verdier > : >

  1   2   >