Out of what you say, it would seem that you are looking for the "how"
before deciding the "what." Not sure if that is the best way around
it.
A thorough browsing of
linux-sound.org might prove inspiring.
Decide first what you want to achieve and then we can hint on the best
tools Linux can provide to solve your problem.
Luis