Collecting fingerings in an engraver

2024-07-27 Thread Luca Fascione
uch useful Cheers L -- Luca Fascione

Re: Transforming lilypond input

2024-07-27 Thread Luca Fascione
Aha. I _also_ removed the use of m-chordify and now it all works as you said. Great, slur problem solved. And thanks again -- Luca Fascione

Re: Transforming lilypond input

2024-07-27 Thread Luca Fascione
(as a test I also added \remove New_fingering_engraver and all the fingering went away, do it is doing something) On Sat, Jul 27, 2024 at 4:06 PM Luca Fascione wrote: > > > On Sat, Jul 27, 2024 at 1:31 PM David Kastrup wrote: > >> Have you tried my other suggestion of j

Re: Transforming lilypond input

2024-07-27 Thread Luca Fascione
fingering" for music that has gone through the (make-music 'EventChord 'elements (list m)) part Am I doing it wrong, maybe? L -- Luca Fascione

Re: Transforming lilypond input

2024-07-27 Thread Luca Fascione
: > Luca Fascione writes: > > > Hi David, I just tried out your suggestion, and it works quite well. > > One issue I found is that it moves slurs from "above the beam" to "at > > the notehead" (in fact, it seems to me the slur is actually "at the > >

Re: Transforming lilypond input

2024-07-25 Thread Luca Fascione
ca On Thu, Jul 25, 2024 at 10:02 PM David Kastrup wrote: > Luca Fascione writes: > > > Ok, so. I tested this eventChords idea, and it seems to behave as if this > > a-4 > > was entered as this > > -4 > > but unfortunately I actually need this > > &g

Re: Transforming lilypond input

2024-07-25 Thread Luca Fascione
Ok, so. I tested this eventChords idea, and it seems to behave as if this a-4 was entered as this -4 but unfortunately I actually need this how can I achieve that? Thanks a lot David, Luca On Wed, Jul 24, 2024 at 10:19 PM Luca Fascione wrote: > Thus might do it yes. > Does even

Re: Transforming lilypond input

2024-07-24 Thread Luca Fascione
Thus might do it yes. Does even chords transform single notes into chords, does nothing to chords and leaves untouched everything else? (Key changes, time markings changes, all that stuff) Thanks David! L On Wed, 24 Jul 2024, 21:01 David Kastrup, wrote: > Luca Fascione writes: >

Transforming lilypond input

2024-07-24 Thread Luca Fascione
chords? I think the `\parallelMusic` macro works more or less this way, maybe. Any pointers to code/snippets to use for inspiration would be greatly appreciated. Many thanks Luca -- Luca Fascione

Re: Parenthesizing multiple events

2023-11-20 Thread Luca Fascione
Lovely, thank you Knute L On Mon, 20 Nov 2023, 16:11 Knute Snortum, wrote: > On Mon, Nov 20, 2023 at 6:34 AM Luca Fascione > wrote: > >> Did this change between 22 and 24? >> Is there somewhere I can go to see the implementation for the LSR that >> used 2.22? >&g

Re: Parenthesizing multiple events

2023-11-20 Thread Luca Fascione
hat. I used it > once to put a bracket around a cord. You just have to override one of the > properties to move the endpoints in the negative direction as well as an x > offset for the closing side. > > On Mon, Nov 20, 2023, 7:35 AM Luca Fascione wrote: > >> Did

Re: Parenthesizing multiple events

2023-11-20 Thread Luca Fascione
Did this change between 22 and 24? Is there somewhere I can go to see the implementation for the LSR that used 2.22? L On Mon, 20 Nov 2023, 15:07 Knute Snortum, wrote: > On Mon, Nov 20, 2023 at 4:35 AM Luca Fascione > wrote: > >> Also, >> it doesn't seem to actually wo

Re: Parenthesizing multiple events

2023-11-20 Thread Luca Fascione
:4:19: error: bad grob property path \once \override Parentheses.stencils = #(lambda (grob) paren_tests.ly:10:19: error: bad grob property path \once \override Parentheses.stencils = #(lambda (grob) On Fri, Nov 17, 2023 at 12:29 PM Luca Fascione wrote: > Yes, I was thinking more about p

Re: Parenthesizing multiple events

2023-11-17 Thread Luca Fascione
ri, Nov 17, 2023 at 11:58 AM Jean Abou Samra wrote: > Le vendredi 17 novembre 2023 à 11:44 +0100, Luca Fascione a écrit : > > Nice. Thanks Jean. This solves it for my current score > > In general, what's the background for this not working though? > You seem to imply it's inte

Re: Parenthesizing multiple events

2023-11-17 Thread Luca Fascione
to gauge delimiter sizes? Cheers L On Fri, Nov 17, 2023 at 11:18 AM Jean Abou Samra wrote: > Le vendredi 17 novembre 2023 à 10:58 +0100, Luca Fascione a écrit : > > Hi all, > > > > Try > > https://lsr.di.unimi.it/LSR/Item?id=902 > > -- Luca Fascione

Re: MIDI Drums to lilypond

2023-11-17 Thread Luca Fascione
t's just the > standard General MIDI percussion keymap. > > At 10:52 on 17 Nov 2023, Luca Fascione wrote: > > Hi, > > I'm converting a MIDI file to lilypond with a drumset track. > > > My process goes through MusicXML, but the `musicxml2ly` script I have > > (2.22

Parenthesizing multiple events

2023-11-17 Thread Luca Fascione
in parentheses (chords are there but parens are not) Also, \new ChordNames { \chordmode { \parenthesize { a:m7 } } } produces the chord symbol and no parentheses \parenthesisOpenSymbol also is rejected inside \chordmode Cheers L -- Luca Fascione

MIDI Drums to lilypond

2023-11-17 Thread Luca Fascione
, the mapping lilypond uses to go from the percussion notes to its MIDI output is all I need (and then I can reverse that). If someone could get me a breadcrumb to that, that'd be grand. Thanks Luca -- Luca Fascione

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

2022-11-22 Thread Luca Fascione
without > barlines in the beginning. > 'msorry what's that? Could you show me? What version of lilypond are you using? Thanks again, L -- Luca Fascione

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

2022-11-22 Thread Luca Fascione
} \break \repeat unfold 4 { c c c c } } \score { \m } On Tue, Nov 22, 2022 at 3:17 PM Luca Fascione wrote: > Noice, thanks Leo, this is enough of a workaround for my current state, > thanks for figuring that out > > Cheers, > Luca > > On Tue, 22 Nov 2022, 14:04

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

2022-11-22 Thread Luca Fascione
wn you can work > around it by printing the barlines at the beginning of staves too, by adding > \defineBarLine "|" #'("|" "|" "|”) > to the layout block. > > HTH > /Leo > > 22 nov. 2022 kl. 13:30 skrev Luca Fascione : > > Ok, so, smal

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

2022-11-22 Thread Luca Fascione
sible } m = \relative c'' { c4 c c c | \break 4 cis cis cis | 4 cis cis cis | \repeat unfold 2 { c c c c } \break 4 c c c | 4 cis cis cis | \repeat unfold 2 { c c c c } \break \repeat unfold 4 { c c c c } } \score { \m } On Tue, Nov 22, 2022 at 1:15 PM Luc

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

2022-11-22 Thread Luca Fascione
It seems to have something to do with this: \override Clef.break-visibility = #'#(#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 > >

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

2022-11-22 Thread Luca Fascione
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 Fascione : > > Hi all, > In a sheet I'm working on I'm o

Collision between accidentals and start-of-line brackets

2022-11-22 Thread Luca Fascione
[image: image.png] -- Luca Fascione

Re: Splitting voices

2022-11-19 Thread Luca Fascione
Awesome, thanks Jean! L On Sun, 20 Nov 2022, 00:30 Jean Abou Samra, wrote: > Le 20/11/2022 à 00:02, Luca Fascione a écrit : > > Hi all, > > I have some 2 voice music coming from musicxml like this > > > > 4 8. 16 ~ ~ 2. > > > > and I'd like to split it int

Splitting voices

2022-11-19 Thread Luca Fascione
baldi, but I couldn't find a transformation for this purpose) Cheers, Luca -- Luca Fascione

Re: Chord names from two voices

