thanks Iohannes.  will use that in future. 

i found my problem.  I'd left out a character in this bit:

frum_4osc_tilde_class = class_new(gensym("frum_osc~"),

(it should have been "frum_4osc~")