Documentation ¶
Overview ¶
Package gossp provides support for speech signal processing.
Index ¶
- func Angle(z complex128) float64
- func DivideFrames(input []float64, frameLen, frameShift int) [][]float64
- func HistC(x, edges []float64) []int
- func Hz2Mel(freq float64) float64
- func Interp1(x, y, xi []float64) []float64
- func Mel2Hz(mel float64) float64
- func ReconstructSpectrogram(amplitudeSpectrogram, phaseSpectrogram [][]float64) [][]complex128
- func ReconstructSpectrum(amp, phase []float64) []complex128
- func SplitSpectrogram(spectrogram [][]complex128) ([][]float64, [][]float64)
- func SplitSpectrum(spec []complex128) ([]float64, []float64)
- func Symmetrize(x []float64) []float64
- func ToReal(x []complex128) []float64
- func UnWrap(phase []float64) []float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DivideFrames ¶
DivideFrames returns overlapping divided frames.
func ReconstructSpectrogram ¶
func ReconstructSpectrogram(amplitudeSpectrogram, phaseSpectrogram [][]float64) [][]complex128
ReconstructSpectrogram returns complex spectrogram from amplitude phase spectrogram.
func ReconstructSpectrum ¶
func ReconstructSpectrum(amp, phase []float64) []complex128
ReconstructSpectrum returns complex spectrum from amplitude and phase spectrum. angle(X(k)) and |X(k)| -> X(k)
func SplitSpectrogram ¶
func SplitSpectrogram(spectrogram [][]complex128) ([][]float64, [][]float64)
SplitSpectrogram returns SpilitSpectrum for each time frame.
func SplitSpectrum ¶
func SplitSpectrum(spec []complex128) ([]float64, []float64)
SplitSpectrum splits complex spectrum X(k) to amplitude |X(k)| and angle(X(k))
func Symmetrize ¶
Symmetrize returns symmetrized vector given a input vector.
func ToReal ¶
func ToReal(x []complex128) []float64
ToReal performs a real sequence from a complex sequence.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
3rdparty
|
|
mcepalpha
Package mcepalpha provides support for determination of all-pass constant for mel-cepstrum analysis.
|
Package mcepalpha provides support for determination of all-pass constant for mel-cepstrum analysis. |
sptk
Package sptk provides Go interface to SPTK (Speech Signal Processing Toolkit), which is originally written in C.
|
Package sptk provides Go interface to SPTK (Speech Signal Processing Toolkit), which is originally written in C. |
Package dct provides support for Discrete Cosine Transform (DCT).
|
Package dct provides support for Discrete Cosine Transform (DCT). |
Package dtw provides support for Dynamic Time Warping (DTW) to align two time-series.
|
Package dtw provides support for Dynamic Time Warping (DTW) to align two time-series. |
Package excite provides support for excitation generation from fundamental frequency.
|
Package excite provides support for excitation generation from fundamental frequency. |
Package f0 provides support for fundamental frequency (f0) estimatnion.
|
Package f0 provides support for fundamental frequency (f0) estimatnion. |
Package io privides I/O for speech signal processing.
|
Package io privides I/O for speech signal processing. |
Package mgcep provides support for Mel-Generalized Cepstrum Analysis.
|
Package mgcep provides support for Mel-Generalized Cepstrum Analysis. |
Package special provides special functions.
|
Package special provides special functions. |
Package stft provides support for Short-Time Fourier Transform (STFT) Analysis.
|
Package stft provides support for Short-Time Fourier Transform (STFT) Analysis. |
Package vocoder provides support for vocoding.
|
Package vocoder provides support for vocoding. |
Package window provides window functions.
|
Package window provides window functions. |
Package z provides support for Z transform to analyze digital filters.
|
Package z provides support for Z transform to analyze digital filters. |
Click to show internal directories.
Click to hide internal directories.