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

View file

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