At 21:35  +0200 19/10/07, KÞi”tof Îelechovski wrote:
This is asymmetric and it does not reflect the common usage:
intro-canto-canto-canto-coda.  You get intro-canto-coda-canto-canto instead.
I have never encountered such a piece.
Best regards,
Chris

I think Ian mis-spoke; loopEnd is where every loop ends except the *last*. So you get what you wanted.

I have wondered whether it would be clearer if we called it loopFrom and loopTo, and had loopCount be the count of the *extra* plays, and loopNumber (or loopIndex) the current *extra* play. So if loopCount is 0, loopStart and loopEnd are irrelevant, and loopNumber will never exceed 0 either.

(The same names with repeat instead of loop make equal semantic sense).

Would this be easier to explain and document?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael A. Puls II
Sent: Friday, October 19, 2007 11:25 AM
To: Ian Hickson
Cc: [EMAIL PROTECTED]
Subject: Re: [whatwg] Audio(): loop() with 0 or negative value as argument


loopstart: gives the offset at which playback is to begin for every
playback iteration except the first. The default value is the same as
start.

loopend: gives the offset at which playback is to end for every
playback iteration except the first. The default value is the same as
end.


--
David Singer
Apple/QuickTime

Reply via email to