nnsvs.gen.gen_world_params

nnsvs.gen.gen_world_params(mgc, lf0, vuv, bap, sample_rate, vuv_threshold=0.3, use_world_codec=False)[source]

Generate WORLD parameters from mgc, lf0, vuv and bap.

Parameters:
  • mgc (ndarray) – mgc

  • lf0 (ndarray) – lf0

  • vuv (ndarray) – vuv

  • bap (ndarray) – bap

  • sample_rate (int) – sample rate

  • vuv_threshold (float) – threshold for VUV

  • use_world_codec (bool) – whether to use WORLD codec for spectral envelope

Returns:

tuple of f0, spectrogram and aperiodicity

Return type:

tuple