Re: Polyphonic piano writing - beam directions

2023-08-08 Thread William Rehwinkel via LilyPond user discussion
Dear Jin, In the future, it will be helpful to include a minimum working example, so we can get a better idea of what step you are at, and what exactly the problem is, so we can modify the code more directly. For writing cross-staff beams, you can use \voiceOne when the notes go to the botto

Polyphonic piano writing - beam directions

2023-08-08 Thread Jin Choi
I’m trying to transcribe a piano piece (Rachmaninoff 3 first mvt) that has several sections that are most easily written as polyphonic passages with different voices. As an example, from https://s9.imslp.org/files/imglnks/usimg/5/59/IMSLP248685-SIBLEY1802.18602.bfe9-39087009348535score.pdf, s

Re: A query about tablature

2023-08-08 Thread Jean Abou Samra
Le mardi 08 août 2023 à 20:26 +0200, David Kastrup a écrit : > Given that ly:music-deep-copy is written in C++, I doubt better > efficiency. Well, most of the case it probably won't matter, but I could imagine using it to turn a quadratic algorithm into a linear one in advanced cases. (Or just

Re: A query about tablature

2023-08-08 Thread David Kastrup
Jean Abou Samra writes: > Le mardi 08 août 2023 à 19:53 +0200, Lukas-Fabian Moser a écrit : >> Yes, sure, that's what I did in my code for Alasdair. But I was more  >> wondering whether or not RhythmicStaves (RhythmicStaff's?) should do >> this automatically. >> >> By the way, I didn't know abo

Re: A query about tablature

2023-08-08 Thread Jean Abou Samra
Le mardi 08 août 2023 à 19:53 +0200, Lukas-Fabian Moser a écrit : > Yes, sure, that's what I did in my code for Alasdair. But I was more  > wondering whether or not RhythmicStaves (RhythmicStaff's?) should do > this automatically. > > By the way, I didn't know about music-clone. What's its advant

Re: A query about tablature

2023-08-08 Thread Lukas-Fabian Moser
Hi David, Am 08.08.23 um 15:26 schrieb David Kastrup: As a side remark: In order to put music into a RhythmicStaff, one doesn't even have to remove the pitches, they will just be ignored. But I noticed yesterday that LilyPond does not behave very well with chords in that situation: \version "2.

Re: Need help displaying note names in 2.22

2023-08-08 Thread Viktor Mastoridis
Dear all, Thank you very much for the time taken to comment on my problem. I tried all the suggestions one by one - the best solution was to upgrade to Lilypond 2.24 (much easier than I thought) and to use Jean's code below: \version "2.24.1" \layout { \context { \NoteNames noteNameFu

Re: A query about tablature

2023-08-08 Thread David Kastrup
Lukas-Fabian Moser writes: > As a side remark: In order to put music into a RhythmicStaff, one > doesn't even have to remove the pitches, they will just be > ignored. But I noticed yesterday that LilyPond does not behave very > well with chords in that situation: > > \version "2.24.0" > > mus = {

Re: A query about tablature

2023-08-08 Thread Alasdair McAndrew
Many thanks for the link - I'll check it out. Lukas-Fabian's functions work very well, though. cheers, Alasdair On Tue, 8 Aug 2023 at 19:39, Thomas Morley wrote: > Am Di., 8. Aug. 2023 um 11:14 Uhr schrieb Lukas-Fabian Moser : > > > > Hi Alasdair, > > > > > Thank you very much - that is quite

Re: A query about tablature

2023-08-08 Thread Alasdair McAndrew
Dear Lukas-Fabian, I just ran your example through Frescobaldi, and it worked like a charm. I like it very much, and I'll use it with great pleasure! I do think you should follow through on your idea of placing this in an LSR snippet so that everybody (the no doubt thousands of people desperatel

Re: A query about tablature

2023-08-08 Thread Thomas Morley
Am Di., 8. Aug. 2023 um 11:14 Uhr schrieb Lukas-Fabian Moser : > > Hi Alasdair, > > > Thank you very much - that is quite amazing! > You're very welcome. > > But it does show what I have long suspected: that without some extra > > programming, Lilypond does not have a current facility to extract th

Re: A query about tablature

2023-08-08 Thread Lukas-Fabian Moser
Hi Alasdair, Thank you very much - that is quite amazing! You're very welcome. But it does show what I have long suspected: that without some extra programming, Lilypond does not have a current facility to extract the rhythm from a music definition.  All of the tablatures I've seen in Lilypo