https://123dok.net/document/yd7mrv21-optimization-of-audio-graphs-by-resampling.html