prepare for arp+pitch slide on linear pitch

will be a huge change
This commit is contained in:
tildearrow 2022-12-17 00:18:25 -05:00
parent 9da46ee8ba
commit 1127688229
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@
// common shared channel struct // common shared channel struct
template<typename T> struct SharedChannel { template<typename T> struct SharedChannel {
int freq, baseFreq, pitch, pitch2; int freq, baseFreq, baseFreqOverride, pitch, pitch2, arpOff;
int ins, note; int ins, note;
bool active, insChanged, freqChanged, keyOn, keyOff, portaPause, inPorta; bool active, insChanged, freqChanged, keyOn, keyOff, portaPause, inPorta;
T vol, outVol; T vol, outVol;
@ -40,8 +40,10 @@ template<typename T> struct SharedChannel {
SharedChannel(T initVol): SharedChannel(T initVol):
freq(0), freq(0),
baseFreq(0), baseFreq(0),
baseFreqOverride(-1),
pitch(0), pitch(0),
pitch2(0), pitch2(0),
arpOff(0),
ins(-1), ins(-1),
note(0), note(0),
active(false), active(false),