add phase invesrion for left/right channel and feedback

This commit is contained in:
LTVA1 2024-08-11 16:47:49 +03:00
parent f5877abafe
commit 65d65ef81e
7 changed files with 107 additions and 9 deletions

View file

@ -874,6 +874,8 @@ struct DivInstrumentSID3
bool separateNoisePitch;
unsigned char special_wave;
bool doWavetable;
unsigned char phaseInv;
unsigned char feedback;
struct Filter
{
@ -940,7 +942,9 @@ struct DivInstrumentSID3
oneBitNoise(false),
separateNoisePitch(false),
special_wave(0),
doWavetable(false)
doWavetable(false),
phaseInv(0),
feedback(0)
{
filt[0].mode = 16 | 32; //default settings so filter just works, connect to input and channel output
filt[0].output_volume = 0xff;