nnsvs.postfilters.variance_scaling

nnsvs.postfilters.variance_scaling(gv, feats, offset=2, note_frame_indices=None)[source]

Variance scaling method to enhance synthetic speech quality

Method proposed in Silén et al. [SilenHNG12].

Parameters:
  • gv (tensor) – global variance computed over training data

  • feats (tensor) – input features

  • offset (int) – offset

  • note_frame_indices (tensor) – indices of note frames

Returns:

scaled features

Return type:

tensor