chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / docs / uguide / trnspose.html
CommitLineData
fac14bbe
MW
1<HTML>
2<HEAD><TITLE>
3Transposition
4</TITLE></HEAD>
5<BODY>
6<P>
7&nbsp;&nbsp;&nbsp;<A HREF="cadenza.html">&lt;-- previous page</A>
8
9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="verses.html">next page --&gt;</A>
10</P>
11
12<H2>
13Transposition
14</H2>
15<P>
16The
17<A HREF="param.html#xpose">transpose</A>
18and
19<A HREF="param.html#addxpose">addtranspose</A>
20parameters
21can be used to transpose the pitches for a staff or the whole score.
22The following table shows what transposition values to use for different
23intervals.
24<TABLE BORDER=4>
25<TR>
26<TD><B>halfsteps</B></TD> <TD><B>tranposition</B></TD> <TD><B>alternate transposition</B></TD>
27</TR>
28<TR>
29<TD>0</TD> <TD>perfect 1</TD> <TD>diminished 2</TD>
30</TR>
31<TR>
32<TD>1</TD> <TD>augmented 1</TD> <TD>minor 2</TD>
33</TR>
34<TR>
35<TD>2</TD> <TD>major 2</TD> <TD>diminished 3</TD>
36</TR>
37<TR>
38<TD>3</TD> <TD>augmented 2</TD> <TD>minor 3</TD>
39</TR>
40<TR>
41<TD>4</TD> <TD>major 3</TD> <TD>diminished 4</TD>
42</TR>
43<TR>
44<TD>5</TD> <TD>augmented 3</TD> <TD>perfect 4</TD>
45</TR>
46<TR>
47<TD>6</TD> <TD>augmented 4</TD> <TD>diminished 5</TD>
48</TR>
49<TR>
50<TD>7</TD> <TD>perfect 5</TD> <TD>diminished 6</TD>
51</TR>
52<TR>
53<TD>8</TD> <TD>augmented 5</TD> <TD>minor 6</TD>
54</TR>
55<TR>
56<TD>9</TD> <TD>major 6</TD> <TD>diminished 7</TD>
57</TR>
58<TR>
59<TD>10</TD> <TD>augmented 6</TD> <TD>minor 7</TD>
60</TR>
61<TR>
62<TD>11</TD> <TD>major 7</TD> <TD>diminished 8</TD>
63</TR>
64</TABLE>
65
66</P>
67<P>
68This table continues in a similar way for intervals beyond an octave.
69For each number of halfsteps you want to transpose, there
70is more than one way the
71<A HREF="param.html#xpose">transpose</A>
72and
73<A HREF="param.html#addxpose">addtranspose</A>
74parameters can be
75specified, as shown by this table. This allows to you control
76whether a sharp key or a flat key is to be used in cases where there is
77a choice. For example, if the key signature has three sharps, and you
78want to transpose up two halfsteps, you could say either
79<BR><PRE>
80 transpose = up maj 2
81</PRE><BR>
82or
83<BR><PRE>
84 transpose = up dim 3
85</PRE><BR>
86The first will result in a key of five sharps, and the second will
87result in seven flats. These are equivalent keys; in major for
88example, they are B and C flat, which are the same note. It is up to
89you to choose the way you would like it to be printed.
90But no key is allowed to have more than seven sharps or flats, so in
91most cases only one of the ways will result in a valid key, and the
92other way will result in an error message.
93</P>
94<P>
95The transpose and addtranspose parameters are allowed
96in score and staff contexts, so they can
97be set to different values on different staffs, and on the score as a whole.
98This is useful for printing scores where some of the instruments are
99transposing instruments (like B-flat clarinet).
100You can set the transpose parameter on specific staffs to appropriate
101values for the transposing instruments. Then if you decide you want to
102move the entire score to a new key, you can set the addtranspose parameter
103in score context.
104You can enter all the music at true pitch, but print the score and/or
105the individual parts with the correct transposition.
106</P>
107<P>
108Another use for setting different transposition values is the following
109trick, useful in guitar music for printing both the real chords and chords
110for capo.
111Say, for example, you have a song that is in B flat, but the guitar is
112to use a capo on the third fret, and play in the key of G.
113You could define the following macro to print both versions of a chord,
114the capo version above the real version:
115<BR><PRE>
116define CHORD(COUNT, NAME)
117
118 bold chord all: COUNT `NAME`; // chord for capo
119 ital(8) chord 1: COUNT `NAME`; // real chord
120@
121</PRE><BR>
122Then, set these transpositions:
123<BR><PRE>
124score transpose = down minor 3 // transpose score for capo
125staff 1 transpose = up perfect 1 // override score transposition
126</PRE><BR>
127and similarly for any other staffs.
128Then, wherever you want to print a chord, say (for example)
129<BR><PRE>
130CHORD(3,Dm)
131</PRE><BR>
132This will print both versions of the chord above count 3 of the measure.
133For the top chord it will transpose this to Bm, the capo chord.
134For the bottom chord it will leave it as Dm, the real chord.
135</P>
136<HR><P>
137&nbsp;&nbsp;&nbsp;<A HREF="cadenza.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="verses.html">next page --&gt;</A>
138</P>
139</BODY></HTML>