home | tune search | software | learn abc | discuss | about | blog | Starbound/LOTRO | contact |
[abc standard: home | current | route-map | updating | proposals]
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
abc:standard:v2.1:proposals:transposition:v11 [2014/06/17 10:08] cwalshaw |
abc:standard:v2.1:proposals:transposition:v11 [2014/06/18 09:50] cwalshaw [13.1 Transposition operators] |
||
---|---|---|---|
Line 83: | Line 83: | ||
K:G shift=CG | K:G shift=CG | ||
- | The optional ''+'' symbol (e.g. ''shift=+<note1><note2>'') has the effect of combining with, rather than overriding, existing transposition and is mainly intended for use with whole file transpositions - see [[#transposing a file]]. | + | The optional ''+'' symbol (e.g. ''shift=+<note1><note2>'') has the effect of combining with, rather than overriding, existing transposition and is mainly intended for use with whole file transpositions - see [[#transposing a file]]. Combining shifts are never inherited by subsequent ''K:'' and ''V:'' fields - instead the combined shift is inherited. |
- | Shift operators are applied to notes, grace notes, chords and key signatures. | + | // Example: // The following two excerpts are equivalent. In the former, the ''shift'' modifiers for the first ''V:'' field combine to give ''shift=CG'' which is then inherited by the second ''V:'' field (since it is in the same voice); it is also inherited by the third ''V:'' field, but is overridden. The latter excerpt just includes the ''shift'' explicitly for comparison. |
+ | V:1 shift=CD shift=+DG | ||
+ | V:1 | ||
+ | V:1 shift=CD | ||
+ | |||
+ | V:1 shift=CG | ||
+ | V:1 shift=CG | ||
+ | V:1 shift=CD | ||
+ | |||
+ | All shift transposition are applied to notes, grace notes, chords and key signatures. | ||
Note: The interval system is clear with regard to enharmonics so, for example, the interval ''C'' to ''_G'' is distinct from ''C'' to ''^F''. However, to compute transpositions it may be helpful to use the MusicXML concept of specifying the interval as a combination of diatonic steps and semitones. Both of these can be easily calculated and make it simple to work out what the resulting note is using the diatonic steps to give the letter and the semitones to indicate whether it is flat, natural or sharp. | Note: The interval system is clear with regard to enharmonics so, for example, the interval ''C'' to ''_G'' is distinct from ''C'' to ''^F''. However, to compute transpositions it may be helpful to use the MusicXML concept of specifying the interval as a combination of diatonic steps and semitones. Both of these can be easily calculated and make it simple to work out what the resulting note is using the diatonic steps to give the letter and the semitones to indicate whether it is flat, natural or sharp. |