Sliding

object Sliding extends SlidingPlatform

Sliding overlapping window.

class Object
trait Matchable
class Any

Type members

Classlikes

abstract
class Logic[A, E <: BufElem[A]](shape: Shp[E], layer: Layer)(implicit ctrl: Control, tpe: StreamType[A, E]) extends Handlers[Shp[E]]
abstract
class Window[A](val size0: Int, val dispose: () => Unit)
final
class WindowD(buf: DoubleBuffer, size0: Int, dispose: () => Unit) extends Window[Double]
final
class WindowI(buf: IntBuffer, size0: Int, dispose: () => Unit) extends Window[Int]
final
class WindowL(buf: LongBuffer, size0: Int, dispose: () => Unit) extends Window[Long]

Inherited classlikes

final protected
class LogicD(shape: Shp[BufD], layer: Layer)(implicit ctrl: Control)
Inherited from
SlidingPlatform
final protected
class LogicI(shape: Shp[BufI], layer: Layer)(implicit ctrl: Control)
Inherited from
SlidingPlatform
final protected
class LogicL(shape: Shp[BufL], layer: Layer)(implicit ctrl: Control)
Inherited from
SlidingPlatform
protected
trait LogicPlatform[A, E <: BufElem[A]]
Inherited from
SlidingPlatform

Types

type Shp[E] = FanInShape3[E, BufI, BufI, E]

Value members

Concrete methods

def apply[A, E <: BufElem[A]](in: Outlet[E], size: OutI, step: OutI)(implicit b: Builder, tpe: StreamType[A, E]): Outlet[E]
Value Params
in

the signal to window

size

the window size. this is clipped to be &lt;= 1

step

the step size. this is clipped to be &lt;= 1. If step size is larger than window size, frames in the input are skipped.