|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Stateful multichannel STFT processor with one analyzer per channel. More...
#include <fft.H>
Public Member Functions | |
| BatchedSTFTProcessor (const size_t num_channels, const Array< Real > &window, const STFTOptions &options) | |
| BatchedSTFTProcessor (const size_t num_channels, const size_t frame_size, const STFTOptions &options) | |
| template<typename WindowContainer > requires Is_Real_Container<WindowContainer> | |
| BatchedSTFTProcessor (const size_t num_channels, const WindowContainer &window, const STFTOptions &options) | |
| size_t | num_channels () const noexcept |
| STFTProcessor & | channel (const size_t index) |
| const STFTProcessor & | channel (const size_t index) const |
| void | reset () |
| Array< Array< Array< Complex > > > | process_block (const Array< Array< Real > > &block) |
| Array< Array< Array< Complex > > > | pprocess_block (ThreadPool &pool, const Array< Array< Real > > &block, const size_t chunk_size=0) |
| Array< Array< Array< Complex > > > | flush () |
| Array< Array< Array< Complex > > > | pflush (ThreadPool &pool, const size_t chunk_size=0) |
Private Member Functions | |
| void | validate_batch_size (const size_t size, const char *ctx) const |
Private Attributes | |
| Array< STFTProcessor > | processors_ |
Stateful multichannel STFT processor with one analyzer per channel.
|
inlineexplicit |
Definition at line 10896 of file fft.H.
References ah_invalid_argument_if, Aleph::FFT< Real >::BatchedSTFTProcessor::num_channels(), options, and Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 10929 of file fft.H.
References ah_out_of_range_error_if, and Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
|
inline |
Definition at line 10938 of file fft.H.
References ah_out_of_range_error_if, and Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
|
inline |
Definition at line 10987 of file fft.H.
References output, and Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
|
inlinenoexcept |
Definition at line 10923 of file fft.H.
References Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
Referenced by Aleph::FFT< Real >::BatchedSTFTProcessor::BatchedSTFTProcessor().
|
inline |
Definition at line 10997 of file fft.H.
References output, Aleph::parallel_for_index(), and Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
|
inline |
Definition at line 10964 of file fft.H.
References output, Aleph::parallel_for_index(), Aleph::FFT< Real >::BatchedSTFTProcessor::processors_, and Aleph::FFT< Real >::BatchedSTFTProcessor::validate_batch_size().
|
inline |
Definition at line 10953 of file fft.H.
References output, Aleph::FFT< Real >::BatchedSTFTProcessor::processors_, and Aleph::FFT< Real >::BatchedSTFTProcessor::validate_batch_size().
|
inline |
Definition at line 10946 of file fft.H.
References Aleph::FFT< Real >::BatchedSTFTProcessor::processors_.
|
inlineprivate |
Definition at line 10888 of file fft.H.
References ah_invalid_argument_if, Aleph::FFT< Real >::BatchedSTFTProcessor::processors_, and Aleph::size().
Referenced by Aleph::FFT< Real >::BatchedSTFTProcessor::pprocess_block(), and Aleph::FFT< Real >::BatchedSTFTProcessor::process_block().
|
private |
Definition at line 10885 of file fft.H.
Referenced by Aleph::FFT< Real >::BatchedSTFTProcessor::BatchedSTFTProcessor(), Aleph::FFT< Real >::BatchedSTFTProcessor::channel(), Aleph::FFT< Real >::BatchedSTFTProcessor::channel(), Aleph::FFT< Real >::BatchedSTFTProcessor::flush(), Aleph::FFT< Real >::BatchedSTFTProcessor::num_channels(), Aleph::FFT< Real >::BatchedSTFTProcessor::pflush(), Aleph::FFT< Real >::BatchedSTFTProcessor::pprocess_block(), Aleph::FFT< Real >::BatchedSTFTProcessor::process_block(), Aleph::FFT< Real >::BatchedSTFTProcessor::reset(), and Aleph::FFT< Real >::BatchedSTFTProcessor::validate_batch_size().