added sound level animation SMIL support

This commit is contained in:
maroy 2005-06-30 07:18:23 +00:00
parent 5ec6a76d74
commit f890fe79b8
10 changed files with 561 additions and 31 deletions

View file

@ -0,0 +1,16 @@
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
<body>
<par>
<audio src = "file:var/5seccounter.mp3">
<animate attributeName = "soundLevel"
from = "100%"
to = "0%"
calcMode = "linear"
begin = "1s"
end = "5s"
fill = "freeze"
/>
</audio>
</par>
</body>
</smil>

View file

@ -0,0 +1,27 @@
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
<body>
<par>
<audio src = "file:var/5seccounter.mp3">
<animate attributeName = "soundLevel"
from = "100%"
to = "0%"
calcMode = "linear"
begin = "1s"
end = "5s"
fill = "freeze"
/>
</audio>
<audio src = "file:var/5seccounter.mp3"
begin = "3s">
<animate attributeName = "soundLevel"
from = "100%"
to = "0%"
calcMode = "linear"
begin = "1s"
end = "5s"
fill = "freeze"
/>
</audio>
</par>
</body>
</smil>

View file

@ -0,0 +1,26 @@
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
<body>
<par>
<audio src = "file:var/5seccounter.mp3">
<!-- fade in -->
<animate attributeName = "soundLevel"
from = "0%"
to = "100%"
calcMode = "linear"
begin = "0s"
end = "1.5s"
fill = "freeze"
/>
<!-- fade out -->
<animate attributeName = "soundLevel"
from = "100%"
to = "0%"
calcMode = "linear"
begin = "3.5s"
end = "5s"
fill = "freeze"
/>
</audio>
</par>
</body>
</smil>

View file

@ -0,0 +1,48 @@
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
<body>
<par>
<audio src = "file:var/5seccounter.mp3">
<!-- fade in -->
<animate attributeName = "soundLevel"
from = "0%"
to = "100%"
calcMode = "linear"
begin = "0s"
end = "1.5s"
fill = "freeze"
/>
<!-- fade out -->
<animate attributeName = "soundLevel"
from = "100%"
to = "0%"
calcMode = "linear"
begin = "3.5s"
end = "5s"
fill = "freeze"
/>
</audio>
<audio src = "file:var/5seccounter.ogg"
begin = "3s">
<!-- fade in -->
<animate attributeName = "soundLevel"
from = "0%"
to = "100%"
calcMode = "linear"
begin = "0s"
end = "1.5s"
fill = "freeze"
/>
<!-- fade out -->
<animate attributeName = "soundLevel"
from = "100%"
to = "0%"
calcMode = "linear"
begin = "3.5s"
end = "5s"
fill = "freeze"
/>
</audio>
</par>
</body>
</smil>