MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / cwt2f0_norm

Method cwt2f0_norm

usr/diff/shallow_diffusion_tts.py:349–350  ·  view source on GitHub ↗
(self, cwt_spec, mean, std, mel2ph)

Source from the content-addressed store, hash-verified

347 return (x + 1) / 2 * (self.spec_max - self.spec_min) + self.spec_min
348
349 def cwt2f0_norm(self, cwt_spec, mean, std, mel2ph):
350 return self.fs2.cwt2f0_norm(cwt_spec, mean, std, mel2ph)
351
352 def out2mel(self, x):
353 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected