wavelength 1.0.0
Loading...
Searching...
No Matches
syntheffects.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "script/dataarray.h"
7
18public:
20 static constexpr int kNumBuses = 2;
21
29
37 explicit SynthEffects(DataArray *pConfig);
38
51 void Load(DataArray *pConfig);
52
59 void Apply();
60
61private:
62 std::vector<unsigned int> mMessages;
63 SoftFxFilter mFilter;
64 int mSoftFxOutput;
65 int mBusToSoftFx;
66 int mBusToCoreFx;
67};
Reference-counted array of script data nodes.
Definition dataarray.h:20
static constexpr int kNumBuses
The number of effect buses.
Definition syntheffects.h:20
void Load(DataArray *pConfig)
Read the settings of the buses from an effects entry.
SynthEffects(DataArray *pConfig)
Build the settings with both buses off, then read them from an effects entry.
SynthEffects()
Build the settings with both buses off.
void Apply()
Send the settings to the sound output.
Settings of the software effect, read from the filter entry of the first effect bus.
Definition softfxfilter.h:9