This is exactly what i was looking for.
Maybe im missing something but when i run your code it cannot find anything named 'Arrays'
Arrays.fill(fftSamples, chunkSize, fftSamples.length - 1, 0.0 );
is this where you store your offline music samples?