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

Function normalize

utils/audio.py:55–56  ·  view source on GitHub ↗
(S, hparams)

Source from the content-addressed store, hash-verified

53
54
55def normalize(S, hparams):
56 return (S - hparams['min_level_db']) / -hparams['min_level_db']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected