Documentation ¶
Overview ¶
Package world provide a Go interface to WORLD - a high-quality speech analysis, modification and synthesis system.
Index ¶
- func CheapTrick(x []float64, fs int, timeAxis, f0 []float64) [][]float64
- func D4C(x []float64, fs int, timeAxis, f0 []float64) [][]float64
- func Dio(x []float64, fs int, option DioOption) ([]float64, []float64)
- func GetFFTSizeForCheapTrick(fs int) int
- func GetFFTSizeForStar(fs int) int
- func GetSamplesForDIO(fs, x_length int, framePeriod float64) int
- func StoneMask(x []float64, fs int, timeAxis, f0 []float64) []float64
- func Synthesis(f0 []float64, spectrogram, aperiodicity [][]float64, framePeriod float64, ...) []float64
- type DioOption
- type World
- func (w *World) CheapTrick(x []float64, timeAxis, f0 []float64) [][]float64
- func (w *World) D4C(x, timeAxis, f0 []float64) [][]float64
- func (w *World) Dio(x []float64, option DioOption) ([]float64, []float64)
- func (w *World) NewDioOption() DioOption
- func (w *World) Star(x []float64, timeAxis, f0 []float64) [][]float64
- func (w *World) StoneMask(x []float64, timeAxis, f0 []float64) []float64
- func (w *World) Synthesis(f0 []float64, spectrogram, aperiodicity [][]float64, length int) []float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFFTSizeForCheapTrick ¶
func GetFFTSizeForStar ¶
GetFFTSizeForStar is deprecated. Use GetFFTSizeForCheapTrick instead.
func GetSamplesForDIO ¶
Types ¶
type DioOption ¶
type DioOption struct { F0Floor float64 F0Ceil float64 ChannelsInOctave float64 FramePeriod float64 // [ms] Speed int // (1,2, ..., 12) AllowedRange float64 // recommended: 0.02 * FramePeriod }
func NewDioOption ¶
func NewDioOption() DioOption
type World ¶
World represents WORLD - high-quality speech analysis, modification and synthesis system.
func (*World) CheapTrick ¶
func (*World) NewDioOption ¶
NewDioOption returns a default DioOpton.
Click to show internal directories.
Click to hide internal directories.