New class VisualBuffer

Interestingly, buffers DO know when they are modified. This is not accessible via the server API in sclang, but it’s visible to UGens (take a look at ScopeOut’s use of m_bufupdates). IIRC this is only used for scopes, and isn’t really exposed anywhere else, but making e.g. a BufChanged UGen that fires a trigger when a buffer is written to would be very useful.

3 Likes