wav2shape: Hearing the Shape of a Drum Machine