fft

package
v0.0.0-...-36347e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2019 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Raw_FFT

func Raw_FFT(x []float64, y []complex128)

func Raw_iFFT

func Raw_iFFT(x []complex128, y []complex128)

Types

type DCT4

type DCT4 struct {
	// contains filtered or unexported fields
}

A Discrete Cosine transform.

func (*DCT4) Decode

func (d *DCT4) Decode(x []float64, y []float64)

func (*DCT4) Encode

func (d *DCT4) Encode(x []float64, y []float64)

type MDCT

type MDCT struct {
	DCT        DCT4
	Half, Full int
	Prev       []float64
	Inpt       []float64
	Temp       []float64
	Outp       []float64
}

A Modified Discrete Cosine Transform.

An instance must not be used for encoding and decoding Simultaneously!

func (*MDCT) DecodeHalfBlock

func (m *MDCT) DecodeHalfBlock(src, dst []float64)

func (*MDCT) EncodeHalfBlock

func (m *MDCT) EncodeHalfBlock(src []float64) []float64

func (*MDCT) Init

func (m *MDCT) Init(bz int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL