home tune search software learn abc discuss about blog Starbound/LOTRO contact  

  [abc standard: home | current | route-map | updating | proposals]

 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
abc:standard:v2.1:proposals:transposition:v4 [2012/01/24 09:37]
cwalshaw
abc:standard:v2.1:proposals:transposition:v4 [2012/01/24 10:31]
cwalshaw
Line 26: Line 26:
     * ''​[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>​]]''​. 
   * ''​[instrument=<​key>​[<​octave>​]]''​ - when [[#writing abc code for transposing instruments]],​ the ''​instrument''​ modifier is used to indicate the transposing instrument that the abc code relates to. For more information see [[#writing abc code for transposing instruments]].   * ''​[instrument=<​key>​[<​octave>​]]''​ - when [[#writing abc code for transposing instruments]],​ the ''​instrument''​ modifier is used to indicate the transposing instrument that the abc code relates to. For more information see [[#writing abc code for transposing instruments]].
   * ''​[abc=sounding-pitch | written-pitch]''​ - when [[#writing abc code for transposing instruments]],​ the ''​pitch''​ modifier is used to indicate whether the abc code has been transcribed at sounding pitch or written pitch. For more information see [[#writing abc code for transposing instruments]].   * ''​[abc=sounding-pitch | written-pitch]''​ - when [[#writing abc code for transposing instruments]],​ the ''​pitch''​ modifier is used to indicate whether the abc code has been transcribed at sounding pitch or written pitch. For more information see [[#writing abc code for transposing instruments]].
Line 164: Line 163:
 == Enharmonic indicators for transposing instruments == == Enharmonic indicators for transposing instruments ==
  
-Enharmonic distinctions can be determined using the ''​shift'' ​variant ​and the [[#semitone shift table]].+Enharmonic distinctions can be assessed with the ''​shift'' ​modifiers ​and the [[#semitone shift table]] ​even if they have to be inferred.
  
-// Example: // The following ​two fields are identical ​and therefore the resulting score would be typeset as if the key signature were ''​K:​F#''​ rather than ''​K:​Gb''​.+// Example: // In the following, the ''​instrument=Bb''​ and ''​abc=sounding-pitch''​ modifiers imply ''​shift-score=+2'' ​and therefore the resulting score would be typeset as if the key signature were ''​K:​F#''​ rather than ''​K:​Gb''​. See [[#​enharmonic indicators]] for details.
   K:E instrument=Bb abc=sounding-pitch   K:E instrument=Bb abc=sounding-pitch
   K:E shift-score=+2   K:E shift-score=+2
   ​   ​
-To access other enharmonic choices, the ''​shift-score''​ (or ''​shift-sound''​) modifier should be used directly, although it can be used alongside the ''​instrument''​ and ''​pitch''​ modifiers (which are effectively ignored).+To access other enharmonic choices, the ''​shift-score''​ (or ''​shift-sound''​) modifier should be used directly.
  
-// Example: // In the following, the ''​shift-score=+2b''​ indicates that the resulting score should be typeset as if the key signature were ''​K:​Gb''​ rather than ''​K:​F#''​ (although this would be an unusual way to write for a Bb instrument):+// Example: // In the following, the ''​shift-score=+2b''​ indicates that the resulting score should be typeset as if the key signature were ''​K:​Gb''​ rather than ''​K:​F#''​ (although this would be a very unusual way to write for a Bb instrument). See [[#​enharmonic indicators]] for details.
   K:E instrument=Bb abc=sounding-pitch shift-score=+2b   K:E instrument=Bb abc=sounding-pitch shift-score=+2b
   ​   ​
 == Transposition for transposing instruments == == Transposition for transposing instruments ==
  
-If the ''​I:​transpose''​ directive is used for a tune which has one or more voices written for transposing instruments,​ then the transposition is combined with the transposing instrument by adding ​together ​the equivalent ''​shift-score''​ and ''​shift-sound''​ modifiers.+If the ''​I:​transpose''​ directive is used for a tune which has one or more voices written for transposing instruments,​ then the transposition is combined with the transposing instrument by adding the equivalent ''​shift-score''​ and ''​shift-sound''​ modifiers ​into the existing ''​shift''​ modifiers used to specify transposing instrument (even if they have to be inferred).
  
 // Example: // Consider the following excerpt: // Example: // Consider the following excerpt:
Line 184: Line 183:
   K:C   K:C
   CDEF|   CDEF|
-The ''​I:​transposition 7''​ directive is equivalent to applying ''​shift-score=7''​ and ''​shift-sound=7''​ to every key signature. Meanwhile the ''​instrument=Bb abc=sounding-pitch''​ implies ''​shift-sound=2''​. The excerpt above is therefore equivalent to the following ​(since ​the ''​instrument''​ and ''​abc''​ modifiers no longer make sense)+The ''​I:​transposition 7''​ directive is equivalent to applying ''​shift-score=7''​ and ''​shift-sound=7''​ to every key signature ​(see [[#​transposition of a tune file|transposition of a tune / file]]. Meanwhile the ''​instrument=Bb abc=sounding-pitch''​ implies ''​shift-sound=2''​. The excerpt above is therefore equivalent to the following, where the two ''​shift-score''​ modifiers are added together to give 9 and the ''​instrument''​ and ''​abc''​ modifiers ​are omitted since they no longer make sense: 
-  V:clarinet shift-score=9 shift-sound=2+  V:clarinet shift-score=9 shift-sound=7
   K:C   K:C
   CDEF|   CDEF|
Line 193: Line 192:
 == Extracting a score in sounding / concert pitch == == Extracting a score in sounding / concert pitch ==
  
-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=<​semitones>​''​ modifiers as if they were ''​shift-sound=<​semitones>''​ and ''​shift-score=<​semitones>​''​.
  
 // Example: // The following excerpts will be treated identically by both playback and typesetting software and will produce a typeset score at //sounding pitch// (the sound output is already at //sounding pitch// and so is unaffected). // Example: // The following excerpts will be treated identically by both playback and typesetting software and will produce a typeset score at //sounding pitch// (the sound output is already at //sounding pitch// and so is unaffected).
Line 199: Line 198:
   ...   ...
   V:clarinet 1   V:clarinet 1
-  K:D shift-sound=-2 ​% transcribed at written pitch+  K:D instrument=Bb abc=written-pitch % implies ​shift-sound=-2
   DEFG|   DEFG|
   V:clarinet 2   V:clarinet 2
-  K:C shift-score=2 ​ % transcribed at sounding pitch+  K:C instrument=Bb abc=sounding-pitch % implies ​shift-score=2
   CDEF|   CDEF|
  
   V:clarinet 1   V:clarinet 1
-  K:D shift-both=-2+  K:D shift-sound=-2 shift-score=-2
   DEFG|   DEFG|
   V:clarinet 2   V:clarinet 2
abc/standard/v2.1/proposals/transposition/v4.txt · Last modified: 2012/01/27 18:14 by cwalshaw
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki