Re: Add interval to selection - Frescobaldi snippet

2018-03-23 Thread aeoleandust
Many thanks for the link, both lsr-snippets are quite useful indeed.

Ideally I had a Frescobaldi snippet/script in mind that would actually
change the written Lilypond text/file directly. So one could select some
music and press a hotkey to run a script which writes/replaces the selection
with the interval/chord.
Cheers




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Add interval to selection - Frescobaldi snippet

2018-03-22 Thread Thomas Morley
2018-03-22 16:22 GMT+01:00 aeoleandust :
> Hi there!
>
> I am looking for a Frescobaldi snippet/functionality (Pyhthon script I
> assume) that would add an interval to a selected note (or selection of
> notes/chords). Something similar to the transpose function that is
> integrated, but adding the transposition to existing music to form a chord.
>
> For example {c4 d e} with an added octave above would become {4 
> }
> or added major 3rd {4} become {4} etc.
> Other intervals like thirds would be slightly more complex in terms of
> enharmonic spelling, but that shouldn't be a problem, given that various
> transpose functions already exist in Frescobaldi.
>
> My Python skills are extremely limited unfortunately. Does anyone know how
> to achieve this (or does a snippet already exist)?
>
> Cheers
> Huddie



How about these lsr-snippets?

http://lsr.di.unimi.it/LSR/Item?id=445
http://lsr.di.unimi.it/LSR/Item?id=761

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Add interval to selection - Frescobaldi snippet

2018-03-22 Thread aeoleandust
Hi there!

I am looking for a Frescobaldi snippet/functionality (Pyhthon script I
assume) that would add an interval to a selected note (or selection of
notes/chords). Something similar to the transpose function that is
integrated, but adding the transposition to existing music to form a chord.

For example {c4 d e} with an added octave above would become {4 
}
or added major 3rd {4} become {4} etc.
Other intervals like thirds would be slightly more complex in terms of
enharmonic spelling, but that shouldn't be a problem, given that various
transpose functions already exist in Frescobaldi.

My Python skills are extremely limited unfortunately. Does anyone know how
to achieve this (or does a snippet already exist)? 

Cheers
Huddie



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user