Back to Ebook2audiobook

📚 ebook2audiobook (E2A)

readme/README_deu.md

26.6.933.4 KB
Original Source

📚 ebook2audiobook (E2A)

CPU/GPU-Konverter von E-Book zu Hörbuch mit Kapiteln und Metadaten

unter Verwendung fortschrittlicher TTS-Engines und vielem mehr.

Unterstützt Stimmenklonen und 1158 Sprachen!

[!IMPORTANT] Dieses Tool ist ausschließlich für die Verwendung mit DRM-freien, legal erworbenen E-Books bestimmt.

Die Autoren übernehmen keine Verantwortung für jeglichen Missbrauch dieser Software oder daraus resultierende rechtliche Folgen.

Verwenden Sie dieses Tool verantwortungsvoll und in Übereinstimmung mit allen geltenden Gesetzen.

Danke, dass Sie die Entwickler von ebook2audiobook unterstützen!

Lokal ausführen

<a href="https://github.com/DrewThomasson/ebook2audiobook">

</a><a href="https://hub.docker.com/r/athomasson2/ebook2audiobook">

</a>

Remote ausführen

GUI-Oberfläche

<details> <summary>Zum Anzeigen von Bildern der Web-GUI klicken</summary> </details>

Demos

Demo der neuen Standardstimme

https://github.com/user-attachments/assets/750035dc-e355-46f1-9286-05c1d9e88cea

<details> <summary>Weitere Demos</summary>

ASMR-Stimme

https://github.com/user-attachments/assets/68eee9a1-6f71-4903-aacd-47397e47e422

Regentag-Stimme

https://github.com/user-attachments/assets/d25034d9-c77f-43a9-8f14-0d167172b080

Scarlett-Stimme

https://github.com/user-attachments/assets/b12009ee-ec0d-45ce-a1ef-b3a52b9f8693

David-Attenborough-Stimme

https://github.com/user-attachments/assets/81c4baad-117e-4db5-ac86-efc2b7fea921

Beispiel

</details>

README.md

Inhaltsverzeichnis

Funktionen

  • 🔧 Unterstützte TTS-Engines: XTTSv2, Bark, Fairseq, VITS, Tacotron2, Tortoise, GlowTTS, YourTTS

  • 📚 Mehrere Dateiformate konvertieren: .epub, .mobi, .azw3, .fb2, .lrf, .rb, .snb, .tcr, .pdf, .txt, .rtf, .doc, .docx, .html, .odt, .azw, .tiff, .tif, .png, .jpg, .jpeg, .bmp, .zip

  • 💻 Textbereich zum direkten Umwandeln eines kurzen Texts in Audio

  • 🔍 OCR-Erkennung für Dateien mit Textseiten als Bilder

  • 🔊 Hochwertige Sprachausgabe, von nahezu Echtzeit bis zu nahezu echter Stimme

  • 🗣️ Optionales Stimmenklonen mit Ihrer eigenen Sprachdatei

  • 🌐 Unterstützt 1158 Sprachen (supported languages list)

  • 💻 Ressourcenschonend — läuft mit 2 GB RAM / 1 GB VRAM (Minimum)

  • 🎵 Hörbuch-Ausgabeformate: mono or stereo aac, flac, mp3, m4b, m4a, mp4, mov, ogg, wav, webm

  • 🧠 SML-Tags unterstützt — feingranulare Steuerung von Unterbrechungen, Pausen, Stimmwechsel und mehr (see below)

  • 🧩 Optionales benutzerdefiniertes Modell mit Ihrem eigenen trainierten Modell (XTTSv2, VITS, FAIRSEQ, PIPER, others on request)

  • 🎛️ Feinabgestimmte Preset-Modelle, trainiert vom E2A-Team

    <i>(Kontaktieren Sie uns, wenn Sie zusätzliche feinabgestimmte Modelle benötigen oder Ihre eigenen zur offiziellen Preset-Liste beitragen möchten)</i>

Hardware-Anforderungen

  • 2 GB RAM min., 8 GB empfohlen.
  • 1 GB VRAM min., 4 GB empfohlen.
  • Virtualisierung aktiviert, falls unter Windows ausgeführt (nur Docker).
  • CPU, XPU (intel, AMD, ARM)*.
  • CUDA, ROCm, JETSON
  • MPS (Apple-Silicon-CPU)

