pyopenjtalk.htsengine

The cython module for HTSEngine.

HTSEngine

class pyopenjtalk.htsengine.HTSEngine
Parameters

voice (bytes) – File path of htsvoice.

add_half_tone()

Additional half tone in log-f0

Parameters

half_tone (float) – additional half tone

get_fperiod()

Get frame period

get_fullcontext_label_format()

Get full-context label format

get_generated_speech()

Get generated speech

get_sampling_frequency()

Get sampling frequency

set_speed()

Set speed

Parameters

speed (float) – speed

synthesize()

Synthesize waveform from list of full-context labels

Parameters

labels – full context labels

Returns

speech waveform

Return type

np.ndarray

synthesize_from_strings()

Synthesize from strings