({ var left = BPF.ar(BrownNoise.ar([0.1, 0.1]), MouseX.kr(40, 17000, [1,0]), MouseY.kr(0.1, 1.0, 0)); var right = BPF.ar(BrownNoise.ar([0.1, 0.1]), MouseX.kr(40, 17000, [0,1]), MouseY.kr(0.1, 1.0, 0)); var x = SinOsc.ar(0.1,0, 0.5,0.5); (x * left) + ((1-x) * right); }.play;)
It won't be at all interesting without headphones probably. The funny thing is it makes me feel like one ear (and then the other, as the 0.1Hz oscillator wobbles around) is plugged-up or has gone deaf in a more forceful way than if I just failed to play sound through that channel. Not sure what's causing that.
For future self-reference, here is the magic incantation I need to get java GUI working within sc on linux:
GUI.swing; SwingOSC.java = "/usr/lib/jvm/java-6-sun/jre/bin/java"; SwingOSC.program = "/usr/bin/SwingOSC.jar"; SwingOSC.default.boot;