*<i> Moderne TTS-Engines sind auf der CPU sehr langsam, verwenden Sie daher TTS geringerer Qualität wie YourTTS, Tacotron2 usw.</i>

Unterstützte Sprachen

Arabic (ar)Chinese (zh)English (en)Spanish (es)
French (fr)German (de)Italian (it)Portuguese (pt)
Polish (pl)Turkish (tr)Russian (ru)Dutch (nl)
Czech (cs)Japanese (ja)Hindi (hi)Bengali (bn)
Hungarian (hu)Korean (ko)Vietnamese (vi)Swedish (sv)
Persian (fa)Yoruba (yo)Swahili (sw)Indonesian (id)
Slovak (sk)Croatian (hr)Tamil (ta)Danish (da)

Unterstützte E-Book-Formate

  • .epub, .pdf, .mobi, .txt, .html, .rtf, .chm, .lit, .pdb, .fb2, .odt, .cbr, .cbz, .prc, .lrf, .pml, .snb, .cbc, .rb, .tcr
  • Beste Ergebnisse: .epub oder .mobi für die automatische Kapitelerkennung

Ausgabe- und Verarbeitungsformate

  • .m4b, .m4a, .mp4, .webm, .mov, .mp3, .flac, .wav, .ogg, .aac
  • Das Verarbeitungsformat kann in lib/conf.py geändert werden

Verfügbare SML-Tags

  • [break] — Stille (zufälliger Bereich 0.3–0.6 sec.)
  • [pause] — Stille (zufälliger Bereich 1.0–1.6 sec.)
  • [pause:N] — feste Pause (N sec.)
  • [voice:/path/to/voice/file]...[/voice] — Stimme von der Standard- oder in der GUI/CLI ausgewählten Stimme wechseln

Sehen Sie sich unser anderes Repo an, das dem automatischen Hinzufügen von SML in Ihrem E-Book gewidmet ist -> E2A-SML

[!IMPORTANT] **Bevor Sie ein Installations- oder Fehlerproblem melden, durchsuchen Sie sorgfältig den Tab mit offenen und geschlossenen Issues

um sicherzustellen, dass Ihr Problem nicht bereits existiert.**

[!NOTE] **Dem EPUB-Format fehlt jegliche Standardstruktur, die festlegt, was ein Kapitel, ein Absatz, ein Vorwort usw. ist.

Daher sollten Sie zunächst manuell jeglichen Text entfernen, den Sie nicht in Audio umwandeln möchten.**

Anleitung

  1. Repo klonen

    bash
    git clone https://github.com/DrewThomasson/ebook2audiobook.git
    cd ebook2audiobook
    
  2. ebook2audiobook installieren / ausführen:

    • Linux/MacOS

      bash
      ./ebook2audiobook.command
      

      <i>Hinweis für macOS-Nutzer: homebrew wird installiert, um fehlende Programme zu installieren.</i>

    • Mac-Launcher
      Doppelklicken Sie auf Mac Ebook2Audiobook Launcher.command

    • Windows

      bash
      ebook2audiobook.cmd
      

      oder Doppelklicken Sie auf ebook2audiobook.cmd

      <i>Hinweis für Windows-Nutzer: scoop wird installiert, um fehlende Programme ohne Administratorrechte zu installieren.</i>

  3. Web-App öffnen: Klicken Sie auf die im Terminal angegebene URL, um auf die Web-App zuzugreifen und E-Books zu konvertieren. http://localhost:7860/

  4. Für einen öffentlichen Link: ./ebook2audiobook.command --share (Linux/MacOS) ebook2audiobook.cmd --share (Windows) python app.py --share (all OS)

[!IMPORTANT] **Wenn das Skript gestoppt und erneut ausgeführt wird, müssen Sie Ihre Gradio-GUI-Oberfläche aktualisieren

damit sich die Webseite mit dem neuen Verbindungs-Socket verbinden kann.**

