This is an audio java tool that can be used to generate funny FM loops with smooth envelopes.
(note to myself, years after, I should just add a tempo param and it would actually make an usable simplistic instrument)

the tool