supercollider example updated with a class interface