401
edits
(extended intro) |
(karaoke markup examples) |
||
| Line 450: | Line 450: | ||
== Karaoke == | == Karaoke == | ||
TTML: | |||
<pre> | |||
<tt xml:lang="en-US" xmlns="http://www.w3.org/ns/ttml"> | |||
<head> | |||
<metadata xmlns:ttm="http://www.w3.org/ns/ttml#metadata"> | |||
<ttm:role>lyrics</ttm:role> | |||
<ttm:title>Can't buy me Love</ttm:title> | |||
<!-- it seems TTML doesn't provide for music title metadata --> | |||
<ttm:name type="other">Beatkes, The</ttm:name> | |||
<ttm:name type="other">Lennon & McCartney"</ttm:name> | |||
<ttm:name type="other">Beatles 1 - 27 #1 Singles"</ttm:name> | |||
<ttm:name type="other">Wooden Ghost"</ttm:name> | |||
</metadata> | |||
<styling xmlns:tts="http://www.w3.org/ns/ttml#styling"> | |||
<style tts:color="yellow" tts:fontWeight="bold"/> | |||
</styling> | |||
</head> | |||
<body> | |||
<div style="s1"> | |||
<p begin="00:00:00.45" end="00:00:05.60"> | |||
Can't <span begin="00:00.75">buy</span> <span begin="00:00.95">me</span> <span begin="00:01.40">love,</span> <span begin="00:02.60">love,</span> <span begin="00:03.95">love, </span> <span begin="00:05.30">love</span> | |||
</p> | |||
<p begin="00:00:05.90" end="00:00:08.90"> | |||
Can't <span begin="00:06.20">buy</span> <span sbegin="00:06.40">me</span> <span begin="00:06.70">love,</span> <span begin="00:08.00">love</span> | |||
</p> | |||
<p begin="00:00:09.35" end="00:00:11.55"> | |||
I'll <span begin="00:09.50">buy</span> <span begin="00:09.75">you</span> <span begin="00:10.15">a</span> <span begin="00:10.25">dia</span><span begin="00:10.50">mond</span> <span begin="00:10.75">ring</span> <span begin="00:11.10">my</span> <span begin="00:11.40">friend</span> | |||
</p> | |||
</div> | |||
</body> | |||
</tt> | |||
</pre> | |||
WebSRT: | |||
<pre> | |||
; not sure how to specify that this is in en-US | |||
; not sure how to specify that these are lyrics | |||
; not sure how to provide the music piece metadata | |||
1 | |||
00:00:00.45 --> 00:00:05.60 | |||
<font color=yellow><b>Can't <00:00.75>buy <00:00.95>me<00:01.40>love, <00:02.60>love, <00:03.95>love, <00:05.30>love</b></font> | |||
2 | |||
00:00:05.90 --> 00:00:08.90 | |||
<font color=yellow><b>Can't <00:06.20>buy <00:06.40>me <00:06.70>love, <00:08.00>love</b></font> | |||
3 | |||
00:00:09.35 --> 00:00:11.55 | |||
<font color=yellow><b>I'll <00:09.50>buy <00:09.75>you <00:10.15>a <00:10.25>dia<00:10.50>mond <00:10.75>ring <00:11.10>my <00:11.40>friend</b></font> | |||
</pre> | |||
WMML: | |||
<pre> | <pre> | ||
| Line 470: | Line 528: | ||
<cuelist> | <cuelist> | ||
<cue start="00:00:00.45" end="00:00:05.60"> | <cue start="00:00:00.45" end="00:00:05.60"> | ||
Can't <t at="00:00.75">buy</t> <t at="00:00.95">me</t> <t="00:01.40">love,</t> <t at="00:02.60">love,</t> <t at="00:03.95">love, </t> <t at="00:05.30">love</t> | <t at="00:00:00.45">Can't</t> <t at="00:00.75">buy</t> <t at="00:00.95">me</t> <t="00:01.40">love,</t> <t at="00:02.60">love,</t> <t at="00:03.95">love, </t> <t at="00:05.30">love</t> | ||
</cue> | </cue> | ||
<cue start="00:00:05.90" end="00:00:08.90"> | <cue start="00:00:05.90" end="00:00:08.90"> | ||
Can't <t at="00:06.20">buy</t> <t at="00:06.40">me</t> <t at="00:06.70">love,</t> <t at="00:08.00">love</t> | <t at="00:00:05.90">Can't</t> <t at="00:06.20">buy</t> <t at="00:06.40">me</t> <t at="00:06.70">love,</t> <t at="00:08.00">love</t> | ||
</cue> | </cue> | ||
<cue start="00:00:09.35" end="00:00:11.55"> | <cue start="00:00:09.35" end="00:00:11.55"> | ||
I'll <t at="00:09.50">buy</t> <t at="00:09.75">you</t> <t at="00:10.15">a</t> <t at="00:10.25">dia</t> <t at="00:10.50">mond</t> <t at="00:10.75">ring</t> <t at="00:11.10">my</t> <t at="00:11.40">friend</t> | <t at="00:00:09.35">I'll</a> <t at="00:09.50">buy</t> <t at="00:09.75">you</t> <t at="00:10.15">a</t> <t at="00:10.25">dia</t> <t at="00:10.50">mond</t> <t at="00:10.75">ring</t> <t at="00:11.10">my</t> <t at="00:11.40">friend</t> | ||
</cue> | </cue> | ||
</cuelist> | </cuelist> | ||
| Line 482: | Line 540: | ||
</pre> | </pre> | ||
Analysis: | |||
* Not sure if the style in the <span> elements is only activated at the begin time of the <span> element or if that requires different markup. | |||
* Repetitions of bold and yellow in every cue in WebSRT - and will they get activated at the given time? | |||
== Chapter markers == | |||
Simple: | Simple: | ||
edits