Skip to content

Latest commit

 

History

History

scripts

Workflow

Unfortunately it isn't trivial to compile all of the assets into a working audio book.

Here we describe the process of ingesting all resources (audio, images, text) and producing the final working audio book.

TL;DR (if you cd into this directory):

bash wav_to_mp3.sh
python export_images_from_layers.py
python export_texts_from_pdf.py
python merge_to_pages.py

This will (hopefully) populate static with all the required final assets.

Prerequisites

The in folder (which is ignored and missing from the repo) should contain:

Texts

  • Překlady textů a webu – Povídání modro-žluté krajiny - Dvojverší.csv

Text positions

  • VitejApojdSiPovidatV04.pdf
    • Typeset text positions, exported (from InDesign?) to PDF
    • Source: typesetter shares the file manually

Audio

  • audio/{lang}/{lang}_{name.wav}

Images

  • VitejApojdSiPovidatV04.psd
    • Single Photoshop file containing all book entities as layers
      • Except for jelen and srnka which we first manually merge into one srnka layer in Photoshop
    • Source: graphic designer shares the file manually