Jason (jcreed) wrote,
Jason
jcreed

Stereo Bandpass-filter experiment. Code is this:
({ 
 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;
Tags: supercollider
Subscribe

  • (no subject)

    Guy from Seattle team we've been working with showed up today at work; no matter how much I'm generally comfortable working with remote teams (and I…

  • (no subject)

    After getting home from work immediately appeared to be a traintastrophe in the making, went to see Esther Schor talk about her book "Bridge of…

  • (no subject)

    Sean's back in town --- good fun working with nonremote teammates.

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments