What is a cro???
I do not know how to create a simulation which can input signal via a sound card!
I just search with google:
There are some library available: e.g. http://java.sun.com/docs/books/tutorial/sound/index.html

So it is possible to input signal via a sound card!