[whatwg] Media queries for multichannel audio ?

fantasai fantasai.lists at inkedblade.net
Mon Mar 18 22:42:12 PDT 2013


On 03/18/2013 05:18 PM, Mark Watson wrote:
> Is there anything like this ?
>
> I'd like a media element to be able to select the multi-channel
> version of some audio only when the device will output multiple
> channels and select a stereo version otherwise (rather than
> downmixing). This would save network bandwidth as well as
> providing better quality (if the custom-mixed stereo audio is
> likely better than the end-device down-mixed version). Seems
> like this would be handled in the resource selection algorithm
> by checking if the media attribute of the <source> "matches
> the environment", but I can't find how to specific audio
> characteristics in a media query.

I don't think such a thing exists, but you could request it
for Media Queries Level 4:
   http://dev.w3.org/csswg/mediaqueries4/

You'd want to post to www-style for that, though.

~fantasai



More information about the whatwg mailing list