Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PolyPlotter plots an array of sine waves, superposing them for comparison.
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