Fix the weird issue with writing to index n also write to all n % 2 by using a Float32Array to hold all the samples instead of an array of array of Float32Arrays