# [pdftex] Play a sound at page change

Hans Hagen pragma at wxs.nl
Mon Oct 25 09:47:33 CEST 2004

```Alexander Grahn wrote:

> Hi,
>
> try the package `movie15.sty'.
>
> http://www.tug.org/tex-archive/macros/latex/contrib/movie15
>
> It works with latex and pdflatex (version >= 1.20). Using the latter,
> the soundfile will be embedded into the PDF output by default.
>
> \usepackage{movie15}
>
> ...
>
> \includemovie[autoplay,autostop]{0pt}{0pt}{soundfile.au}
>
> ...
>
> Option `autostop' ensures that the soundfile will be closed on next
> page transition. Otherwise it would play until you close the document.

with using such features you should be aware of the fact that there are
differences between acrobat versions with respect to the order of
annotation execution as well as the fact that acrobat has expectations
about where sound annotations are defined (on the current or destination
page); i got the feeling that acrobat 6 is a bit buggy compared to 5;
such features make documents less portable.

Hans

-----------------------------------------------------------------