There is NE555 stuff in the discrete sound emulation. I don't know how reusable that is.

See src/emu/sound/discrete.h and src/emu/sound/disc_dev.c.