Documentation ¶
Index ¶
- Constants
- func WriteComplex(w io.Writer, c complex128)
- func WriteComplexArray(w io.Writer, array []complex128)
- func WriteComplexBlock(w io.Writer, block [][]complex128)
- func WriteFloat32(w io.Writer, f float32)
- func WriteInt32(w io.Writer, i int32)
- type CQInverse
- type CQKernel
- type CQParams
- type ConstantQ
- type KaiserWindow
- type Kernel
- type Phase
- type Properties
- type Resampler
- type Spectrogram
- type Window
Constants ¶
View Source
const DEBUG = false
View Source
const DEBUG_CQ = false
View Source
const DEBUG_CQI = false
View Source
const DEBUG_R = false
Variables ¶
This section is empty.
Functions ¶
func WriteComplex ¶
func WriteComplex(w io.Writer, c complex128)
func WriteComplexArray ¶
func WriteComplexArray(w io.Writer, array []complex128)
func WriteComplexBlock ¶
func WriteComplexBlock(w io.Writer, block [][]complex128)
func WriteFloat32 ¶
func WriteInt32 ¶
Types ¶
type CQInverse ¶
type CQInverse struct { OutputLatency int // contains filtered or unexported fields }
func NewCQInverse ¶
func (*CQInverse) GetRemainingOutput ¶
Return clamped!
func (*CQInverse) Process ¶
func (cqi *CQInverse) Process(block [][]complex128) []float64
Return clamped!
func (*CQInverse) ProcessChannel ¶
func (cqi *CQInverse) ProcessChannel(blocks <-chan []complex128) <-chan float64
Return clamped!
type CQKernel ¶
type CQKernel struct { Properties Properties // contains filtered or unexported fields }
func (*CQKernel) ProcessInverse ¶
func (k *CQKernel) ProcessInverse(cv []complex128) []complex128
type ConstantQ ¶
type ConstantQ struct { OutputLatency int // contains filtered or unexported fields }
func NewConstantQ ¶
func (*ConstantQ) GetRemainingOutput ¶
func (cq *ConstantQ) GetRemainingOutput() [][]complex128
func (*ConstantQ) Process ¶
func (cq *ConstantQ) Process(td []float64) [][]complex128
func (*ConstantQ) ProcessChannel ¶
func (cq *ConstantQ) ProcessChannel(samples <-chan float64) <-chan []complex128
type KaiserWindow ¶
type KaiserWindow struct {
// contains filtered or unexported fields
}
type Properties ¶
type Properties struct { Q float64 // contains filtered or unexported fields }
type Resampler ¶
type Resampler struct {
// contains filtered or unexported fields
}
func NewResampler ¶
func (*Resampler) GetLatency ¶
type Spectrogram ¶
type Spectrogram struct {
// contains filtered or unexported fields
}
func NewSpectrogram ¶
func NewSpectrogram(params CQParams) *Spectrogram
func (*Spectrogram) GetRemainingOutput ¶
func (spec *Spectrogram) GetRemainingOutput() [][]complex128
func (*Spectrogram) Process ¶
func (spec *Spectrogram) Process(values []float64) [][]complex128
func (*Spectrogram) ProcessChannel ¶
func (spec *Spectrogram) ProcessChannel(samples <-chan float64) <-chan []complex128
Click to show internal directories.
Click to hide internal directories.