Code (CSharp): waveForm [ i ] += Mathf . Abs ( samples [ ( i * resolution ) + ii ] ) ;

I need some help understanding better what you did in this code. From what I understand the resolution is the parameter that defines the fidelty of the waveform right? 40k = 1:1 fidelty, is that correct?There's only one thing i'm not sure about in your code:When you saywith samples[(i * resolution) + ii] you are taking all the samples starting from that resolution point (i*resolution) until the next one (+ ii), is that correct?Again thanks for the help, your code helped me greatly