Grundlegende Verwendung

  • Linux/MacOS:

    bash
    ./ebook2audiobook.command --headless --ebook <path_to_ebook_file> --voice <path_to_voice_file> --language <language_code>
    
  • Windows

    bash
    ebook2audiobook.cmd --headless --ebook <path_to_ebook_file> --voice <path_to_voice_file> --language <language_code>
    
  • [--ebook]: Pfad zu Ihrer E-Book-Datei

  • [--voice]: Pfad zur Datei für das Stimmenklonen (optional)

  • [--language]: Sprachcode in ISO-639-3 (d. h.: ita für Italienisch, eng für Englisch, deu für Deutsch...).

    Die Standardsprache ist eng und --language ist optional für die in ./lib/lang.py festgelegte Standardsprache.

    Die zweistelligen ISO-639-1-Codes werden ebenfalls unterstützt.

Beispiel für den Zip-Upload eines benutzerdefinierten Modells

(muss eine .zip-Datei sein, die die erforderlichen Modelldateien enthält. Beispiel für XTTSv2: config.json, model.pth, vocab.json und ref.wav)

  • Linux/MacOS

    bash
    ./ebook2audiobook.command --headless --ebook <ebook_file_path> --language <language> --custom_model <custom_model_path>
    
  • Windows

    bash
    ebook2audiobook.cmd --headless --ebook <ebook_file_path> --language <language> --custom_model <custom_model_path>
    

    <i>Hinweis: Die ref.wav Ihres benutzerdefinierten Modells ist immer die für die Konvertierung ausgewählte Stimme</i>

  • <custom_model_path>: Pfad zur Datei model_name.zip, die (je nach TTS-Engine) alle erforderlichen Dateien enthalten muss

    (siehe ./lib/models.py).
    

Für eine detaillierte Anleitung mit der Liste aller zu verwendenden Parameter

  • Linux/MacOS
    bash
    ./ebook2audiobook.command --help
    
  • Windows
    bash
    ebook2audiobook.cmd --help
    
  • Oder für alle Betriebssysteme python app.py --help

<a id="help-command-output"></a>

bash
usage: app.py [-h] [--session SESSION] [--share] [--headless] [--ebook EBOOK] [--ebooks_dir EBOOKS_DIR]
              [--language LANGUAGE] [--voice VOICE] [--voice_map VOICE_MAP] [--device {CPU,CUDA,MPS,ROCM,XPU,JETSON}]
              [--tts_engine {XTTS,BARK,VITS,FAIRSEQ,TACOTRON,YOURTTS,xtts,bark,vits,fairseq,tacotron,yourtts}]
              [--custom_model CUSTOM_MODEL] [--fine_tuned FINE_TUNED] [--output_format OUTPUT_FORMAT]
              [--output_channel OUTPUT_CHANNEL] [--temperature TEMPERATURE] [--length_penalty LENGTH_PENALTY]
              [--num_beams NUM_BEAMS] [--repetition_penalty REPETITION_PENALTY] [--top_k TOP_K] [--top_p TOP_P]
              [--speed SPEED] [--enable_text_splitting] [--text_temp TEXT_TEMP] [--waveform_temp WAVEFORM_TEMP]
              [--output_dir OUTPUT_DIR] [--version]

Convert eBooks to Audiobooks using a Text-to-Speech model. You can either launch the Gradio interface or run the script in headless mode for direct conversion.

options:
  -h, --help            show this help message and exit
  --session SESSION     Session to resume the conversion in case of interruption, crash,
                            or reuse of custom models and custom cloning voices.

**** The following option is for gradio/gui mode only:
  --share               (Optional) Enable a public shareable Gradio link.

**** The following options are for --headless mode only:
  --headless            Run the script in headless mode
  --ebook EBOOK         Path to the ebook file for conversion. Cannot be used when --ebooks_dir is present.
  --ebooks_dir EBOOKS_DIR
                        Relative or absolute path of the directory containing the files to convert.
                            Cannot be used when --ebook is present.
  --text TEXT           Raw text for conversion. Cannot be used when --ebook or --ebooks_dir is present.
  --language LANGUAGE   Language of the e-book. Default language is set
                            in ./lib/lang.py sed as default if not present. All compatible language codes are in ./lib/lang.py

