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 Next revision | Previous revision | ||
abc:standard:v2.1:proposals:transposition:v3 [2012/01/20 17:40] cwalshaw |
abc:standard:v2.1:proposals:transposition:v3 [2012/01/20 17:47] (current) cwalshaw |
||
---|---|---|---|
Line 8: | Line 8: | ||
* Whether to deprecate ''transpose='' | * Whether to deprecate ''transpose='' | ||
* The ''I:transposition'' directive | * The ''I:transposition'' directive | ||
- | * All the //TODO// indicators below | + | * All of the //TODO// indicators below |
* Other suggestions made on the abcusers mailing list | * Other suggestions made on the abcusers mailing list | ||
Line 22: | Line 22: | ||
// ... unchanged ... // | // ... unchanged ... // | ||
- | * ''[shift-<type>=<semitones>[<enharmonic indicator>]]'' - the shift modifiers are provided for transposition and transposing instruments. They shift either the sound or the typeset score in the current voice by the number of semitones indicated; positive numbers shift up, negative down. The ''<enharmonic indicator>'' can optionally be used to clarify which key is meant - for more details see [[#enharmonic indicators|enharmonic indicators]]. | + | * ''[shift-<type>=<semitones>[<enharmonic indicator>]]'' - the ''shift'' modifiers are provided for transposition and transposing instruments. They shift either the sound or the typeset score in the current voice by the number of semitones indicated; positive numbers shift up, negative down. The ''<enharmonic indicator>'' can optionally be used to clarify which key is meant - for more details see [[#enharmonic indicators|enharmonic indicators]]. |
* ''[shift-sound=<semitones>[<enharmonic indicator>]]'' - for playback, shift the sound in the current voice. This setting does not affect the typeset score. | * ''[shift-sound=<semitones>[<enharmonic indicator>]]'' - for playback, shift the sound in the current voice. This setting does not affect the typeset score. | ||
* ''[shift-score=<semitones>[<enharmonic indicator>]]'' - for typesetting, shift the typeset score in the current voice. This setting does not affect playback. | * ''[shift-score=<semitones>[<enharmonic indicator>]]'' - for typesetting, shift the typeset score in the current voice. This setting does not affect playback. | ||
* ''[shift-both=<semitones>[<enharmonic indicator>]]'' - for typesetting and playback, combines both and is equivalent to ''[shift-sound=<semitones>[<enharmonic indicator>]] [shift-score=<semitones>[<enharmonic indicator>]]''. | * ''[shift-both=<semitones>[<enharmonic indicator>]]'' - for typesetting and playback, combines both and is equivalent to ''[shift-sound=<semitones>[<enharmonic indicator>]] [shift-score=<semitones>[<enharmonic indicator>]]''. | ||
- | * ''[instrument=<key>[<octave>]] [pitch=sounding | written]'' - aid with [[#writing abc code for transposing instruments]] by mimicking typical verbal usage for such instruments and act as aliases for ''shift-sound'' and ''shift-score''. For more information see [[#writing abc code for transposing instruments]]. | + | * ''[instrument=<key>[<octave>]] [pitch=sounding | written]'' - the ''instrument'' and ''pitch'' modifiers aid with [[#writing abc code for transposing instruments]] by mimicking typical verbal usage for such instruments and act as aliases for ''shift-sound'' and ''shift-score''. For more information see [[#writing abc code for transposing instruments]]. |
// ... unchanged ... // | // ... unchanged ... // | ||
Line 34: | Line 34: | ||
For more details about transposition and how the ''shift'' modifiers may be used see [[#transposition of a tune file|transposition of a tune / file]], [[#enharmonic indicators]] and [[#writing abc code for transposing instruments]]. For more details about ''instrument'' and ''pitch'' see [[#writing abc code for transposing instruments]]. | For more details about transposition and how the ''shift'' modifiers may be used see [[#transposition of a tune file|transposition of a tune / file]], [[#enharmonic indicators]] and [[#writing abc code for transposing instruments]]. For more details about ''instrument'' and ''pitch'' see [[#writing abc code for transposing instruments]]. | ||
- | // TODO: // Here or elsewhere, clarify how the ''shift'' modifiers affect the clef - see messages [[#http://tech.groups.yahoo.com/group/abcusers/message/6316|6316]] and [[http://tech.groups.yahoo.com/group/abcusers/message/6324|6324]]. | + | // TODO: // Here or elsewhere, clarify how the ''shift'' modifiers affect the clef - see messages [[http://tech.groups.yahoo.com/group/abcusers/message/6316|6316]] and [[http://tech.groups.yahoo.com/group/abcusers/message/6324|6324]]. |
// ... unchanged ... // | // ... unchanged ... // | ||
Line 219: | Line 219: | ||
// TODO: // Decide a sensible rule for combining enharmonic indicators - e.g. what happens if you combine ''shift-score=6#'' with ''shift-score=11b''? | // TODO: // Decide a sensible rule for combining enharmonic indicators - e.g. what happens if you combine ''shift-score=6#'' with ''shift-score=11b''? | ||
| | ||
- | === 4.6.4 Shift directives === | + | == Extracting a score in sounding / concert pitch == |
- | + | ||
- | == Shift to-sounding == | + | |
When included in the tune header (or even the file header) the ''I:shift to-sounding'' directive can be used to typeset a complete score (or even all the scores in a file) at //sounding pitch//. To accomplish this it effectively ignores all of the ''shift-score'' modifiers and treats all of the ''shift-sound'' modifiers as if they were ''shift-both''. | When included in the tune header (or even the file header) the ''I:shift to-sounding'' directive can be used to typeset a complete score (or even all the scores in a file) at //sounding pitch//. To accomplish this it effectively ignores all of the ''shift-score'' modifiers and treats all of the ''shift-sound'' modifiers as if they were ''shift-both''. |