W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] MediaElement enhancement - preservesPitch attribute

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 15 Jul 2009 00:01:45 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907150001270.23663@hixie.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 14 July 2009 17:01:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC