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

Re: [css3-speech] pitch alteration expressed in semitones and Hertz

From: Daniel Weck <daniel.weck@gmail.com>
Date: Wed, 19 Jan 2011 21:19:33 +0000
Message-Id: <A49E1CA3-E03A-4DA0-B363-75DB646035E0@gmail.com>
To: www-style@w3.org
Just in case this isn't obvious to those who are not familiar with the  
previous CSS3-Speech draft [1]:

The 'voice-pitch' and 'voice-pitch-range' properties were already  
featured, but only with support for fixed Hertz values, predefined  
named values, and percentage values (allowing relative changes in a  
multiplicative fashion). There was a pending issue regarding a  
discrepancy with SSML 1.0, which enables relative changes in an  
additive fashion (increments and decrements of non-percentage / fixed  
values) using both Hertz units and semitones.

I addressed this issue by adding an extra "value type" for the  
aforementioned properties, so the current specification is backward- 
compatible with the previous draft (none of the previous "value types"  
are affected by the change). Existing implementations only need to  
update the parsing algorithm, and to add the conversion from semitone  
offsets to fixed Hertz frequencies (which is based on trivial  
arithmetics).

Regards, Daniel

[1]
http://www.w3.org/TR/css3-speech/

On 19 Jan 2011, at 18:12, Daniel Weck wrote:

> Dear all,
>
> The latest editor's draft of the CSS3 Speech Module [1] now includes  
> support for pitch alteration ('voice-pitch' and 'voice-pitch-range')  
> based on relative changes (decrement or increment) expressed with  
> semitones and Hertz values. This addition provides better  
> compatibility with SSML 1.0 [2], and enables more sophisticated  
> authoring scenarios. The impact in terms of implementation costs is  
> relatively low (simple new parsing rules, and basic arithmetics to  
> compute pitch frequencies).
>
> Comments welcome.
> Regards, Daniel
>
> [1]
> http://dev.w3.org/csswg/css3-speech/#voice-pitch
>
> [2]
> http://www.w3.org/TR/speech-synthesis/#S3.2.4

Daniel Weck
daniel.weck@gmail.com
Received on Wednesday, 19 January 2011 21:20:05 GMT

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