This is a simple FM synth with complex envelopes on pitch and gains for each operator.
It loads a sample and then uses a kind of genetic algorithm to try reproducing that sound with the synth.
For various reasons it's not really a success, but I still like the idea and thought the results of it were worth sharing.
the software (a processing sketch)
a piece of sound
and the imitated equivalent after a few iterations
another piece of sound
and the imitated equivalent after a few iterations