pysptk.sptk.excite(pitch, hopsize=100, interp_period=1, gaussian=False, seed=1)

Excitation generation

pitch : array

Pitch sequence.


excite assumes that input is a pitch sequence, not f0 sequence. Pitch sequence can be obtained by speficying `otype="pitch" to F0 estimation methods.

hopsize : int

Hop size (frame period in sample). Default is 100.

interp_period : int

Interpolation period. Default is 1.

gaussian : bool

If True, generate gausssian noise for unvoiced frames, otherwise generate M-sequence. Default is False.

seed : int

Seed for nrand for Gaussian noise. Default is 1.

excitation : array

Excitation signal