With the following code you obtain the audio input (microphone) in Processing (Java):
in = new AudioIn(this, 0);
How do I get the audio OUTPUT of the computer?
With the following code you obtain the audio input (microphone) in Processing (Java):
in = new AudioIn(this, 0);
How do I get the audio OUTPUT of the computer?
You have to route the computer's (audio card's) output to a line that can be used by processing.
You can use an app like Sound flower.