[whatwg] MediaElement enhancement - preservesPitch attribute

Ian Hickson ian at hixie.ch
Tue Jul 14 17:01:45 PDT 2009


On Tue, 23 Jun 2009, Brady Eidson wrote:
>
> From 4.8.10.9:  "If the playbackRate is not 1.0, the user agent may 
> apply pitch adjustments to the audio as necessary to render it 
> faithfully."
> 
> While pitch correction is certainly desirable a lot of the time, we've 
> found that it is also desirable to disable pitch correction on demand.  
> Content authors might *prefer* the "chipmunk" effect during faster 
> playback or the "stretched low voice" effect during slower playback.
> 
> As such, WebKit just added a new attribute to the MediaElement called 
> "webkitPreservesPitch."  For now it defaults to true, as the default 
> playback behavior for our main ports has been to do pitch correction.  
> But by setting it to false, author's can get the chipmunk/stretch effect 
> when they desire.
> 
> Hopefully other folks will like this idea and we could add the 
> "preservesPitch" attribute to the MediaElement so we could drop the 
> webkit prefix on this!

I've noted this in the spec notes for future versions.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list