[EMOXG] timing spesification

Hi all
This is the answer to my action item from session 2 of the Cannes f2f
for suggesting a revised timing specification as stated in the minutes
[3].

Issues that shall be included:
1. to denote "start/end" 
2. to anchor timing relative to other events
3. to denote absolute time points, because this would be needed
e.g. for the "emotional diary" application

Issues that will be disregarded in the first version
1. "duration" as it is redundant
2. sample values
3. onset/hold/decay, as they could be expressed by a trace of
intensity or by using several emotion statements.

GENERAL REMARKS
a) It's a question how to denote relative timevalues, one could use
simple integers for milliseconds, I vote for the time values like
specified in the SMIL specification [4] and will use them in these
examples.
b) We could either use preferably attributes or elements, I think
attributes
may be better as they give a more "compact" code.
c) Attribute names could be written with a hyphen in them (time-ref-uri)
or "java-style" (timeRefURI). I prefer the latter. 
In any case this should be consistent throughout the markup.

ABSOLUTE TIMEVALUES
I suggest to use the ISO-8601 standard to denote absolute timepoints
as it is also approved by the W3C [2].
Absolute timevalues are only needed directly under "emotion" element.
The following example states "joy" on the 23rd of nov. 2001.

EXAMPLE 1:

<emotion date="2001-11-23 14:36">
	<cat name="joy"/>
</emotion>

RELATIVE TIMEVALUES
Can be used to denote time intervals in media changing over time.
E.g. by attribute start and end. The following example states "joy"
displayed in a video from the 3rd until the 9th second.

EXAMPLE 3:

<emotion>
	<cat name="joy"/>
	<link uri="videoData.avi" start="3s" end="9s"/>
</emotion>

Of course this coud be combined with absoulte time, e.g. the following
states joy on the given date displayed in the video at the given
timeinterval:

EXAMPLE 4:

<emotion date="2001-11-23 14:36">
	<cat name="joy"/>
	<link uri="videoData.avi" start="3s" end="9s"/>
</emotion>

ANCHOR TIME TO OTHER EVENTS
It should be possible for Emotion statements to be anchored relative
with respect to other events. I suggest to use similar attributes as
the EMMA specification [5].
Attributes
timeRefUri : URI of an element that is the anchor
timerefAnchot: either "start" or "end" indicating whether to measure
	       offset from start or end. optinal: Defaults to start 
offsetToStart : time value indicating an offset: optional, defaults 0.

The following example anchors the display of Fred's sadness 12 seconds
after the end of the display of Anna's joy in a video.

EXAMPLE 5:

<emotion id="annasJoy">
	<cat name="joy"/>
	<link id="someVideo" uri="videoData.avi" start="3s" end="9s"/>
</emotion>

<emotion id="fredsSadness" timeRefUri="#someVideo" timeRefAnchor="end"
offsetToStart="12s"/>
	<cat name="sad"/>
</emotion>

Of course the sadness of Fred could also be anchored by Annay joy
itself, so in this example Fred was sad on the 23rd of nov. 2001, 12
seconds past 14:36. 

EXAMPLE 6:

<emotion id="annasJoy" date="2001-11-23 14:36">
	<cat name="joy"/>
</emotion>

<emotion id="fredsSadness" timeRefUri="#annasJoy" offsetToStart="12s"/>
	<cat name="sad"/>
</emotion>

Regards,
felix


[1] http://en.wikipedia.org/wiki/ISO_8601
[2] http://www.w3.org/TR/NOTE-datetime
[3]
http://lists.w3.org/Archives/Public/public-xg-emotion/2008Oct/0020.html
[4]
http://www.w3.org/TR/SMIL3/smil-timing.html#Timing-ClockValueSyntax
[5] http://www.w3.org/TR/2004/WD-emma-20040901/#s3.2.10

Received on Wednesday, 29 October 2008 18:04:46 UTC