Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ load_wav
Function
load_wav
modules/hifigan/mel_utils.py:10–12 ·
view source on GitHub ↗
(full_path)
Source
from the content-addressed store, hash-verified
8
9
10
def
load_wav(full_path):
11
sampling_rate, data = read(full_path)
12
return
data, sampling_rate
13
14
15
def
dynamic_range_compression(x, C=1, clip_val=1e-5):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected