2
\documentclass[pdflatex]{beamer}

\usepackage{multimedia} 

\begin{document}

\begin{frame}
  \frametitle{Music}
  \sound[channels=2,bitspersample=16,samplingrate=44100,encoding=Signed,autostart,inlinesound]{}{Laute.aif}
\end{frame}

\end{document}

produces 11 error messages, starting with the very enlightening:

! Undefined control sequence
\mm@pageadditionalaction ...e \beamer@pdfpageattr

/AA{}>>\END \ifx \mm@pdfp

l.10 \end{frame}

Laute.aif plays with both foobar and vlc, so is presumably a valid file. These players also told me the properties of the file used in the options. The command I copied and pasted from beameruserguide section 14.2. Converting the .aif to an .au file doesn't solve the pproblem. How do I get this to work?

Removing the autostart option or replacing multimedia.sty with an older version allows this to compile correctly, but even in the latter case no autostart occurs and the music contains a lot of noise and distortion. Removing the inlinesound option corrects the latter problem. I could not open .mp3 files at all.

1

Adding

\makeatletter
\let\beamer@pdfpageattr\pdfpageattr
\makeatother

should do the job until the next release (assuming pdfTeX).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.