Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can run this advanced cell on [Google Colab](https://colab.research.google.c
# 2️⃣ Install espeak, used for English OOD fallback and some non-English languages
!apt-get -qq -y install espeak-ng > /dev/null 2>&1

# 3️⃣ Initalize a pipeline
# 3️⃣ Initialize a pipeline
from kokoro import KPipeline
from IPython.display import display, Audio
import soundfile as sf
Expand Down
4 changes: 2 additions & 2 deletions demo/en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A life spent making mistakes is not only more honorable, but more useful than a
A little knowledge that acts is worth infinitely more than much knowledge that is idle.
A little more persistence, a little more effort, and what seemed hopeless failure may turn to glorious success.
A long habit of not thinking a thing wrong gives it a superficial appearance of being right.
A lot of people give up just before theyre about to make it. You know you never know when that next obstacle is going to be the last one.
A lot of people give up just before they're about to make it. You know you never know when that next obstacle is going to be the last one.
A lot of times people look at the negative side of what they feel they can't do. I always look on the positive side of what I can do.
A man cannot be said to succeed in this life who does not satisfy one friend.
A man is great by deeds, not by birth.
Expand Down Expand Up @@ -1269,7 +1269,7 @@ People ask me what I do in winter when there's no baseball. I'll tell you what I
People don't notice whether it's winter or summer when they're happy.
People grow through experience if they meet life honestly and courageously. This is how character is built.
People may doubt what you say, but they will believe what you do.
People take different roads seeking fulfilment and happiness. Just because they're not on your road doesn't mean they've gotten lost.
People take different roads seeking fulfillment and happiness. Just because they're not on your road doesn't mean they've gotten lost.
People usually compare the computer to the head of the human being. I would say that hardware is the bone of the head, the skull. The semiconductor is the brain within the head. The software is the wisdom. And data is the knowledge.
Perfection of means and confusion of ends seems to characterize our age.
Permanence, perseverance and persistence in spite of all obstacles, discouragements, and impossibilities: It is this, that in all things distinguishes the strong soul from the weak.
Expand Down
4 changes: 2 additions & 2 deletions kokoro.js/tests/splitting.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ TESTS.push(
},
{
name: "Surprise sentence should not split",
input: "What a suprise?!",
target: ["What a suprise?!"],
input: "What a surprise?!",
target: ["What a surprise?!"],
},
{
name: "Ellipsis should not split",
Expand Down
4 changes: 2 additions & 2 deletions kokoro/istftnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _f02sine(self, f0_values):
""" f0_values: (batchsize, length, dim)
where dim indicates fundamental tone and overtones
"""
# convert to F0 in rad. The interger part n can be ignored
# convert to F0 in rad. The integer part n can be ignored
# because 2 * torch.pi * n doesn't affect phase
rad_values = (f0_values / self.sampling_rate) % 1
# initial phase noise (no noise for fundamental component)
Expand Down Expand Up @@ -219,7 +219,7 @@ class SourceModuleHnNSF(nn.Module):
add_noise_std: std of additive Gaussian noise (default: 0.003)
note that amplitude of noise in unvoiced is decided
by sine_amp
voiced_threshold: threhold to set U/V given F0 (default: 0)
voiced_threshold: threshold to set U/V given F0 (default: 0)
Sine_source, noise_source = SourceModuleHnNSF(F0_sampled)
F0_sampled (batchsize, length, 1)
Sine_source (batchsize, length, 1)
Expand Down