C library for simulating old sound chips