MCPcopy Index your code
hub / github.com/FunAudioLLM/ThinkSound / prepare_audio

Function prepare_audio

ThinkSound/inference/utils.py:17–35  ·  view source on GitHub ↗
(audio, in_sr, target_sr, target_length, target_channels, device)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

generate_diffusion_condFunction · 0.85

Calls 2

PadCropClass · 0.85
set_audio_channelsFunction · 0.85

Tested by

no test coverage detected