algorithmic modeling for Rhino
I have a waveform as a polyline, created by positive and negative z values (read from the .wav-file). I would like to create a smooth spline, as shown in the picture (screenshot of houdini - just to show the desired result). For creating these curves, i have to create a list with all the maximum values and another one with the minimum values - after that i can interpolate a curve.
How can i create a list with only the highest values? After getting these points i would Control the accuracy of the spline with the number of the control points...