Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
fe1ca374
"git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "be5841e45d42d7ffe9ee5e29d6348a84fe141caa"
Unverified
Commit
fe1ca374
authored
Oct 21, 2021
by
moto
Committed by
GitHub
Oct 21, 2021
Browse files
Add more example to TTS doc (#1917)
parent
31dbb754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
torchaudio/pipelines/_tts/impl.py
torchaudio/pipelines/_tts/impl.py
+50
-0
No files found.
torchaudio/pipelines/_tts/impl.py
View file @
fe1ca374
...
@@ -242,6 +242,18 @@ Example - "Hello world! T T S stands for Text to Speech!"
...
@@ -242,6 +242,18 @@ Example - "Hello world! T T S stands for Text to Speech!"
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_CHAR_LJSPEECH.wav" type="audio/wav">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_CHAR_LJSPEECH.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
Your browser does not support the <code>audio</code> element.
</audio>
</audio>
Example - "The examination and testimony of the experts enabled the Commission to conclude that five shots may have been fired,"
.. image:: https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_CHAR_LJSPEECH_v2.png
:alt: Spectrogram generated by Tacotron2
.. raw:: html
<audio controls="controls">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_CHAR_LJSPEECH_v2.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
</audio>
'''
)
# noqa: E501
'''
)
# noqa: E501
TACOTRON2_GRIFFINLIM_PHONE_LJSPEECH
=
_Tacotron2GriffinLimPhoneBundle
(
TACOTRON2_GRIFFINLIM_PHONE_LJSPEECH
=
_Tacotron2GriffinLimPhoneBundle
(
...
@@ -277,6 +289,19 @@ Example - "Hello world! T T S stands for Text to Speech!"
...
@@ -277,6 +289,19 @@ Example - "Hello world! T T S stands for Text to Speech!"
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_PHONE_LJSPEECH.wav" type="audio/wav">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_PHONE_LJSPEECH.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
Your browser does not support the <code>audio</code> element.
</audio>
</audio>
Example - "The examination and testimony of the experts enabled the Commission to conclude that five shots may have been fired,"
.. image:: https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_PHONE_LJSPEECH_v2.png
:alt: Spectrogram generated by Tacotron2
.. raw:: html
<audio controls="controls">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_GRIFFINLIM_PHONE_LJSPEECH_v2.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
</audio>
'''
)
# noqa: E501
'''
)
# noqa: E501
TACOTRON2_WAVERNN_CHAR_LJSPEECH
=
_Tacotron2WaveRNNCharBundle
(
TACOTRON2_WAVERNN_CHAR_LJSPEECH
=
_Tacotron2WaveRNNCharBundle
(
...
@@ -313,6 +338,18 @@ Example - "Hello world! T T S stands for Text to Speech!"
...
@@ -313,6 +338,18 @@ Example - "Hello world! T T S stands for Text to Speech!"
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_CHAR_LJSPEECH.wav" type="audio/wav">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_CHAR_LJSPEECH.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
Your browser does not support the <code>audio</code> element.
</audio>
</audio>
Example - "The examination and testimony of the experts enabled the Commission to conclude that five shots may have been fired,"
.. image:: https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_CHAR_LJSPEECH_v2.png
:alt: Spectrogram generated by Tacotron2
.. raw:: html
<audio controls="controls">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_CHAR_LJSPEECH_v2.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
</audio>
'''
)
# noqa: E501
'''
)
# noqa: E501
TACOTRON2_WAVERNN_PHONE_LJSPEECH
=
_Tacotron2WaveRNNPhoneBundle
(
TACOTRON2_WAVERNN_PHONE_LJSPEECH
=
_Tacotron2WaveRNNPhoneBundle
(
...
@@ -353,4 +390,17 @@ Example - "Hello world! T T S stands for Text to Speech!"
...
@@ -353,4 +390,17 @@ Example - "Hello world! T T S stands for Text to Speech!"
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_PHONE_LJSPEECH.wav" type="audio/wav">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_PHONE_LJSPEECH.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
Your browser does not support the <code>audio</code> element.
</audio>
</audio>
Example - "The examination and testimony of the experts enabled the Commission to conclude that five shots may have been fired,"
.. image:: https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_PHONE_LJSPEECH_v2.png
:alt: Spectrogram generated by Tacotron2
.. raw:: html
<audio controls="controls">
<source src="https://download.pytorch.org/torchaudio/doc-assets/TACOTRON2_WAVERNN_PHONE_LJSPEECH_v2.wav" type="audio/wav">
Your browser does not support the <code>audio</code> element.
</audio>
'''
)
# noqa: E501
'''
)
# noqa: E501
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment