|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Yantra::Granular::process_to_stream_async | ( | const std::shared_ptr< GranularMatrix > & | matrix, |
| const std::shared_ptr< Kakshya::SignalSourceContainer > & | container, | ||
| AnalysisType | analysis_type, | ||
| CompleteFn && | on_complete, | ||
| const GranularConfig & | config = {}, |
||
| const std::string & | qualifier = {}, |
||
| GranularOutput | output = GranularOutput::STREAM |
||
| ) |
Async offline granular pipeline terminating in a DynamicSoundStream (AnalysisType path).
Runs the full pipeline on a background thread owned by matrix and invokes on_complete with the finished stream. Returns immediately.
The callback receives a shared_ptr<DynamicSoundStream> which is null if reconstruction produced an unexpected type. The caller is responsible for thread-safe installation of the stream into any downstream pipeline.
| matrix | ComputeMatrix that owns the async future. |
| container | Source signal data. |
| analysis_type | Attribution category. |
| on_complete | Called on the worker thread with the finished stream. |
| config | Pipeline scalar parameters. |
| qualifier | Scalar to extract. Empty uses type default. |
| output | STREAM for concatenative, STREAM_ADDITIVE for OLA. |
Definition at line 639 of file GranularWorkflow.hpp.