trait FFTLogicImpl extends WindowedInDOutD
Base class for 1-dimensional FFT transforms.
- Self Type
- FFTLogicImpl with Handlers[_]
- Alphabetic
- By Inheritance
- FFTLogicImpl
- WindowedInDOutD
- WindowedInAOutA
- WindowedInAOutB
- Node
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
completeAsync(): Future[Unit]
- Definition Classes
- Node
-
implicit abstract
def
control: Control
- Attributes
- protected
- Definition Classes
- Node
-
abstract
def
failAsync(ex: Exception): Unit
- Definition Classes
- Node
-
abstract
def
gainFor(fftSize: Int): Double
- Attributes
- protected
-
abstract
def
hIn: InMain[Double, BufD]
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
abstract
def
hOut: OutMain[Double, BufD]
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
abstract
def
launchAsync(): Future[Unit]
- Definition Classes
- Node
-
abstract
def
layer: Layer
- Definition Classes
- Node
-
abstract
def
performFFT(): Unit
- Attributes
- protected
-
abstract
def
shape: Shape
- Definition Classes
- Node
-
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
otherwisefalse
. If successful, it must be possible to successively callwinBufSize
.- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
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 intryObtainWinParams
and implementwinBufSize
by calling thevalue
method of the corresponding input handler.- Attributes
- protected
- Definition Classes
- WindowedInAOutB
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
aTpe: StreamType[Double, BufD]
The input signal type
The input signal type
- Attributes
- protected
- Definition Classes
- WindowedInAOutA → WindowedInAOutB
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bTpe: StreamType[Double, BufD]
The output signal type
The output signal type
- Attributes
- protected
- Definition Classes
- WindowedInAOutA → WindowedInAOutB
-
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 iffullLastWindow
returnsfalse
!- Attributes
- protected
- Definition Classes
- WindowedInAOutA → WindowedInAOutB
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
fft: DoubleFFT_1D
- Attributes
- protected
-
final
val
fftSize: Int
- Attributes
- protected
-
val
fullLastWindow: Boolean
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
final
val
gain: Double
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newWindowBuffer(n: Int): Array[Double]
- Attributes
- protected
- Definition Classes
- WindowedInAOutA → WindowedInAOutB
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
onDone(inlet: Inlet[_]): Unit
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
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
-
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 implementinit
.- Definition Classes
- Node
-
final
def
process(): Unit
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
- Annotations
- @tailrec()
-
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
- FFTLogicImpl → WindowedInAOutB
-
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
- WindowedInAOutA → WindowedInAOutB
-
final
val
readOff: Long
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
final
val
readRem: Long
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
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
-
final
def
setFFTSize(n: Int): Unit
- Attributes
- protected
-
def
stopped(): Unit
Subclasses can override this
Subclasses can override this
- Attributes
- protected
- Definition Classes
- FFTLogicImpl → WindowedInAOutB → Node
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
val
timeSize: Int
- Attributes
- protected
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
val
tpe: StreamType[Double, BufD]
- Attributes
- protected
- Definition Classes
- WindowedInDOutD → WindowedInAOutA
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
val
winBuf: Array[Double]
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
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
- WindowedInAOutA → WindowedInAOutB
-
final
val
writeOff: Long
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
final
val
writeRem: Long
- Attributes
- protected
- Definition Classes
- WindowedInAOutB
-
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 overridefullLastWindow
to returnfalse
, in which case the default implementation ofwriteWinSize
will return- Attributes
- protected
- Definition Classes
- WindowedInAOutB
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated