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
Last revision Both sides next revision
abc:standard:v2.1:proposals:transposition:v11 [2014/06/17 09:58]
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.
Line 242: Line 251:
   * One mechanism missing from the proposal is allowing provision for clefs which change between a concert pitch score its written pitch counterpart. However, since transposing instruments are always typeset at written pitch (except when ''​I:​concert-score''​ is present), that means we just need something like ''​concert-clef=treble''​ (which would only apply when ''​I:​concert-score''​ is present) to handle this.   * One mechanism missing from the proposal is allowing provision for clefs which change between a concert pitch score its written pitch counterpart. However, since transposing instruments are always typeset at written pitch (except when ''​I:​concert-score''​ is present), that means we just need something like ''​concert-clef=treble''​ (which would only apply when ''​I:​concert-score''​ is present) to handle this.
  
-A recurring question is whether independent ''​shift-score''​ and ''​shift-sound''​ modifiers are actually necessary. I have discussed this separately in [[abc:​standard:​v2.1:​proposals:​transposition:​independent-shift-use-case|the independent shift use case]].+A recurring question is whether independent ''​shift-score''​ and ''​shift-sound''​ modifiers are actually necessary. I have discussed this separately in [[abc:​standard:​v2.1:​proposals:​transposition:​independent-shift-use-case|the independent-shift use-case]].
  
 The other question that has arisen is whether the ''​instrument''​ modifier should be instructive or declarative (i.e. instructing abc software to do something as opposed to declaring some information which the software can act on if another instruction,​ such as "​create a written pitch score",​ is present). The argument for the latter is that the English syntax is declarative (since instrument is a noun rather than a verb). The other question that has arisen is whether the ''​instrument''​ modifier should be instructive or declarative (i.e. instructing abc software to do something as opposed to declaring some information which the software can act on if another instruction,​ such as "​create a written pitch score",​ is present). The argument for the latter is that the English syntax is declarative (since instrument is a noun rather than a verb).
abc/standard/v2.1/proposals/transposition/v11.txt · Last modified: 2014/06/18 09:54 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