Methodgenerate The generate function in huggingface generally follows these steps: for sample_step in 1, 2, 3, 4, 5, ... ...
boson_multimodal/model/higgs_audio/modeling_higgs_audio.py:1933
Functionpcm16_to_target_format(
np_audio: np.ndarray,
sample_rate: int,
bit_depth: int,
channels: int,
format: str,
boson_multimodal/serve/utils.py:35