fx2
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ tags:
|
|
23 |
- Affective TTS via [SHIFT TTS tool](https://github.com/audeering/shift)
|
24 |
- Soundscapes, e.g. trees, water, leaves, generations via [AudioGen](https://huggingface.co/dkounadis/artificial-styletts2/discussions/3)
|
25 |
- `landscape2soundscape.py` shows how to overlay TTS & Soundscape to Images
|
26 |
-
- `134` build-in voices
|
27 |
|
28 |
## Available Voices
|
29 |
|
@@ -50,7 +50,7 @@ CUDA_DEVICE_ORDER=PCI_BUS_ID HF_HOME=./hf_home CUDA_VISIBLE_DEVICES=2 python api
|
|
50 |
|
51 |
The following need `api.py` to be running on a `tmux session`.
|
52 |
|
53 |
-
|
54 |
|
55 |
```python
|
56 |
# Basic TTS - See Available Voices
|
@@ -60,14 +60,14 @@ python tts.py --text sample.txt --voice "en_US/m-ailabs_low#mary_ann" --affectiv
|
|
60 |
python tts.py --text sample.txt --native assets/native_voice.wav
|
61 |
```
|
62 |
|
63 |
-
|
64 |
|
65 |
```python
|
66 |
# Make video narrating an image - All above TTS args apply also here!
|
67 |
python tts.py --text sample.txt --image assets/image_from_T31.jpg
|
68 |
```
|
69 |
|
70 |
-
|
71 |
|
72 |
```python
|
73 |
# Video Dubbing - from time-stamped subtitles (.srt)
|
@@ -77,14 +77,14 @@ python tts.py --text assets/head_of_fortuna_en.srt --video assets/head_of_fortun
|
|
77 |
python tts.py --text assets/head_of_fortuna_GPT.txt --video assets/head_of_fortuna.mp4
|
78 |
```
|
79 |
|
80 |
-
|
81 |
|
82 |
```python
|
83 |
# TTS & soundscape - overlay to .mp4
|
84 |
python landscape2soundscape.py
|
85 |
```
|
86 |
|
87 |
-
|
88 |
|
89 |
Substitute Native voice via TTS
|
90 |
|
|
|
23 |
- Affective TTS via [SHIFT TTS tool](https://github.com/audeering/shift)
|
24 |
- Soundscapes, e.g. trees, water, leaves, generations via [AudioGen](https://huggingface.co/dkounadis/artificial-styletts2/discussions/3)
|
25 |
- `landscape2soundscape.py` shows how to overlay TTS & Soundscape to Images
|
26 |
+
- `134` build-in TTS voices
|
27 |
|
28 |
## Available Voices
|
29 |
|
|
|
50 |
|
51 |
The following need `api.py` to be running on a `tmux session`.
|
52 |
|
53 |
+
## Text 2 Speech
|
54 |
|
55 |
```python
|
56 |
# Basic TTS - See Available Voices
|
|
|
60 |
python tts.py --text sample.txt --native assets/native_voice.wav
|
61 |
```
|
62 |
|
63 |
+
## Image 2 Video
|
64 |
|
65 |
```python
|
66 |
# Make video narrating an image - All above TTS args apply also here!
|
67 |
python tts.py --text sample.txt --image assets/image_from_T31.jpg
|
68 |
```
|
69 |
|
70 |
+
## Video 2 Video
|
71 |
|
72 |
```python
|
73 |
# Video Dubbing - from time-stamped subtitles (.srt)
|
|
|
77 |
python tts.py --text assets/head_of_fortuna_GPT.txt --video assets/head_of_fortuna.mp4
|
78 |
```
|
79 |
|
80 |
+
## Landscape 2 Soundscape
|
81 |
|
82 |
```python
|
83 |
# TTS & soundscape - overlay to .mp4
|
84 |
python landscape2soundscape.py
|
85 |
```
|
86 |
|
87 |
+
# Examples
|
88 |
|
89 |
Substitute Native voice via TTS
|
90 |
|