Signal Proc
Constructors
Functions
Link copied to clipboard
fun deframesig( frames: Array<FloatArray>, sigLen: Int, frameLen: Int, frameStep: Int, winFunc: (Int) -> IntArray = { Array(it){ 1 }.toIntArray() }): FloatArray
Content copied to clipboard
Does overlap-add procedure to undo the action of framesig.
Link copied to clipboard
fun framesig( signal: FloatArray, frameLen: Int, frameStep: Int, winFunc: FloatArray? = null, strideTrick: Boolean = true): Array<FloatArray>
Content copied to clipboard
Frame a signal into overlapping frames.
Link copied to clipboard
fun logpowspec( frames: Array<FloatArray>, nfft: Int, norm: Boolean = true): Array<FloatArray>
Content copied to clipboard
Compute the log power spectrum of each frame in frames. If frames is an NxD matrix, output will be Nx(NFFT/2+1).
Link copied to clipboard
Compute the magnitude spectrum of each frame in frames. If frames is an NxD matrix, output will be Nx(NFFT/2+1).
Link copied to clipboard
Compute the power spectrum of each frame in frames. If frames is an NxD matrix, output will be Nx(NFFT/2+1).
Link copied to clipboard
Perform preemphasis on the input signal.