[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deprecation of instrumentCueName and instrument switch stuffs
From: |
Werner LEMBERG |
Subject: |
Re: Deprecation of instrumentCueName and instrument switch stuffs |
Date: |
Wed, 14 Dec 2022 17:32:18 +0000 (UTC) |
>> Please show (images of) typical examples of what you want to see.
>> I can imagine that such a feature would be worth adding.
Do you want this?
```
\version "2.23.14"
global = {
%% v1
\key c \major
s1*4
\bar "||"
%% v2
\key d \major
s1*4
\bar "|."
}
%% NOTE:
%% All instrument music is written in absolute mode and concert pitch.
flute = {
%% v1
e''4 d'' c'' d''
e''4 4 2
d''4 4 2
e''4 g''4 2
%% v2
R1*4
}
\addQuote "flute" \flute
altosax = {
%% v1
R1*4
%% v2
fis''4 e'' d'' e''
fis''4 4 2
e''4 4 2
fis''4 a''4 2
}
\addQuote "altosax" \altosax
%% WIND PLAYER’S COMBINED MUSIC
%% yes, I know they can’t switch instruments this fast... ;)
windplayer = {
%% v1
<>^\markup "Flute"
\transposedCueDuring "flute" #UP c' { s1*4 }
%% v2
<>^\markup "Alto Sax"
\transposedCueDuring "altosax" #UP c' { s1*4 }
}
%% SCORE (CONCERT PITCH)
%% This is easy: just use the stitched “quoted” parts.
\score {
\new Staff = "wind doubler" \new Voice << \global \windplayer >>
}
%% PART (TRANSPOSED)
%% What’s the least amount of work required
%% to make this transposed part, with correct key signature?
\score {
\new Staff = "wind doubler"
\new Voice \transpose bes c' << \global \windplayer >>
}
```
Werner

Re: Deprecation of instrumentCueName and instrument switch stuffs, Kieren MacMillan, 2022/12/14
Re: Deprecation of instrumentCueName and instrument switch stuffs, Xavier Scheuer, 2022/12/30