Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ spectral_normalize_torch
Function
spectral_normalize_torch
modules/hifigan/mel_utils.py:31–33 ·
view source on GitHub ↗
(magnitudes)
Source
from the content-addressed store, hash-verified
29
30
31
def
spectral_normalize_torch(magnitudes):
32
output = dynamic_range_compression_torch(magnitudes)
33
return
output
34
35
36
def
spectral_de_normalize_torch(magnitudes):
Callers
1
mel_spectrogram
Function · 0.85
Calls
1
dynamic_range_compression_torch
Function · 0.85
Tested by
no test coverage detected