MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::TemporalTransformerConfig Struct Reference

Settings of TemporalTransformer, stored whole in the operation's facets. More...

#include <TemporalTransformer.hpp>

Inheritance diagram for MayaFlux::Yantra::TemporalTransformerConfig:
Collaboration diagram for MayaFlux::Yantra::TemporalTransformerConfig:

Public Attributes

uint32_t delay_samples { 1000 }
 DELAY: number of samples prepended.
double end_ratio { 1.0 }
 SLICE: normalised end position.
double fade_in_ratio { 0.1 }
 FADE_IN_OUT: fraction of the length used for fade-in.
double fade_out_ratio { 0.1 }
 FADE_IN_OUT: fraction of the length used for fade-out.
double fill_value { 0.0 }
 DELAY: value used for the prepended samples.
Reflect::EnumByte< TemporalOperation > operation { TemporalOperation::TIME_REVERSE }
 Temporal operation to apply.
double start_ratio { 0.0 }
 SLICE: normalised start position.
double stretch_factor { 1.0 }
 TIME_STRETCH: length multiplier, above 1 is slower.
size_t target_size { 0 }
 INTERPOLATE: output length in samples.
bool use_cubic { false }
 INTERPOLATE: use cubic rather than linear interpolation.
Public Attributes inherited from MayaFlux::Yantra::TransformerConfig
double intensity { 1.0 }
 Amount of transformation, 0.0 to 2.0.
TransformationQuality quality { TransformationQuality::STANDARD }
 Requested quality level.
TransformationScope scope { TransformationScope::FULL_DATA }
 Portion of the data processed.
TransformationStrategy strategy { TransformationStrategy::BUFFERED }
 How the input is handled.

Additional Inherited Members

Public Member Functions inherited from MayaFlux::Yantra::OperationConfig
template<typename Op>
void apply_to (Op &operation) const
 Apply retained concrete settings to an operation through its parent contract.
template<typename T>
const T * get () const
 The struct of this type, or nullptr when absent.
 OperationConfig ()=default
template<typename Config>
requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>)
 OperationConfig (Config &&config)
 Retain a concrete config whole when placed in a parent-config collection.
 OperationConfig (const OperationConfig &)=default
 OperationConfig (OperationConfig &&) noexcept=default
OperationConfig & operator= (const OperationConfig &)=default
OperationConfig & operator= (OperationConfig &&) noexcept=default
template<typename T>
void set (T value)
 Stores a struct under its type identity.

Detailed Description

Settings of TemporalTransformer, stored whole in the operation's facets.

Definition at line 28 of file TemporalTransformer.hpp.


The documentation for this struct was generated from the following file: