Recording audio from midi --> Drum machine

I need some help with MIDI and how to record audio of it.
I have a drum machine (TR-8s) that I Imagine I can record all the tracks in midi information (at the same time) with one simple MIDI cable to soundcard. And have them in separate tracks.
But what if my soundcard only has Two 1/4 inch audio-in?
When I play the 11 recorded Midi tracks from cubasis back to the TR-8s for recording the audio, do I ideally need 11 separate audio inputs on my soundcard to get the drums on separate channels?
Or can I somehow place the sounds next to the corresponding midi tracks with only two Inputs?
In one take?

Plz halp :nerd:

Hi xmund,

Wouldn’t it be possible to record the tracks one after another?

Best,
Lars