Having elaborated on more complex graphics and animation techniques, it does make sense to briefly revisit the fundamentals of audio scoping and examine how we can further exploit the built-in visualizers as well as how to implement our own, more advanced ones.
Regarding how to further exploit existent visualizers, we could, for instance, layer the distinct semi-transparent instances of the ScopeView
class and modulate their horizontal zoom factors periodically and at different rates to achieve accelerated trailing effects.
For example:
var window = /* create parent window here */ var buffers= Array.fill(8,{Buffer.alloc(Server.default,1024,2)});// an Array of 8 buffers var scopes = Array.fill(8,{arg i; ScopeView(window,Rect(0,0,640,480)) .bufnum_(buffers[i].bufnum) // associate with the right Buffer .backColor_(Color(0.6,0.8,0.9,1/4)) // notice the alpha channel .waveColors_([Color.green,Color.yellow]); }); /* modulate horizontal zoom factor on all...