Skip to content

Commit

Permalink
Merge pull request #1002 from oxygen-dioxide/diffsinger-sample
Browse files Browse the repository at this point in the history
Diffsinger: fix unable to load sample and portrait height from character.yaml
  • Loading branch information
stakira authored Jan 25, 2024
2 parents 19811ad + cf47fb2 commit 2abd8dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenUtau.Core/DiffSinger/DiffSingerSinger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class DiffSingerSinger : USinger {
public override byte[] AvatarData => avatarData;
public override string Portrait => voicebank.Portrait == null ? null : Path.Combine(Location, voicebank.Portrait);
public override float PortraitOpacity => voicebank.PortraitOpacity;
public override int PortraitHeight => voicebank.PortraitHeight;
public override string Sample => voicebank.Sample == null ? null : Path.Combine(Location, voicebank.Sample);
public override string DefaultPhonemizer => voicebank.DefaultPhonemizer;
public override Encoding TextFileEncoding => voicebank.TextFileEncoding;
public override IList<USubbank> Subbanks => subbanks;
Expand Down

0 comments on commit 2abd8dc

Please sign in to comment.