From what I've read, it is possible to record audio using an external USB soundcard or a USB webcam. But everything I've seen so far is just concerned with recording sound and saving it. What I'd like to do is imitate a multi-track sequencer, does anyone know if this is already possible?
What I mean is, you press a key and start recording your "B ts B tsts B ts", then press another key and it plays back this track in a loop. Then, while this track is playing, you press another key and record the "dom dom dom dom" over the top. Finish this one and it now plays both these tracks together in an infinite loop. Then maybe temporarily mute the first track while you sing the "la la la la" and then unmute the first track again. I don't want to carefully prepare and arrange and program these tracks to produce some finished output, I just want to play with it in real-time. So that means playing and recording simultaneously, playing multiple sound elements simultaneously, and not relying on some kind of offline slow processing.
Now maybe this kind of thing is already available for the pi and I just have to install it, or maybe it's the kind of thing which pygame
could do relatively easily if I just have to put the pieces together. It would have to be low latency though, it wouldn't work if there were awkward pauses at the end of the loops. Or maybe the pi just isn't a suitable platform for this?