// title: Stereo phase scope // author: jamshark70 // description: // Very quick-and-dirty hack to show stereo phase. Center = up (12:00). Full left = 10:30, full right = 1:30. // code: ( b = Bus.audio(s, 2); a = { |inbus = 0| var sig = In.ar(inbus, 2); // x axis is side, oriented toward right; // y axis is mid [sig[1] - sig[0], sig.sum] }.play(s.defaultGroup, outbus: b, addAction: \addAfter); c = s.scope; c.style = 2; c.bus = b; )