Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ dynamic_range_decompression
Function
dynamic_range_decompression
modules/hifigan/mel_utils.py:19–20 ·
view source on GitHub ↗
(x, C=1)
Source
from the content-addressed store, hash-verified
17
18
19
def
dynamic_range_decompression(x, C=1):
20
return
np.exp(x) / C
21
22
23
def
dynamic_range_compression_torch(x, C=1, clip_val=1e-5):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected