lilypond-user
[Top][All Lists]
Advanced

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

Re: state-of-the-art multi-instrumental/transposing mechanism


From: Urs Liska
Subject: Re: state-of-the-art multi-instrumental/transposing mechanism
Date: Mon, 6 Mar 2017 00:26:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Hi Kieren,

admittedly it's too late for me right now to properly understand the
issue but I wanted to direct you to Jan-Peter's
https://github.com/openlilylib/snippets/tree/master/editorial-tools/auto-transpose,
not knowing if it's even *related* to your question.

Best
Urs

Am 06.03.2017 um 00:13 schrieb Kieren MacMillan:
> Hi all,
>
> Inspired by the “tweaking clefs” thread, I’m trying again to see if we can 
> crowd-source a state-of-the-art multi-instrumentalist mechanism.
>
> The snippet below (minimal, for these purposes?) demonstrates the problem I’m 
> trying to solve.
>
> Am I just being too optimistic in hoping that we can find a [relatively] 
> dead-simple solution, one that doesn’t require:
>   1. the music being broken up into variables and knitted back together;
>   2. multiple (and often redundant key signatures/changes and 
> \transpose-itions;
>   etc.
> ??
>
> Has someone already invented this wheel, and I just don’t know about it?
>
> Thanks,
> Kieren.
>
> %%%  SNIPPET BEGINS
> \version "2.19.56"
>
> \paper { line-width = 6\in }
>
> flute = {
>     \set Staff.instrumentName = "Flute"
>     \set Staff.shortInstrumentName = "Fl."
>     \transposition c
> }
> altoflute = {
>     \set Staff.instrumentName = "Alto Flute"
>     \set Staff.shortInstrumentName = "A. Fl."
>     \transposition g
> }
> toF = \markup "take flute"
> toAF = \markup "take alto flute"
>
> global = {
>     \key c \major s1 \break
>     \key d \major s1 \break
>     \key e \major s1 \break
> }
>
> flutepart = {
>     \flute
>     a'2 r^\toAF
>     \altoflute
>     a'2 r^\toF
>     \flute
>     a'2 r
> }
> flutepart_tr = {
>     \key c \major
>     \flute
>     a'2 r^\toAF \break
>     \altoflute
>     \transpose c f { \key d \major a'2 r^\toF } \break
>     \flute
>     \key e \major
>     a'2 r
> }
>
> \markup \bold "C score:"
> \score {
>     \new Staff << \global \flutepart >>
> }
>
> \markup \vspace #4
> \markup \bold "Transposed score/part (incorrect):"
> \score {
>     \new Staff << \global \flutepart >>
> }
>
> \markup \vspace #4
> \markup \bold "Transposed score/part SHOULD look like:"
> \score {
>     \new Staff \flutepart_tr
> }
> %%%  SNIPPET ENDS
>
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: address@hidden
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

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