Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ normalize
Function
normalize
usr/singingvocoder/highgan.py:18–19 ·
view source on GitHub ↗
(S)
Source
from the content-addressed store, hash-verified
16
17
18
def
normalize(S):
19
return
np.clip((S + 100) / 100, -2, 2)
20
21
22
def
load_model_config(checkpoint_path, config_path):
Callers
1
spec2wav
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected