go-world: github.com/r9y9/go-world Index | Files | Directories

package world

import "github.com/r9y9/go-world"

Package world provide a Go interface to WORLD - a high-quality speech analysis, modification and synthesis system.

Index

Package Files

cgo_world.go world.go

func CheapTrick Uses

func CheapTrick(x []float64, fs int, timeAxis, f0 []float64) [][]float64

func D4C Uses

func D4C(x []float64, fs int, timeAxis, f0 []float64) [][]float64

func Dio Uses

func Dio(x []float64, fs int, option DioOption) ([]float64, []float64)

func GetFFTSizeForCheapTrick Uses

func GetFFTSizeForCheapTrick(fs int) int

func GetFFTSizeForStar Uses

func GetFFTSizeForStar(fs int) int

GetFFTSizeForStar is deprecated. Use GetFFTSizeForCheapTrick instead.

func GetSamplesForDIO Uses

func GetSamplesForDIO(fs, x_length int, framePeriod float64) int

func StoneMask Uses

func StoneMask(x []float64, fs int, timeAxis, f0 []float64) []float64

func Synthesis Uses

func Synthesis(f0 []float64, spectrogram, aperiodicity [][]float64,
    framePeriod float64, fs, length int) []float64

type DioOption Uses

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 Uses

func NewDioOption() DioOption

type World Uses

type World struct {
    Fs          int
    FramePeriod float64 // [ms]
}

World represents WORLD - high-quality speech analysis, modification and synthesis system.

func New Uses

func New(fs int, framePeriod float64) *World

New returns a new world instanece with sample rate (fs) and framePeriod [ms].

func (*World) CheapTrick Uses

func (w *World) CheapTrick(x []float64, timeAxis, f0 []float64) [][]float64

func (*World) D4C Uses

func (w *World) D4C(x, timeAxis, f0 []float64) [][]float64

func (*World) Dio Uses

func (w *World) Dio(x []float64, option DioOption) ([]float64, []float64)

func (*World) NewDioOption Uses

func (w *World) NewDioOption() DioOption

NewDioOption returns a default DioOpton.

func (*World) Star Uses

func (w *World) Star(x []float64, timeAxis, f0 []float64) [][]float64

Star is deprecated. Use CheapTrick instead.

func (*World) StoneMask Uses

func (w *World) StoneMask(x []float64, timeAxis, f0 []float64) []float64

func (*World) Synthesis Uses

func (w *World) Synthesis(f0 []float64,
    spectrogram, aperiodicity [][]float64, length int) []float64

Directories

PathSynopsis
example

Package world imports 1 packages (graph) and is imported by 1 packages. Updated 2016-07-28. Refresh now. Tools for package owners.