lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add interval to selection - Frescobaldi snippet


From: aeoleandust
Subject: Add interval to selection - Frescobaldi snippet
Date: Thu, 22 Mar 2018 08:22:28 -0700 (MST)

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 {<c c'>4 <d d'>
<e e'>}
or added major 3rd {<c c'>4} become {<c c' e'>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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]