|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Configuration for the metal_mix operator. More...
#include <metal_mix.h>
Public Attributes | |
| size_t | lhs_field |
| size_t | rhs_field |
| size_t | output_field |
| double | lhs_gain |
| double | rhs_gain |
| double | mix |
| double | bias |
| SimMixerMode | mode |
| bool | accumulate |
| bool | scale_by_dt |
Configuration for the metal_mix operator.
Supports only SIM_MIXER_MODE_LINEAR and SIM_MIXER_MODE_CROSSFADE.
| bool SimMetalMixOperatorConfig::accumulate |
Add into output when true.
| double SimMetalMixOperatorConfig::bias |
Constant offset added to the result.
| size_t SimMetalMixOperatorConfig::lhs_field |
First input field.
| double SimMetalMixOperatorConfig::lhs_gain |
Gain applied to lhs samples.
| double SimMetalMixOperatorConfig::mix |
Crossfade parameter.
| SimMixerMode SimMetalMixOperatorConfig::mode |
Supported mode: linear or crossfade.
| size_t SimMetalMixOperatorConfig::output_field |
Field receiving the mixed result.
| size_t SimMetalMixOperatorConfig::rhs_field |
Second input field.
| double SimMetalMixOperatorConfig::rhs_gain |
Gain applied to rhs samples.
| bool SimMetalMixOperatorConfig::scale_by_dt |
Scale writes by substep dt when true.