|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Stateful multichannel ISTFT processor with one synthesizer per channel. More...
#include <fft.H>
Public Member Functions | |
| BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const Array< Real > &analysis_window, const Array< Real > &synthesis_window, const ISTFTOptions &options) | |
| BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const Array< Real > &analysis_window, const Array< Real > &synthesis_window, const ISTFTOptions &options, const Array< size_t > &signal_lengths) | |
| BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const Array< Real > &window, const ISTFTOptions &options) | |
| BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const Array< Real > &window, const ISTFTOptions &options, const Array< size_t > &signal_lengths) | |
| BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const size_t frame_size, const ISTFTOptions &options) | |
| BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const size_t frame_size, const ISTFTOptions &options, const Array< size_t > &signal_lengths) | |
| template<typename AnalysisContainer , typename SynthesisContainer > requires Is_Real_Container<AnalysisContainer> | |
| and Is_Real_Container< SynthesisContainer > | BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const AnalysisContainer &analysis_window, const SynthesisContainer &synthesis_window, const ISTFTOptions &options) |
| template<typename AnalysisContainer , typename SynthesisContainer > requires Is_Real_Container<AnalysisContainer> | |
| and Is_Real_Container< SynthesisContainer > | BatchedISTFTProcessor (const size_t num_channels, const size_t fft_size, const AnalysisContainer &analysis_window, const SynthesisContainer &synthesis_window, const ISTFTOptions &options, const Array< size_t > &signal_lengths) |
| size_t | num_channels () const noexcept |
| ISTFTProcessor & | channel (const size_t index) |
| const ISTFTProcessor & | channel (const size_t index) const |
| void | reset () |
| Array< Array< Real > > | process_block (const Array< Array< Array< Complex > > > &block) |
| Array< Array< Real > > | pprocess_block (ThreadPool &pool, const Array< Array< Array< Complex > > > &block, const size_t chunk_size=0) |
| Array< Array< Real > > | flush () |
| Array< Array< Real > > | pflush (ThreadPool &pool, const size_t chunk_size=0) |
Private Member Functions | |
| void | validate_batch_size (const size_t size, const char *ctx) const |
Static Private Member Functions | |
| static ISTFTOptions | channel_options (const ISTFTOptions &options, const Array< size_t > &signal_lengths, const size_t index) |
Private Attributes | |
| Array< ISTFTProcessor > | processors_ |
Stateful multichannel ISTFT processor with one synthesizer per channel.
|
inlineexplicit |
|
inlineexplicit |
Definition at line 11305 of file fft.H.
References ah_invalid_argument_if, Aleph::and, Aleph::FFT< Real >::BatchedISTFTProcessor::channel_options(), Aleph::Array< T >::is_empty(), Aleph::FFT< Real >::BatchedISTFTProcessor::num_channels(), options, Aleph::FFT< Real >::BatchedISTFTProcessor::processors_, and Aleph::Array< T >::size().
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 11418 of file fft.H.
References ah_out_of_range_error_if, and Aleph::FFT< Real >::BatchedISTFTProcessor::processors_.
Referenced by Aleph::FFT< Real >::BatchedISTFTProcessor::channel_options().
|
inline |
Definition at line 11427 of file fft.H.
References ah_out_of_range_error_if, and Aleph::FFT< Real >::BatchedISTFTProcessor::processors_.
|
inlinestaticprivate |
Definition at line 11273 of file fft.H.
References Aleph::FFT< Real >::BatchedISTFTProcessor::channel(), Aleph::Array< T >::is_empty(), and options.
Referenced by Aleph::FFT< Real >::BatchedISTFTProcessor::BatchedISTFTProcessor().
|
inline |
Definition at line 11475 of file fft.H.
References output, and Aleph::FFT< Real >::BatchedISTFTProcessor::processors_.
|
inlinenoexcept |
Definition at line 11412 of file fft.H.
References Aleph::FFT< Real >::BatchedISTFTProcessor::processors_.
Referenced by Aleph::FFT< Real >::BatchedISTFTProcessor::BatchedISTFTProcessor().
|
inline |
Definition at line 11484 of file fft.H.
References output, Aleph::parallel_for_index(), and Aleph::FFT< Real >::BatchedISTFTProcessor::processors_.
|
inline |
Definition at line 11453 of file fft.H.
References output, Aleph::parallel_for_index(), Aleph::FFT< Real >::BatchedISTFTProcessor::processors_, and Aleph::FFT< Real >::BatchedISTFTProcessor::validate_batch_size().
|
inline |
Definition at line 11442 of file fft.H.
References output, Aleph::FFT< Real >::BatchedISTFTProcessor::processors_, and Aleph::FFT< Real >::BatchedISTFTProcessor::validate_batch_size().
|
inline |
Definition at line 11435 of file fft.H.
References Aleph::FFT< Real >::BatchedISTFTProcessor::processors_.
|
inlineprivate |
Definition at line 11284 of file fft.H.
References ah_invalid_argument_if, Aleph::FFT< Real >::BatchedISTFTProcessor::processors_, and Aleph::size().
Referenced by Aleph::FFT< Real >::BatchedISTFTProcessor::pprocess_block(), and Aleph::FFT< Real >::BatchedISTFTProcessor::process_block().
|
private |
Definition at line 11270 of file fft.H.
Referenced by Aleph::FFT< Real >::BatchedISTFTProcessor::BatchedISTFTProcessor(), Aleph::FFT< Real >::BatchedISTFTProcessor::channel(), Aleph::FFT< Real >::BatchedISTFTProcessor::channel(), Aleph::FFT< Real >::BatchedISTFTProcessor::flush(), Aleph::FFT< Real >::BatchedISTFTProcessor::num_channels(), Aleph::FFT< Real >::BatchedISTFTProcessor::pflush(), Aleph::FFT< Real >::BatchedISTFTProcessor::pprocess_block(), Aleph::FFT< Real >::BatchedISTFTProcessor::process_block(), Aleph::FFT< Real >::BatchedISTFTProcessor::reset(), and Aleph::FFT< Real >::BatchedISTFTProcessor::validate_batch_size().