optional parameters:
  --translate ISO3      (Optional) Translate ebook to a target language (ISO 639-3 code, e.g. eng, fra, deu) before TTS synthesis.
                            Uses argostranslate. The target language becomes the effective TTS language for the run.
                            A copy of the source ebook is made with the _<iso3> suffix so translated and non-translated
                            outputs stay isolated (independent process folder, audio chunks, and final file).
  --voice VOICE         (Optional) Path to the voice cloning file for TTS engine.
                            Uses the default voice if not present.
  --voice_map VOICE_MAP
                        (Optional, --ebooks_dir only) Path to a JSON file mapping ebook path -> voice path.
                            Each entry overrides --voice for that specific ebook. Missing/null entries fall back to --voice.
                            Keys may be absolute paths or basenames. Example:
                            {"book1.epub": "/voices/eng/adult/female/alice.wav", "/abs/path/book2.epub": null}
  --device {CPU,CUDA,MPS,ROCM,XPU,JETSON}
                        (Optional) Processor unit type for the conversion.
                            Default is set in ./lib/conf.py if not present. Fall back to CPU if CUDA or MPS is not available.
  --tts_engine {XTTS,BARK,VITS,FAIRSEQ,TACOTRON,YOURTTS,xtts,bark,vits,fairseq,tacotron,yourtts}
                        (Optional) Preferred TTS engine (available are: ['XTTS', 'BARK', 'VITS', 'FAIRSEQ', 'TACOTRON', 'YOURTTS', 'xtts', 'bark', 'vits', 'fairseq', 'tacotron', 'yourtts'].
                            Default depends on the selected language. The tts engine should be compatible with the chosen language
  --custom_model CUSTOM_MODEL
                        (Optional) Path to the custom model zip file cntaining mandatory model files.
                            Please refer to ./lib/models.py
  --fine_tuned FINE_TUNED
                        (Optional) Fine tuned model path. Default is builtin model.
  --output_format OUTPUT_FORMAT
                        (Optional) Output audio format. Default is m4b set in ./lib/conf.py
  --output_channel OUTPUT_CHANNEL
                        (Optional) Output audio channel. Default is mono set in ./lib/conf.py
  --temperature TEMPERATURE
                        (xtts only, optional) Temperature for the model.
                            Default to config.json model. Higher temperatures lead to more creative outputs.
  --length_penalty LENGTH_PENALTY
                        (xtts only, optional) A length penalty applied to the autoregressive decoder.
                            Default to config.json model. Not applied to custom models.
  --num_beams NUM_BEAMS
                        (xtts only, optional) Controls how many alternative sequences the model explores. Must be equal or greater than length penalty.
                            Default to config.json model.
  --repetition_penalty REPETITION_PENALTY
                        (xtts only, optional) A penalty that prevents the autoregressive decoder from repeating itself.
                            Default to config.json model.
  --top_k TOP_K         (xtts only, optional) Top-k sampling.
                            Lower values mean more likely outputs and increased audio generation speed.
                            Default to config.json model.
  --top_p TOP_P         (xtts only, optional) Top-p sampling.
                            Lower values mean more likely outputs and increased audio generation speed. Default to config.json model.
  --speed SPEED         (xtts only, optional) Speed factor for the speech generation.
                            Default to config.json model.
  --enable_text_splitting
                        (xtts only, optional) Enable TTS text splitting. This option is known to not be very efficient.
                            Default to config.json model.
  --text_temp TEXT_TEMP
                        (bark only, optional) Text Temperature for the model.
                            Default to config.json model.
  --waveform_temp WAVEFORM_TEMP
                        (bark only, optional) Waveform Temperature for the model.
                            Default to config.json model.
  --output_dir OUTPUT_DIR
                        (Optional) Path to the output directory. Default is set in ./lib/conf.py
  --version             Show the version of the script and exit

Example usage:
Windows:
    Gradio/GUI:
    ebook2audiobook.cmd
    Headless mode:
    ebook2audiobook.cmd --headless --ebook '/path/to/file' --language eng
Linux/Mac:
    Gradio/GUI:
    ./ebook2audiobook.command
    Headless mode:
    ./ebook2audiobook.command --headless --ebook '/path/to/file' --language eng

SML tags available:
	[break] — silence (random range **0.3–0.6 sec.**)
	[pause] — silence (random range **1.0–1.6 sec.**)
	[pause:N] — fixed pause (**N sec.**)
	[voice:/path/to/voice/file]...[/voice] — switch voice from default or selected voice from GUI/CLI

HINWEIS: Um im gradio/gui-Modus eine laufende Konvertierung abzubrechen, klicken Sie einfach auf das [X] der E-Book-Upload-Komponente. TIPP: Wenn etwas mehr Pause nötig ist, fügen Sie '[pause:3]' für 3 Sek. usw. hinzu.

Docker

  1. Repository klonen:
bash
   git clone https://github.com/DrewThomasson/ebook2audiobook.git
   cd ebook2audiobook
  1. Container erstellen
bash
    Windows:
        Docker:
            ebook2audiobook.cmd --script_mode build_docker
        Docker Compose:
            ebook2audiobook.cmd --script_mode build_docker --docker_mode compose
        Podman Compose:
            ebook2audiobook.cmd --script_mode build_docker --docker_mode podman
    Linux/Mac
        Docker:
            ./ebook2audiobook.command --script_mode build_docker
        Docker Compose
            ./ebook2audiobook.command --script_mode build_docker --docker_mode compose
        Podman Compose:
            ./ebook2audiobook.command --script_mode build_docker --docker_mode podman
  1. Container ausführen:
bash
Docker run image:
    Gradio/GUI:
        CPU:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" --rm -it -p 7860:7860 athomasson2/ebook2audiobook:cpu
        CUDA:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" --gpus all --rm -it -p 7860:7860 athomasson2/ebook2audiobook:cu[118/122/124/126 etc..]
        ROCM:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" --device=/dev/kfd --device=/dev/dri --rm -it -p 7860:7860 athomasson2/ebook2audiobook:rocm[6.0/6.1/6.4 etc..]
        XPU:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" --device=/dev/dri --rm -it -p 7860:7860 athomasson2/ebook2audiobook:xpu
        JETSON:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" --runtime nvidia  --rm -it -p 7860:7860 athomasson2/ebook2audiobook:jetson[51/60/61 etc...]
    Headless mode:
        CPU:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" -v "/my/real/ebooks/folder/absolute/path:/app/another_ebook_folder" --rm -it -p 7860:7860 ebook2audiobook:cpu --headless --ebook "/app/another_ebook_folder/myfile.pdf" [--voice /app/my/voicepath/voice.mp3 etc..]
        CUDA:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" -v "/my/real/ebooks/folder/absolute/path:/app/another_ebook_folder" --gpus all --rm -it -p 7860:7860 ebook2audiobook:cu[118/122/124/126 etc..] --headless --ebook "/app/another_ebook_folder/myfile.pdf" [--voice /app/my/voicepath/voice.mp3 etc..]
        ROCM:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" -v "/my/real/ebooks/folder/absolute/path:/app/another_ebook_folder" --device=/dev/kfd --device=/dev/dri --rm -it -p 7860:7860 ebook2audiobook:rocm[6.0/6.1/6.4 etc.] --headless --ebook "/app/another_ebook_folder/myfile.pdf" [--voice /app/my/voicepath/voice.mp3 etc..]
        XPU:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" -v "/my/real/ebooks/folder/absolute/path:/app/another_ebook_folder" --device=/dev/dri --rm -it -p 7860:7860 ebook2audiobook:xpu --headless --ebook "/app/another_ebook_folder/myfile.pdf" [--voice /app/my/voicepath/voice.mp3 etc..]
        JETSON:
          docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" -v "/my/real/ebooks/folder/absolute/path:/app/another_ebook_folder" --runtime nvidia --rm -it -p 7860:7860 ebook2audiobook:jetson[51/60/61 etc.] --headless --ebook "/app/another_ebook_folder/myfile.pdf" [--voice /app/my/voicepath/voice.mp3 etc..]
Docker Compose (i.e. cuda 12.8:
        Run Gradio GUI:
               DEVICE_TAG=cu128 docker compose --profile gpu up --no-log-prefix
        Run Headless mode:
               DEVICE_TAG=cu128 docker compose --profile gpu run --rm ebook2audiobook --headless --ebook "/app/ebooks/myfile.pdf" --voice /app/voices/eng/adult/female/some_voice.wav etc..
Podman Compose (i.e. cuda 12.8:
        Run Gradio GUI:
               DEVICE_TAG=cu128 podman-compose -f podman-compose.yml --profile gpu up
        Run Headless mode:
               DEVICE_TAG=cu128 podman-compose -f podman-compose.yml --profile gpu run --rm ebook2audiobook-gpu --headless --ebook "/app/ebooks/myfile.pdf" --voice /app/voices/eng/adult/female/some_voice.wav etc..
  • HINWEIS: MPS wird in Docker nicht bereitgestellt, daher muss die CPU verwendet werden

Häufige Docker-Probleme

Feinabgestimmte (fine-tuned) TTS-Modelle

Stimmen Sie Ihr eigenes XTTSv2-Modell fein ab

Trainingsdaten entrauschen

Sammlung feinabgestimmter TTS-Modelle

Für ein benutzerdefiniertes XTTSv2-Modell ist ein Referenz-Audioclip der Stimme zwingend erforderlich:

Ihre eigene Ebook2Audiobook-Anpassung

Es steht Ihnen frei, libs/conf.py zu ändern, um die gewünschten Einstellungen hinzuzufügen oder zu entfernen. Falls Sie dies vorhaben, erstellen Sie einfach eine Kopie der ursprünglichen conf.py, damit Sie bei jedem ebook2audiobook-Update Ihre geänderte conf.py sichern und die Originaldatei wiederherstellen können. Sie müssen denselben Vorgang für models.py einplanen. Wenn Sie Ihr eigenes benutzerdefiniertes Modell zu einem offiziellen, feinabgestimmten ebook2audiobook-Modell machen möchten, kontaktieren Sie uns bitte, und wir fügen es der Preset-Liste hinzu.

Zu älteren Versionen zurückkehren

Releases finden Sie -> hier

bash
git checkout tags/VERSION_NUM # Locally/Compose -> Example: git checkout tags/v25.7.7

Häufige Probleme:

  • Meine NVIDIA-/ROCm-/XPU-/MPS-GPU wird nicht erkannt?? -> GPU ISSUES Wiki Page
  • Die CPU ist langsam (besser auf einer Server-SMP-CPU), während die GPU eine nahezu Echtzeit-Konvertierung erreichen kann. Discussion about this (Es hat allerdings kein Zero-Shot-Stimmenklonen und bietet Stimmen in Siri-Qualität, ist aber auf der CPU deutlich schneller).
  • „Ich habe Abhängigkeitsprobleme“ - Verwenden Sie einfach Docker, es ist vollständig eigenständig und hat einen Headless-Modus, fügen Sie für weitere Informationen den Parameter --help am Ende des docker-run-Befehls hinzu.
  • „Ich habe ein Problem mit abgeschnittenem Audio!“ - BITTE ERSTELLEN SIE DAZU EIN ISSUE, wir sprechen nicht jede Sprache und benötigen den Rat der Nutzer, um die Logik der Satztrennung zu verfeinern.😊

***** ROADMAP *****

  • Alle Funktionen offen für öffentliche Beiträge ⭐
  • Jede Hilfe von Personen, die eine der unterstützten Sprachen sprechen, um uns bei der Verbesserung der Modelle zu helfen ⭐
  • Blöcke/Kapitel vor dem Start der Konvertierung in der Vorschau anzeigen
  • Bearbeitung nach konvertiertem Satz für chirurgisch genaue Textänderungen
  • SML-Tag-Integration für Stimme, Pause, Unterbrechung und weitere Änderungen
  • Informationen zu den Parametern -h -help in verschiedenen Sprachen
  • OCR-Erkennung für PDF / JPG / BMP / PNG / TIFF
  • Notebooks-Ordner Talked about here
  • Die chinesische Textaufteilung so gestalten, dass keine Wörter getrennt werden, und das Pausen-Timing verbessern Talked about here
  • Dockerfile
  • Docker compose
  • Podman compose
  • Kaggle-Notebook
  • Google-Colab-Notebook
  • Eine iOS-App erstellen
  • Eine Android-App erstellen
  • Audiobookshelf-Integration

Zusätzliche Optionen

  • Option zur E-Book-Übersetzung
  • Auswahl des Ausgabeformats
  • Stapelverarbeitung eines E-Book-Ordners
  • Konvertierung mit Multiprocessing
  • Stapelkonvertierung eines E-Book-Ordners
  • GPU-Geräteerkennung
  • Beliebiges Referenz-Audio für das Stimmenklonen beim Upload entrauschen,
  • Upload eines benutzerdefinierten Modells (vorerst nur XTTSv2. mehr auf Anfrage)
  • Ein europäisch-portugiesisches Sprachmodell für mindestens xttsv2, fairseq, vits, piper hinzufügen (Hilfe willkommen)
  • Ein Sindhi-Sprachmodell für mindestens xttsv2, fairseq, vits, piper hinzufügen (Hilfe willkommen)

TTS-Engines

Readme-Übersetzung

  • Arabic (ara)
  • Chinese (zho)
  • English (eng)
  • Spanish (spa)
  • French (fra)
  • German (deu)
  • Italian (ita)
  • Portuguese (por)
  • Polish (pol)
  • Turkish (tur)
  • Russian (rus)
  • Dutch (nld)
  • Czech (ces)
  • Japanese (jpn)
  • Hindi (hin)
  • Bengali (ben)
  • Hungarian (hun)
  • Korean (kor)
  • Vietnamese (vie)
  • Swedish (swe)
  • Persian (fas)
  • Yoruba (yor)
  • Swahili (swa)
  • Indonesian (ind)
  • Slovak (slk)
  • Croatian (hrv)

🐍 Betriebssystem-Kompatibilität

  • 🍎 Mac Intel x86
  • 🪟 Windows x86
  • 🐧 Linux x86
  • 🖥️🍏 Apple Silicon Mac
  • 🪟💪 ARM Windows
  • 🐧💪 ARM Linux

Extra-Overkill für das Trainieren von Modellen und Ähnliches (alle unterstützten Coqui-tts-Modelle und piper-tts in einem einzigen einfachen Befehl)

Informationen zur Python-Code-Normalisierung für Mitwirkende

  • keine Leerzeile zwischen dem Code, außer zwischen Funktionen und Klassen.
  • einfaches Anführungszeichen für alle Schlüssel, außer bei dict() und json. dict['key'] wird immer mit einfachem Anführungszeichen aufgerufen
  • 4 Leerzeichen Einrückung, überhaupt kein Tab
  • strikte Typisierung für alle Funktionen sowie die Deklaration ihrer Argumente und Rückgabewerte
  • kein Leerzeichen zwischen dem Argument und seiner Typisierung, kein Leerzeichen zwischen der Funktion, dem „->“ und dem Rückgabewert

Beispiel:

python
import json
from typing import Optional

def get_user(user_id:int, users:list[dict])->Optional[dict]:
    for user in users:
        if user['id'] == user_id:
            return user
    return None

def summarize(user:dict)->str:
    return f"User {user['name']} is {'active' if user['is_active'] else 'inactive'}."

def to_json(user:dict)->str:
    return json.dumps({"id": user['id'], "name": user['name'], "email": user['email']})

users:list = [
    dict(id=1, name="alice", email="[email protected]", role="admin", is_active=True),
    dict(id=2, name="bob", email="[email protected]", role="editor", is_active=False),
    dict(id=3, name="carol", email="[email protected]", role="viewer", is_active=True),
]
config = {
    "max_users": 100,
    "default_role": "viewer",
    "allow_signup": True,
}
roles = ['admin', 'editor', 'viewer']
found = get_user(1, users)
if found:
    print(summarize(found))
    print(found['email'])
    print(to_json(found))
if config['default_role'] in roles:
    print(config['default_role'])

Hardware-Spende für Beta-Tests gesucht

Wir nehmen jede Art von Hardware an, um unsere Entwicklung zu testen, wie zum Beispiel:

  • Nvidia supporting cuda >= 11.8
  • XPU intel cards
  • ROCm AMD cards supporting ROCm >=5.7

@DrewThomasson, falls Sie auf irgendeine Weise mithelfen möchten! 😃

<!-- ## Müssen Sie eine GPU mieten, um unseren Service zu beschleunigen? - Eine Umfrage ist hier offen https://github.com/DrewThomasson/ebook2audiobook/discussions/889 -->

Besonderer Dank