How do I return the points of every _n_th sample in a .wav file?
I want to export the amplitude of each sample with respect to time into a file.
Note that my sound files are only 1 second long, so I don’t think the data processing will be too difficult. Thus, I think that the n in “every _n_th” is 1.
See the below picture for clarification:
Also, if possible, how can I create a best fit curve — preferably in the form
a * sin(bx + c) + d
for a selection of sound samples?