daisy / pipeline-modules

Modules for the DAISY Pipeline project
3 stars 4 forks source link

Eliminate "Text-to-speech configuration file" options #66

Open bertfrees opened 8 months ago

bertfrees commented 8 months ago

I want to eliminate the "Text-to-speech configuration file" options, and replace it with the following:

bertfrees commented 7 months ago
  • A dedicated option to specify lexicons (in addition to the possibility to attach lexicons to the input)
  • A dedicated option to specify CSS style sheets (in addition to the possibility to attach style sheets to the input)

In addition, there could also be a global setting for the default lexicons, so that the user doesn't need to specify it for every job. The need for a default style sheet is less obvious, but might also exist. Note that there would have to be separate settings for HTML and DTBook.

  • Dedicated options for certain TTS properties
    • org.daisy.pipeline.tts.mp3.bitrate

Here also, it would make sense to keep the global setting for the default bit rate, as a producer will usually have a standard for MP3 quality and wouldn't want to set it on a per job basis.

A generic solution for this kind of global defaults is a templating feature. However such a feature is probably still further away, and might not be implemented on the level of the engine, but only in the GUI.

bertfrees commented 6 months ago

Note that we should probably not completely eliminate the options yet in release 1.14.17 because the UI currently still relies on these options and there might not be enough time to update it.