Skip to content

Commit

Permalink
Merge pull request #1138 from maiko3tattun/0512_PositionFailedRender
Browse files Browse the repository at this point in the history
Showing positions that failed to render
  • Loading branch information
stakira authored Jun 9, 2024
2 parents eff51fb + 45ad472 commit e95697c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OpenUtau.Core/Classic/ClassicRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public Task<RenderResult> RenderInternal(RenderPhrase phrase, Progress progress,
item.resampler.DoResamplerReturnsFile(item, Log.Logger);
}
if (!File.Exists(item.outputFile)) {
throw new InvalidDataException($"{item.resampler} failed to resample \"{item.phone.phoneme}\"");
DocManager.Inst.Project.timeAxis.TickPosToBarBeat(item.phrase.position + item.phone.position, out int bar, out int beat, out int tick);
throw new InvalidDataException($"{item.resampler} failed to resample \"{item.phone.phoneme}\" at {bar}:{beat}.{string.Format("{0:000}", tick)}");
}
if (!(item.resampler is WorldlineResampler)) {
VoicebankFiles.Inst.CopyBackMetaFiles(item.inputFile, item.inputTemp);
Expand Down

0 comments on commit e95697c

Please sign in to comment.