ScalaCollider
ScalaCollider copied to clipboard
better Seq[Double] => GE support?
I know I actually don't want to touch these anymore. But as a placeholder:
val n: GE = Seq(3,12,4,1,6,2).map(_.reciprocal)
val s = Lag3.ar(SinOsc.ar(n, 0), SinOsc.ar(2.67.pow(n), 0).abs) * 99
val f = ((SinOsc.ar((1 / n) / 9, n) > 0) * 20 + 99) / n
SplayAz.ar(2, SinOsc.ar(HPF.ar(Ringz.ar(s, f)), 0)) * 0.25
it would be nice if that worked without the : GE annotation.