Record function for a drum synthesizer with stepsequencer