Did normalize the Array to max amplitude and support for the whole range of midi note frequencies (0-127) :)
const int16_t squareTable[43][256] = {
{0, 32767, 32599, 32509, 32653, 32556, 32571, 32620, 32551, 32595, 32598, 32560, 32603, 32581, 32571, 32603, 32571, 32584, 32596, 32570, 32592...