diff --git a/plugin.json b/plugin.json index 211d4e3..d27e11a 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "slug": "TechTechTechnologies", "name": "TechTech Technologies", - "version": "2.3.0", + "version": "2.3.1", "license": "CC0-1.0", "brand": "TechTech Technologies", "author": "William Laub", diff --git a/src/Tia.cpp b/src/Tia.cpp index ea228dc..de434ee 100644 --- a/src/Tia.cpp +++ b/src/Tia.cpp @@ -272,12 +272,12 @@ struct TiaI : Module { if(top_select[i] < 7) { double top_gain = gains[top_select[i]];//params[GAIN0_PARAM+top_select[i]].getValue(); - top = inputs[SIGNAL0_INPUT+top_select[i]].getVoltage(i) * top_gain; + top = inputs[SIGNAL0_INPUT+top_select[i]].getPolyVoltage(i) * top_gain; } if(bot_select[i] < 7) { double bot_gain = gains[bot_select[i]]; //params[GAIN0_PARAM+bot_select[i]].getValue(); - bot = inputs[SIGNAL0_INPUT+bot_select[i]].getVoltage(i) * bot_gain; + bot = inputs[SIGNAL0_INPUT+bot_select[i]].getPolyVoltage(i) * bot_gain; } double mix = top*fade + bot*(1-fade); diff --git a/src/TiaExpander.cpp b/src/TiaExpander.cpp index 4409ffe..6be3c9a 100644 --- a/src/TiaExpander.cpp +++ b/src/TiaExpander.cpp @@ -59,12 +59,12 @@ struct TiaIExpander : Module { if(message->top_select[i] < 7) { double top_gain = message->gains[message->top_select[i]]; - top = inputs[SIGNAL_INPUT+IDX(row, message->top_select[i])].getVoltage(i) * top_gain; + top = inputs[SIGNAL_INPUT+IDX(row, message->top_select[i])].getPolyVoltage(i) * top_gain; } if(message->bot_select[i] < 7) { double bot_gain = message->gains[message->bot_select[i]]; - bot = inputs[SIGNAL_INPUT+IDX(row, message->bot_select[i])].getVoltage(i) * bot_gain; + bot = inputs[SIGNAL_INPUT+IDX(row, message->bot_select[i])].getPolyVoltage(i) * bot_gain; } double mix = top*fade + bot*(1-fade);