Settings of the two effect buses and the software effect of the sound output, read from an effects entry of the configuration.
More...
#include <syntheffects.h>
|
| | SynthEffects () |
| | Build the settings with both buses off.
|
| | SynthEffects (DataArray *pConfig) |
| | Build the settings with both buses off, then read them from an effects entry.
|
| void | Load (DataArray *pConfig) |
| | Read the settings of the buses from an effects entry.
|
| void | Apply () |
| | Send the settings to the sound output.
|
|
| static constexpr int | kNumBuses = 2 |
| | The number of effect buses.
|
Settings of the two effect buses and the software effect of the sound output, read from an effects entry of the configuration.
The class is not polymorphic and has no RTTI. The name is inferred. The object is 0x6c bytes. Each bus has a mode, a depth for each side, a delay, and a feedback. Load() packs them into control change messages on the bus's MIDI channel. The first bus also provides the software effect.
◆ SynthEffects() [1/2]
| SynthEffects::SynthEffects |
( |
| ) |
|
Build the settings with both buses off.
- Ghidra address:
- NTSC-U/C: 0x0027b668
- Ghidra address:
- PAL: 0x00285098
◆ SynthEffects() [2/2]
| SynthEffects::SynthEffects |
( |
DataArray * | pConfig | ) |
|
|
explicit |
Build the settings with both buses off, then read them from an effects entry.
- Parameters
-
| pConfig | The entry, as Load() takes it. |
- Ghidra address:
- NTSC-U/C: 0x0027b6f8
- Ghidra address:
- PAL: 0x00285128
◆ Load()
| void SynthEffects::Load |
( |
DataArray * | pConfig | ) |
|
Read the settings of the buses from an effects entry.
The entry of bus n is remix_bus_<n> while a remix plays, then bus_<n>, and then the first child entry whose bus is n. Each bus entry lists mode, depth_right, depth_left, delay, and feedback. The entry of bus 1 also lists filter, soft_fx_output, fx_bus_to_softfx, and fx_bus_to_corefx.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x0027b7a8
- Ghidra address:
- PAL: 0x002851d8
◆ Apply()
| void SynthEffects::Apply |
( |
| ) |
|
Send the settings to the sound output.
- Ghidra address:
- NTSC-U/C: 0x0027c2f0
- Ghidra address:
- PAL: 0x00285d20
◆ kNumBuses
| int SynthEffects::kNumBuses = 2 |
|
staticconstexpr |
The number of effect buses.
The documentation for this class was generated from the following file: