private static byte[] buildTri() {
        byte[] tri = new byte[TABLE_LENGTH];

        for (int i = 0; i < TABLE_LENGTH; i++) {
            if (i < TABLE_LENGTH / 2) {//what goes up...
                tri[i] = (byte) Math.round(lerp(-127, 127, i / ((float) TABLE_LENGTH / 2)));
            } else {//...must come down.
                tri[i] = (byte) Math.round(lerp(127, -127, (i - TABLE_LENGTH / 2) / ((float) TABLE_LENGTH / 2)));
            }
        }

        return tri;
    }