[whatwg] Audio canvas?

2008-07-16 Thread Dr. Markus Walther
I have noted an asymmetry between canvas and audio: canvas supports loading of ready-made images _and_ pixel manipulation (get/putImageData). audio supports loading of ready-made audio but _not_ sample manipulation. With browser JavaScript getting faster all the time (Squirrelfish...),

Re: [whatwg] Audio canvas?

2008-07-16 Thread Dr. Markus Walther
My understanding of HTMLMediaElement is that the currentTime, volume and playbackRate properties can be modified live. So in a way Audio is already like Canvas : the developer modify things on the go. There is no automated animations/transitions like in SVG for instance. Doing a cross

Re: [whatwg] Audio canvas?

2008-07-16 Thread Dr. Markus Walther
Thanks for all the feedback sofar! Dave Singer wrote: As others have pointed out, I think you're asking for a new element, where you can 'draw' audio as well as pre-load it, just like canvas where you can load pictures and also draw them. This is not the audio element, any more than canvas

Re: [whatwg] Audio canvas?

2008-07-17 Thread Dr. Markus Walther
canvas? At 20:18 +0200 16/07/08, Dr. Markus Walther wrote: get/setSample(samplePoint t, sampleValue v, channel c). For the sketched use case - in-browser audio editor -, functions on sample regions from {cut/add silence/amplify/fade} would be nice and were mentioned as an extended

Re: [whatwg] Audio canvas?

2008-07-24 Thread Dr. Markus Walther
I think an interesting approach for an audio canvas would be to allow you to both manipulate audio data directly (through a getSampleData/putSampleData type interface), but also build up an audio filter graph, both with some predefined filters/generators and with the ability to do filters in

Re: [whatwg] video tag : loop for ever

2008-10-16 Thread Dr. Markus Walther
Eric Carlson wrote: On Oct 15, 2008, at 8:31 PM, Chris Double wrote: On Thu, Oct 16, 2008 at 4:07 PM, Eric Carlson [EMAIL PROTECTED] wrote: However I also think that playing just a segment of a media file will be a common use-case, so I don't think we need start and end either. How

[whatwg] Web-based dynamic audio apps - WAS: Re: video tag : loop for ever

2008-10-17 Thread Dr. Markus Walther
: On Fri, Oct 17, 2008 at 5:24 AM, Dr. Markus Walther [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Imagine e.g. an audio editor in a browser and the task play this selection of the oscillogram... Why should such use cases be left to the Flash 10 crowd (http://www.adobe.com/devnet

Re: [whatwg] video tag : loop for ever

2008-10-30 Thread Dr. Markus Walther
Silvia Pfeiffer wrote: I believe your use case of creating an adio editor through using the audio tag is a bit far fetched. I don't think it lends itself to that kind of functionality. Your belief is fine with me - you haven't seen the prototype running on Safari ;-) You would not use the

Re: [whatwg] Codecs for audio and video

2009-06-30 Thread Dr. Markus Walther
Ian Hickson wrote: On Tue, 30 Jun 2009, Matthew Gregan wrote: Is there any reason why PCM in a Wave container has been removed from HTML 5 as a baseline for audio? Having removed everything else in these sections, I figured there wasn't that much value in requiring PCM-in-Wave support.

Re: [whatwg] Codecs for audio and video

2009-06-30 Thread Dr. Markus Walther
Gregory Maxwell wrote: PCM in wav is useless for many applications: you're not going to do streaming music with it, for example. It would work fine for sound effects... The world in which web browsers live is quite a bit bigger than internet and ordinary consumer use combined...

Re: [whatwg] Remove addCueRange/removeCueRanges

2009-08-13 Thread Dr. Markus Walther
Hi, please note that with cue ranges removed, the last HTML 5 method to perform audio subinterval selection is gone. AFAIK, when dropping support for 'start' and 'end' attributes it was noted on this list that cue ranges would provide a replacement to dynamically select, say, a 3-second range

Re: [whatwg] Remove addCueRange/removeCueRanges

2009-08-14 Thread Dr. Markus Walther
Hi, The .start/.end properties were dropped in favor of media fragments, which the Media Fragments Working Group is producing a spec for. Who decided this? Has this decision been made public on this list? It will be something like http://www.example.com/movie.mov#t=12.33,21.16 var

Re: [whatwg] Remove addCueRange/removeCueRanges

2009-08-14 Thread Dr. Markus Walther
Silvia, 2009/8/13 Dr. Markus Walther walt...@svox.com: please note that with cue ranges removed, the last HTML 5 method to perform audio subinterval selection is gone. Not quite. You can always use the video.currentTime property in a javascript to directly jump to a time offset in a video

Re: [whatwg] Remove addCueRange/removeCueRanges

2009-08-14 Thread Dr. Markus Walther
Silvia Pfeiffer wrote: 2009/8/14 Dr. Markus Walther walt...@svox.com: Hi, The .start/.end properties were dropped in favor of media fragments, which the Media Fragments Working Group is producing a spec for. Who decided this? Has this decision been made public on this list

Re: [whatwg] Remove addCueRange/removeCueRanges

2009-08-17 Thread Dr. Markus Walther
_ SVOX AG, Baslerstr. 30, CH-8048 Zürich, Switzerland Dr. Markus Walther, Software Engineer Speech Technology Tel.: +41 43 544 06 36 Fax: +41 43 544 06 01 Mail: walt...@svox.com This e-mail message contains confidential information which is for the use of the addressee(s) only. Please notify

Re: [whatwg] Remove addCueRange/removeCueRanges

2009-08-17 Thread Dr. Markus Walther
sample-accurate implementations of subinterval selection - tons of audio applications demonstrate this is possible. -- Markus _ SVOX AG, Baslerstr. 30, CH-8048 Zürich, Switzerland Dr. Markus Walther, Software Engineer Speech Technology Tel.: +41 43 544 06 36