Created
January 29, 2019 11:09
-
-
Save chadochan/1044a21b656b959c919fe7235a21e0cf to your computer and use it in GitHub Desktop.
PolyPlotter plots an array of sine waves, superposing them for comparison.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PolyPlotter { | |
*plot {|limbArray = #[9, 17, 21], phaseoffset = 0, superpose = true| | |
var sinusplot; | |
sinusplot = { SinOsc.ar(limbArray, phaseoffset) }.plot(1, bounds: Rect(20, 780, 1370, 70)); | |
sinusplot.superpose = superpose; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment