Skip to content

feat: Add mu-law support for voicing. - #1

Open
KakaruHayate wants to merge 2 commits into
LiuYunPlayer:mainfrom
KakaruHayate:mulaw-pr
Open

feat: Add mu-law support for voicing.#1
KakaruHayate wants to merge 2 commits into
LiuYunPlayer:mainfrom
KakaruHayate:mulaw-pr

Conversation

@KakaruHayate

Copy link
Copy Markdown

Introduce 'mulaw' voicing_domain and mu-law energy handling across configs and preprocessing. Configs updated to include voicing_domain='mulaw' (acoustic/variance templates and instances). Acoustic/variance binarizers now pass hparams['voicing_domain'] to get_voicing. Parameter adaptor clamps voicing max to 0 when domain is 'mulaw'. get_energy_librosa and get_voicing gain new domain/mu params and implement mu-law compression (default mu=255) to produce a dB-like range compatible with existing pipelines. These changes add support for mu-law representation of voicing/energy.


Originally submitted to openvpi/DiffSinger as openvpi#304.

KakaruHayate and others added 2 commits May 24, 2026 22:08
Introduce 'mulaw' voicing_domain and mu-law energy handling across configs and preprocessing. Configs updated to include voicing_domain='mulaw' (acoustic/variance templates and instances). Acoustic/variance binarizers now pass hparams['voicing_domain'] to get_voicing. Parameter adaptor clamps voicing max to 0 when domain is 'mulaw'. get_energy_librosa and get_voicing gain new domain/mu params and implement mu-law compression (default mu=255) to produce a dB-like range compatible with existing pipelines. These changes add support for mu-law representation of voicing/energy.

revert
@KakaruHayate

Copy link
Copy Markdown
Author
422b5e659fb719f99a6d31113d047c3d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant