Here is another example of sound using the <a:audio> tag:

It is primitive, but it gives an example of onclick-generated chained
sound events without scripting (using SMIL)

This was an early test for generating aural cues for a medical monitoring
system

http://roitsystems.com/sound/sound3.svg

Ronan

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg width="760" height="400"
 xmlns:a="http://www.adobe.com/svg10-extensions";>
<title>Three chained ro</title>
<rect id="rect1" x="100" y="110" width="20" height="20"
 style="fill:red;stroke:#000000;stroke-width:1;shape-rendering:optimizeSpeed;"/>
<rect id="rect2" x="200" y="110" width="20" height="20"
 style="fill:red;stroke:#000000;stroke-width:1;shape-rendering:optimizeSpeed;"/>
<a:audio xlink:href="wav/alert.wav" id="HRW0" begin="rect1.click+1s"
repeatCount="1"/>
<a:audio xlink:href="wav/hr_is.wav" id="HRW1" begin="HRW0.end"
repeatCount="1"/>
<a:audio xlink:href="wav/1.wav" id="HRW2" begin="HRW1.end" repeatCount="1"/>
<a:audio xlink:href="wav/00.wav" id="HRW3" begin="HRW2.end" repeatCount="1"/>
<a:audio xlink:href="wav/80.wav" id="HRW4" begin="HRW3.end" repeatCount="1"/>
<a:audio xlink:href="wav/5.wav" id="HRW5" begin="HRW4.end" repeatCount="1"/>
<a:audio xlink:href="wav/point.wav" id="HRW6" begin="HRW5.end"
repeatCount="1"/>
<a:audio xlink:href="wav/6.wav" id="HRW7" begin="HRW6.end" repeatCount="1"/>
<a:audio xlink:href="wav/per.wav" id="HRW8" begin="HRW7.end"
repeatCount="1"/>
<a:audio xlink:href="wav/second.wav" id="HRW9" begin="HRW8.end"
repeatCount="1"/>
<a:audio xlink:href="wav/warning.wav" id="BPA0" begin="rect2.click+1s"
repeatCount="1"/>
<a:audio xlink:href="wav/bp_is.wav" id="BPA1" begin="BPA0.end"
repeatCount="1"/>
<a:audio xlink:href="wav/1.wav" id="BPA2" begin="BPA1.end" repeatCount="1"/>
<a:audio xlink:href="wav/00.wav" id="BPA3" begin="BPA2.end" repeatCount="1"/>
<a:audio xlink:href="wav/50.wav" id="BPA4" begin="BPA3.end" repeatCount="1"/>
<a:audio xlink:href="wav/2.wav" id="BPA5" begin="BPA4.end" repeatCount="1"/>
<a:audio xlink:href="wav/milli.wav" id="BPA6" begin="BPA5.end"
repeatCount="1"/>
<a:audio xlink:href="wav/bar.wav" id="BPA7" begin="BPA6.end"
repeatCount="1"/>
</svg>





> Helena Caldeira wrote:
>> I did a example of multimedia SVG file!
>> You can look it at www.ufpel.edu.br/~lenapc/teste10.svg!
>> But I cant listen the sound!
>> When I view it from my HD Ilisten!
>> But after I publish it, I can't listen.
>> So, we must download the mp3 file, and then...
>> Is there a specific folder that I must save this mp3 file?
>> Is there a specific folder that I must to do to publish it!
>> What can I do?
>
> You use:
> <a:audio xlink:href="rev3.mp3" begin="0" repeatDur="indefinite"/>
> in your SVG file.
> So the easiest way to make it work is to upload the MP3 file to the same
> location as your SVG file.
>
> No specific folder is needed, but if you like to separate kinds of
> files, you can make a SVG subfolder, a MP3 subfolder, and make a
> relative path from the SVG one to the MP3 one:
> xlink:href="mp3/rev3.mp3"
> if you put the MP3 folder inside the SVG one;
> xlink:href="../mp3/rev3.mp3"
> if they are at the same level.
>
> Classical HTML stuff... (relative URLs)
>
> --
> Philippe Lhoste
> --  (near) Paris -- France
> --  Professional programmer and amateur artist
> --  http://Phi.Lho.free.fr
> --  --  --  --  --  --  --  --  --  --  --  --
>
>
>
> -----
> To unsubscribe send a message to:
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
> membership"
> ----
> Yahoo! Groups Links
>
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to