the real signal to transform. If overlapping windows
are desired, a Sliding
should already have been applied
to this signal, as well as multiplication with a window function.
the input window size
amount of zero padding for each input window.
packing mode.
0
(default) is standard "packed" mode,
whereby the real part of the bin at Nyquist is stored in the imaginary
slot of the DC. This mode allows perfect reconstruction with a
Real1IFFT
using the same mode.
1
is "unpacked" mode,
whereby the output windows are made two samples longer,
so that the Nyquist bin is included in the very end. By
definition, the imaginary parts of DC and Nyquist are zero.
This mode allows perfect reconstruction with a
Real1IFFT
using the same mode.
2
is "discarded" mode,
whereby the Nyquist bin is omitted. While it doesn't allow
a perfect reconstruction, this mode is useful for analysis,
because the output window size is equal to the fft-size,
and the imaginary part of DC is correctly zero'ed.
the real signal to transform.
the real signal to transform. If overlapping windows
are desired, a Sliding
should already have been applied
to this signal, as well as multiplication with a window function.
Abstract method which must be implemented by creating the actual UGen
s
during expansion.
Abstract method which must be implemented by creating the actual UGen
s
during expansion. This method is at most called once during graph
expansion
the expanded object (depending on the type parameter U
)
packing mode.
packing mode.
0
(default) is standard "packed" mode,
whereby the real part of the bin at Nyquist is stored in the imaginary
slot of the DC. This mode allows perfect reconstruction with a
Real1IFFT
using the same mode.
1
is "unpacked" mode,
whereby the output windows are made two samples longer,
so that the Nyquist bin is included in the very end. By
definition, the imaginary parts of DC and Nyquist are zero.
This mode allows perfect reconstruction with a
Real1IFFT
using the same mode.
2
is "discarded" mode,
whereby the Nyquist bin is omitted. While it doesn't allow
a perfect reconstruction, this mode is useful for analysis,
because the output window size is equal to the fft-size,
and the imaginary part of DC is correctly zero'ed.
amount of zero padding for each input window.
amount of zero padding for each input window.
the input window size
the input window size
Forward short-time Fourier transform UGen for a real-valued input signal. The FFT size is equal to
size + padding
. The output is a succession of complex half-spectra, i.e. from DC to Nyquist. Depending onmode
, the output window size is eithersize + padding
orsize + padding + 2
.the real signal to transform. If overlapping windows are desired, a
Sliding
should already have been applied to this signal, as well as multiplication with a window function.the input window size
amount of zero padding for each input window.
packing mode.
0
(default) is standard "packed" mode, whereby the real part of the bin at Nyquist is stored in the imaginary slot of the DC. This mode allows perfect reconstruction with aReal1IFFT
using the same mode.1
is "unpacked" mode, whereby the output windows are made two samples longer, so that the Nyquist bin is included in the very end. By definition, the imaginary parts of DC and Nyquist are zero. This mode allows perfect reconstruction with aReal1IFFT
using the same mode.2
is "discarded" mode, whereby the Nyquist bin is omitted. While it doesn't allow a perfect reconstruction, this mode is useful for analysis, because the output window size is equal to the fft-size, and the imaginary part of DC is correctly zero'ed.