[Solved] Where does the array get out of boundary in this code?
I would look at these lines here: double xPoint[][][] = new double[value][fps][64]; for (int j = 0; j < (44100 / fps); j += ((44100 / fps) / 64)) { xPoint[counter][i][j] = magnitude[counter][i][j]; Note that the inputted fps is…