Open joeberkovitz opened 7 years ago
This is possible. It's also possible we could use cents, since many temperaments have been analyzed in terms of that unit (I realize it's just a matter of where the decimal point goes)
An equally tempered semitone is equal to 100 cents. Therefore, as you noted, using cents or decimal semitones is just displacing the decimal point.
Adding something (i.e. a character at the end) to encode the type of units (cents or semitones) would complicate exporters and parsers with no real gain. So I would vote for allowing only one type of units in the standard, either cents or semitones.
I totatally agree with you, cecilios.
I am commenting here to bring this back up to the top of the recently-commented list, since some of the discussion in #138 has to do with how to do pitch representation, both in pitch-spelling and (as this seems to be) sounding-pitch. Finding a better way to represent microtones than the four different methods in the current spec seems important to me!
Using MIDI-cent (60.5) or SPN-cent(C4.5) notation seems to be up there.
--Christina
@cecilios said
I would vote for allowing only one type of units in the standard, either cents or semitones.
Agreed.
In #138, we are currently assuming that <note>
is going to have a separate (optional) sounding
attribute that would determine its frequency. The frequency information can't be located in the (graphic) pitch
information since it depends on external state information (the parser's current key, transposition and measure state). The <note>
's sounding
attribute, if it exists, would override the frequency calculated using the pitch
attribute and the current state of the parser.
This simplifies things considerably, since the pitch
attribute no longer has to contain both graphical and temporal information (as in this issue's opening comment).
@clnoel raises the question of whether we should use MIDI-cent (60.5) or SPN-cent(C4.5) notation. I have a clear preference for the first of these.
From @mogenslundholm:
Would it [be possible to] write:
<note pitch="C4+4,98044999134613"/>
? The tone<note pitch="F4-0,01955000865387"/>
will give same result. Refer to "MNX Proposal Overview": 5.3.10. Pitch encoding(The alter values written by plus- or minus-sign are in half steps, i.e. 12 halftones per octave. And 12*log2(4/3)=4,98044999134613).