W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: [css3-speech] voice-pitch

From: Daniel Weck <daniel.weck@gmail.com>
Date: Thu, 14 Jul 2011 19:23:31 +0100
Message-Id: <ED0C467D-9BF4-4BDC-9226-DD51D6910E41@gmail.com>
To: www style <www-style@w3.org>, Alan Gresley <alan@css-class.com>, fantasai <fantasai.lists@inkedblade.net>
Here's my proposal:

A semitone interval corresponds to the step between each note on a equal temperament chromatic scale. A semitone can therefore be quantified as the difference between two consecutive pitch frequencies on such scale. The ratio between two consecutive frequencies separated by exactly one semitone is the twelfth root of two (approximately 1.05946). As a result, the value in Hertz corresponding to a semitone offset is relative to the initial frequency the offset is applied to (in other words, a semitone doesn't correspond to a fixed numerical value in Hertz).

On 14 Jul 2011, at 18:12, Daniel Weck wrote:

> On 14 Jul 2011, at 15:57, Alan Gresley wrote:
>> | <semitones>
>> | Specifies a relative change (decrement or increment)
>> | to the inherited value. The syntax of allowed values
>> | is a <number> followed immediately by "st" (semitones).
>> | A semitone is half of a tone (a half step) on the
>> | standard diatonic scale. As such, a semitone doesn't
>> | correspond to a fixed frequency: the ratio between
>> | two consecutive frequencies separated by exactly one
>> | semitone is the twelfth root of two
>> | (approximately 1.05946).
>> The above does not quite sound correct. Part of what the WD says above concerning the 'twelfth root of two' [1] is actually the ratio scaling of the 'chromatic scale' [2] with has all steps a semitone apart and an even ratio increase/decrease in hertz. The 'diatonic scale' does not have this even scaling and it only has seven steps 'T-T-S-T-T-T-S'.
> The formulation can be improved indeed (lifted straight from the SSML specification, by the way).
> The prose is meant to remind readers that the concept of "semitone" in CSS-Speech is the same as the concept of "semitone" in the diatonic scale. And of course, the definition of "semitone" is the same in both the diatonic and chromatic scales.
> Because each and every "step" (interval) on the equal temperament chromatic scale is exactly a semitone, perhaps we should refer to this instead of the diatonic scale. At any rate, we can definitely improve the prose.
>> I also don't understand what the WD means by the part which says 'a semitone doesn't correspond to a fixed frequency'?
> Well, a semitone interval cannot be translated into an equivalent pitch difference without referring to a specific base/starting frequency. In other words, the Hertz value corresponding to a semitone step is defined relatively to an initial pitch, thus why a semitone does not correspond to a "fixed" frequency.
> If you have better wording in mind, please propose! :)
> Many thanks!
> Regards, Dan
Received on Thursday, 14 July 2011 18:24:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:42 GMT