|
From: | Peter Gentry |
Subject: | RE: : Re: transpose range |
Date: | Mon, 26 Jun 2017 12:35:59 +0100 |
You will need to modify the attach file (instrument_ranges.ly) since you are only interested in one instrument. A numeric pitch can be constructed from three components of the lilypond pitch p
The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n 2) (/ a 2))) “op is a unique number representing the pitch of the note” The procedure contains the instrument ranges as numeric pitches derived as above. See ;; clarinet range e to f#' -1 2 0 to 2 3 0 (-10 to 35) The current pitch is compared with the ranges and the octave increased/decreased as needed to bring the pitch into the range. The note head and colour is modified to make all the changes visible on the score. You can prune the procedure or add your instrument. To call the procedure At top of the music file \include "./instrument_ranges.ly" (assumes the file is in the includes folder specified in Frescobaldi properties) In a score block \score { { \naturalizeInstrumentRange "flute" { \include "Boufill_Op8No3_Cc_M2_L1.ly" } } (or sequential music) } } % end of score block I hope this helps. From: Gianmaria Lari [mailto:address@hidden Yes, I'm very much interested. I will use it with left hand bass note for standard bass accordion notation; for that we use only one octave range so jump are normal. Have a look to the attached file in case you want understand better.... Thanks a lot, g. On 25 June 2017 at 13:58, Peter Gentry <address@hidden> wrote:
|
instrument_ranges.ly
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |