Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimMetalMixOperatorConfig Struct Reference

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
 

Detailed Description

Configuration for the metal_mix operator.

Supports only SIM_MIXER_MODE_LINEAR and SIM_MIXER_MODE_CROSSFADE.

Member Data Documentation

◆ accumulate

bool SimMetalMixOperatorConfig::accumulate

Add into output when true.

◆ bias

double SimMetalMixOperatorConfig::bias

Constant offset added to the result.

◆ lhs_field

size_t SimMetalMixOperatorConfig::lhs_field

First input field.

◆ lhs_gain

double SimMetalMixOperatorConfig::lhs_gain

Gain applied to lhs samples.

◆ mix

double SimMetalMixOperatorConfig::mix

Crossfade parameter.

◆ mode

SimMixerMode SimMetalMixOperatorConfig::mode

Supported mode: linear or crossfade.

◆ output_field

size_t SimMetalMixOperatorConfig::output_field

Field receiving the mixed result.

◆ rhs_field

size_t SimMetalMixOperatorConfig::rhs_field

Second input field.

◆ rhs_gain

double SimMetalMixOperatorConfig::rhs_gain

Gain applied to rhs samples.

◆ scale_by_dt

bool SimMetalMixOperatorConfig::scale_by_dt

Scale writes by substep dt when true.


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