Exporting PDF as MP3?

Jonas Norlander jonorland at gmail.com
Sat Mar 22 23:01:31 UTC 2008


2008/3/22, Dotan Cohen <dotancohen at gmail.com>:
> In KPDF one can have the text spoken out loud. Is it possible to make
>  an MP3 recording of that? I'm thinking along the lines of a command to
>  run in Konsole that would take a PDF file as an argument and output a
>  MP3, but I don't know where to start.
>
>  Dotan Cohen
>

I don't know a way to do it from pdf to sound but you could pipe through
pdftotext and use text2wave from Festival to record it with lame like this:
pdftotext somefile.pdf - | text2wave | lame - somefile.mp3
Looks like it works ok.

/ Jonas




More information about the kubuntu-users mailing list