2022-11-16 Thread Luca Fascione
Yes! Thanks Jean, I don't know why I didn't see this myself. Cheers! L On Thu, 17 Nov 2022, 00:27 Jean Abou Samra, wrote: > Le 16/11/2022 à 23:44, Luca Fascione a écrit : > > Hi all, > > is there a way to run the chord naming logic from two voices (in my > > case bass an

Chord names from two voices

2022-11-16 Thread Luca Fascione
that source Cheers Luca -- Luca Fascione

Re: Should \partial accept music instead of duration?

2022-03-20 Thread Luca Fascione
What if instead of `\upbeat` (which is weirdly named when used in the end-of-music/phrase/hymn/passage scenario) this new thing is just called `\partialMusic`? It's backward compatible, does something easy to use in some simple scenarios, leaves everything else in place for more refined use cases,

Re: Should \partial accept music instead of duration?

2022-03-20 Thread Luca Fascione
What if you rotate them instead? Rename the current \partial \partialDuration, convert.ly now is just s/partial/partialDuration/ and \partial always takes music from now on It's the same as Werner said, but keeps the good name L On Sun, 20 Mar 2022, 08:24 Werner LEMBERG, wrote: > > > A

Re: Setting up classical guitar fingerings

2022-03-06 Thread Luca Fascione
Hi Valentin, thanks for the super prompt reply! On Sun, Mar 6, 2022 at 5:34 PM Valentin Petzel wrote: > So instead of doing the assoc-set! you might want to do something like > > (ly:grob-set-property! grob 'details `((beamed-lengths . ,stem-bmlgths) > . ,detls)) > For my edification,

Re: Setting up classical guitar fingerings

2022-03-05 Thread Luca Fascione
want > to > know what exact properties a grob has, you can look in define-grobs.scm. > And > similar stuff. > > And if you encounter something you really do not understand, ask the list. > We’ve got some really marvellous people here who appear to know about > everything you mig

Re: Setting up classical guitar fingerings

2022-03-05 Thread Luca Fascione
"scm/". Vague pointers like that are hopefully all I'll need. Many thanks, Luca On Mon, Feb 21, 2022 at 6:49 PM Luca Fascione wrote: > Yes exactly, because of how our finger to note relation works, the > enhancement in readability with the indication right at the head is > e

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
t; rather confusing, as there is no monotonic relating between finger and > pitch. > As such I suppose guitar people would want to use fingerings with left or > right > orientations in chords anyway. > > Cheers, > Valentin > > Am Montag, 21. Februar 2022, 17:47:58 CET schrieb L

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
Petzel wrote: > No, not nescessarily. If we want all Fingerings on top or below there is > no real benefit of doing the chord thing. In fact doing that leads to the > exact same issue of the fingering for d being next to the other ones. > > Cheers, > Valentin > > 21.02.202

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
eam (this does still get messed up by > very > slanted Beams, it might be useful to also get a reference to the Beam grob > to > factor in the angle of the Beam). With this we can estimate the free space > between NoteHead and Beam, and depending on this space, shift the > Fingering &

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
rd some note heads are > on > the other side of the Stem the alignment of something like -1-2-3 > would > change (disregarding that it wouldn’t even be clear what note head to use). > > Cheers, > Valentin > > Am Montag, 21. Februar 2022, 09:19:30 CET schrieb Luca Fascione: > > Hi

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
Uhr schrieb Luca Fascione < > l.fasci...@gmail.com>: > > > a) I'm looking for a way to get the fingerings where I want them without > > using one-note-chord tricks > > Well, for Fingerings not in chord, like b-1 or -2-1 X-parent > is NoteColumn _not_ Note

Re: Setting up classical guitar fingerings

2022-02-20 Thread Luca Fascione
here. > > Valentin > > Am Sonntag, 20. Februar 2022, 21:17:31 CET schrieb Luca Fascione: > > So... would anybody be able to lend a hand here please? > > > > Many thanks > > Luca > > > > On Sat, Feb 12, 2022 at 7:49 PM Luca Fascione > wrote: > >

Re: Setting up classical guitar fingerings

2022-02-20 Thread Luca Fascione
ing steps a to f", I'm happy to have at it, under somebody's guidance. Given that solving this problem is a need of mine, I feel it's completely fine that it ends up being my cost to fix it, all I'm looking for is a few breadcrumbs. Thanks again, L On Sun, Feb 20, 2022 at 9:54 PM Jean Abou S

Re: Setting up classical guitar fingerings

2022-02-20 Thread Luca Fascione
So... would anybody be able to lend a hand here please? Many thanks Luca On Sat, Feb 12, 2022 at 7:49 PM Luca Fascione wrote: > Hello, > sorry for the double-post, I'm unsure whether this should go to -user or > -devel. > > I'm looking for some guidance to set up fingering on c

Re: LilyPond 2.23.6 released

2022-02-20 Thread Luca Fascione
Hi Thomas, maybe this can be handy: the `moreutils` package has a utility called `ts`, that will prepend a timestamp to each line of output. If you pipe the output of your compilation into it, you can get timing information quite easily, here's an example: % ls | ts -s "%H:%M:%.S" 00:00:00.13

Re: Fwd: Slash chords

2015-11-20 Thread Luca Fascione
\layout {} } %% You can see I have hardcoded the form of Cmaj7 to render as Cmaj7/B, but the spacing feels like a step in the right direction (admittedly the kerning could use work, but it feels like a reasonable compromise) I have attached the corresponding pdf I get, so you ca

Re: Fwd: Slash chords

2015-11-20 Thread Luca Fascione
> I have forwarded it there but I strongly suggest you subscribe at >> https://lists.gnu.org/mailman/listinfo/lilypond-user to automatically >> receive any replies. >> >> Best >> Urs >> >> Am 20.11.2015 um 10:46 schrieb LilyPond blog contact form: &g

Re: Fwd: Slash chords

2015-11-20 Thread Luca Fascione
ith the actual font, of > course, only with LilyPond’s default Sans font. So you’ll likely have to > adjust the numerical values in lines 6 and 27–29 to taste. See < > http://lilypond.org/doc/v2.18/Documentation/notation/text-markup-commands> > for documentation on the markup commands

Re: Fwd: Slash chords

2015-11-20 Thread Luca Fascione
Hi Simon, so this actually works rather well, I ended up taking the rotation out, as with the actual font you get a better sense of the nib direction with the original orientation of the solidus, nonetheless I do really like your suggestion of using a slightly larger size, I find it does help a