By constructing a pipeline of pdf reader stream to FastPitch spectrogram generator to MelGAN vocoder. pdf2wav can convert any pdf(, doc, txt, etc.) file to wav(, flac, mp3, etc.) audio file. This can be used as an audiobook generator.

Samples:

/assets/audio/pdf2wav.wav