CTAN Comprehensive TeX Archive Network

Spe – Create PDF documents with hyperlinks to audiofragments

This package equips the PDF that is generated with with hyperlinks to audio files that contain the spoken equivalent of the original text, equations, figures and tables.

The audio files can be automatically generated using a Perl-script called spel-wizard.pl (part of the SpeL::Wizard module available on CPAN). This script interfaces with locally installed text-to-speech software or with online available (paying) cloud services to generate the audio files. To this end, the chunks of your text are parsed and translated to “natural language”.

Spe is babel-enabled such that your text is read with the correct pronunciation corresponding to your language. So far, it provides the languages English and Dutch, but it will be extended in the future.

You can package your PDF together with the audio-files (in your favorite archive format) and make it available to your users, such that the only requirements to read your text and listen to the audio are a suited PDF reader and media player. Not all readers and players work. Working readers are: okular, acrobat reader, pdfxchange viewer. Working media players are: SoX, totem, vlc.

The package is part of the SpeLbox package, consisting of

  • an Emacs Org-mode exporter, called ox-spelatex (under development, will be released later),
  • the spelatex package itself,
  • a perl script spel-wizard.pl available from CPAN in the SpeL::Wizard module that converts text to speech (doing the magic, parsing your equations).

The package also functions without the Org-Mode exporter, the latter just being there to make use more convenient.

For the text-to-speech conversion, one can use free options (festival, balabolka, ...) or paying services (e.g. AWS polly).

Sources/macros/latex/contrib/spelatex
Documentation
Version0.91 2024-06-21
LicensesThe Project Public License 1.3
Copyright2024 Walter Daems and Paul Levrie
MaintainerWalter Daems
Contained inTeX Live as spelatex
MiKTeX as spelatex
TopicsExperimental 3
Multimedia

Download the contents of this package in one zip archive (13.8M).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author