Packages

t

de.sciss.fscape.stream.impl

FFTLogicImpl

trait FFTLogicImpl extends WindowedInDOutD

Base class for 1-dimensional FFT transforms.

Self Type
FFTLogicImpl with Handlers[_]
Linear Supertypes
WindowedInDOutD, WindowedInAOutA[Double, BufD], WindowedInAOutB[Double, BufD, Double, BufD, Double], Node, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FFTLogicImpl
  2. WindowedInDOutD
  3. WindowedInAOutA
  4. WindowedInAOutB
  5. Node
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def completeAsync(): Future[Unit]
    Definition Classes
    Node
  2. implicit abstract def control: Control
    Attributes
    protected
    Definition Classes
    Node
  3. abstract def failAsync(ex: Exception): Unit
    Definition Classes
    Node
  4. abstract def gainFor(fftSize: Int): Double
    Attributes
    protected
  5. abstract def hIn: InMain[Double, BufD]
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  6. abstract def hOut: OutMain[Double, BufD]
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  7. abstract def launchAsync(): Future[Unit]
    Definition Classes
    Node
  8. abstract def layer: Layer
    Definition Classes
    Node
  9. abstract def performFFT(): Unit
    Attributes
    protected
  10. abstract def shape: Shape
    Definition Classes
    Node
  11. abstract def tryObtainWinParams(): Boolean

    Tries to prepare the parameters for the next window.

    Tries to prepare the parameters for the next window. If successful, returns true otherwise false. If successful, it must be possible to successively call winBufSize.

    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  12. abstract def winBufSize: Int

    The size for the window buffer, or zero if this buffer should no be used.

    The size for the window buffer, or zero if this buffer should no be used. This can be polled multiple times per window, the element might thus need to be saved (in tryObtainWinParams()). In most cases, it will be sufficient to poll the value in tryObtainWinParams and implement winBufSize by calling the value method of the corresponding input handler.

    Attributes
    protected
    Definition Classes
    WindowedInAOutB

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def aTpe: StreamType[Double, BufD]

    The input signal type

    The input signal type

    Attributes
    protected
    Definition Classes
    WindowedInAOutAWindowedInAOutB
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def bTpe: StreamType[Double, BufD]

    The output signal type

    The output signal type

    Attributes
    protected
    Definition Classes
    WindowedInAOutAWindowedInAOutB
  7. def clearWindowTail(): Unit

    The default implementation clears from readOff to the end of the window buffer.

    The default implementation clears from readOff to the end of the window buffer. This method is not called if fullLastWindow returns false!

    Attributes
    protected
    Definition Classes
    WindowedInAOutAWindowedInAOutB
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final val fft: DoubleFFT_1D
    Attributes
    protected
  12. final val fftSize: Int
    Attributes
    protected
  13. val fullLastWindow: Boolean
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  14. final val gain: Double
    Attributes
    protected
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def newWindowBuffer(n: Int): Array[Double]
    Attributes
    protected
    Definition Classes
    WindowedInAOutAWindowedInAOutB
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def onDone(inlet: Inlet[_]): Unit
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  23. final def postStop(): Unit

    Calls stopped and then removes the node from the control.

    Calls stopped and then removes the node from the control.

    Definition Classes
    Node
  24. final def preStart(): Unit

    Final so we don't accidentally place code here.

    Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

    Definition Classes
    Node
  25. final def process(): Unit
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
    Annotations
    @tailrec()
  26. final def processWindow(): Unit

    Called after a window has been fully read in.

    Called after a window has been fully read in.

    Attributes
    protected
    Definition Classes
    FFTLogicImplWindowedInAOutB
  27. def readIntoWindow(n: Int): Unit

    Reads in a number of frames.

    Reads in a number of frames. The default implementation copies to the window buffer.

    Attributes
    protected
    Definition Classes
    WindowedInAOutAWindowedInAOutB
  28. final val readOff: Long
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  29. final val readRem: Long
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  30. def readWinSize: Long

    The default number of frames to read in per window equals the window buffer size

    The default number of frames to read in per window equals the window buffer size

    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  31. final def setFFTSize(n: Int): Unit
    Attributes
    protected
  32. def stopped(): Unit

    Subclasses can override this

    Subclasses can override this

    Attributes
    protected
    Definition Classes
    FFTLogicImplWindowedInAOutBNode
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. final val timeSize: Int
    Attributes
    protected
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final val tpe: StreamType[Double, BufD]
    Attributes
    protected
    Definition Classes
    WindowedInDOutDWindowedInAOutA
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final val winBuf: Array[Double]
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  41. def writeFromWindow(n: Int): Unit

    Writes out a number of frames.

    Writes out a number of frames. The default implementation copies from the window buffer.

    Attributes
    protected
    Definition Classes
    WindowedInAOutAWindowedInAOutB
  42. final val writeOff: Long
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  43. final val writeRem: Long
    Attributes
    protected
    Definition Classes
    WindowedInAOutB
  44. def writeWinSize: Long

    The number of frames to write out per window.

    The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return

    Attributes
    protected
    Definition Classes
    WindowedInAOutB

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from WindowedInDOutD

Inherited from WindowedInAOutA[Double, BufD]

Inherited from WindowedInAOutB[Double, BufD, Double, BufD, Double]

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped