At 10:49 AM 2/25/2002 +0100, Piotr Kopszak wrote:
>Hello,
>
>I just started using Context again after a rather long break. I'm
>working on a presentation. I know it's possible to include movies in
>pdf files using ConText, but is it possible to add some background
>noise from a sound file to a sequence of screens and synchronize them
>somehow?
The following code syncs sounds with pages
\setupinteraction[state=start]
\starttext
\useexternalsoundtrack[dooropen][dooropen.wav]
\useexternalsoundtrack[doorslam][doorslam.wav]
% new : \setupexternalsoundtracks[option=repeat]
\setupinteraction[openpageaction=StartSound{dooropen}] test \page
\setupinteraction[openpageaction=StartSound{doorslam}] test \page
\stoptext
.
I added option=repeat (a few lines patch; will be in next beta) so that one
can now habe ambient sounds too.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------