Convert chord mode into multi-voice mode

2024-12-20 Thread Frédéric
Hi, I want to adapt a piano score for a small set of instruments. The right hand is already written as a set of chords with 2 notes ... Is there a way to turn it into a set of 2 voices { a b } \\ { c' d' }? Thanks, F

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Raphael Mankin
On 20/12/2024 12:18, Frédéric wrote: Hi, I want to adapt a piano score for a small set of instruments. The right hand is already written as a set of chords with 2 notes ... Is there a way to turn it into a set of 2 voices { a b } \\ { c' d' }? Thanks, F I would use a little perl or python s

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Silvain Dupertuis
I guess this could be programmed with Scheme, But there is a possibility to use regular expressions in a text editor or wordprocessor to extract sequentially the 1st then the 2nd voice. Search text Replace string Left part of the chords <([^\s]+)\s[^\s]+>([0-9\.]*)

Re: how to modify `afterGraceFraction` mid-score?

2024-12-20 Thread David Kastrup
Werner LEMBERG writes: (Of course, the current implementation of afterGrace makes this comparatively hard to achieve, since the fraction is used for determining the length of a skip IIRC.) >>> >>> ...and came to the conclusion that a global variable is the easiest >>> solution :-)

Function for Chords in Header

2024-12-20 Thread Kale Good
Hello List, I'm trying to create multiple guitar lead sheets with a "chord summary", including fretboards, in the header. The cleanest way I could think to do this was to use a function. I've created a function that creates what I'm looking for outside of a markup block. Used inside of a mar

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Kieren MacMillan
Hi Frédéric, > I want to adapt a piano score for a small set of instruments. The > right hand is already written as a set of chords with 2 notes > ... Is there a way to turn it into a set of 2 voices { a b } \\ > { c' d' }? Maybe Frescobaldi has a function/script that does this? Cheers, Kieren.

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Knute Snortum
On Fri, Dec 20, 2024 at 5:39 AM Raphael Mankin wrote: > > > On 20/12/2024 12:18, Frédéric wrote: > > Hi, > > I want to adapt a piano score for a small set of instruments. The > > right hand is already written as a set of chords with 2 notes > > ... Is there a way to turn it into a set of 2 voice

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Knute Snortum
On Fri, Dec 20, 2024 at 7:17 AM Kieren MacMillan < kie...@kierenmacmillan.info> wrote: > Hi Frédéric, > > > I want to adapt a piano score for a small set of instruments. The > > right hand is already written as a set of chords with 2 notes > > ... Is there a way to turn it into a set of 2 voices

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Frédéric
Thank you all. I wanted to know if there was already something available but I will build a python script for it. I'm also under Linux and pretty used to that. Here is an example of input: lower = \relative f, { \key f \major \time 4/4 2 r | r | 1 | 2 r | 1 | 2 | r | 2. 4 | 1 | |

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread Knute Snortum
On Fri, Dec 20, 2024 at 1:08 PM Frédéric wrote: > Thank you all. I wanted to know if there was already something > available but I will build a python script for it. I'm also under > Linux and pretty used to that. > > Here is an example of input: > lower = \relative f, { > \key f \major > \time

Re: Convert chord mode into multi-voice mode

2024-12-20 Thread David Wright
On Fri 20 Dec 2024 at 13:40:48 (-0800), Knute Snortum wrote: > Since you're going to write a Python script, I figure I can share what I've > done so far on mine. It uses python-ly so you need to do a `pip install > python-ly` first before you run it. It makes three very big assumptions: > > 1) T