Skip to content

Commit

Permalink
Merge pull request #1019 from oxygen-dioxide/rhythmizer-hanzi
Browse files Browse the repository at this point in the history
Diffsinger Rhythmizer phonemizer: Support hanzi input
  • Loading branch information
stakira authored Jan 25, 2024
2 parents 15d13c8 + 1d5b598 commit 19811ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions OpenUtau.Core/DiffSinger/DiffSingerRhythmizerPhonemizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,9 @@ public List<double> stretch(IList<double> source, double ratio, double endPos) {
result.RemoveAt(result.Count - 1);
return result;
}

protected override string[] Romanize(IEnumerable<string> lyrics) {
return BaseChinesePhonemizer.Romanize(lyrics);
}
}
}

0 comments on commit 19811ad

Please sign in to comment.