Skip to content

Commit

Permalink
DBAP4.ck(r5)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoch committed Oct 24, 2012
1 parent 6c17c7c commit 42baa1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions panning/DBAP4.ck
Expand Up @@ -35,7 +35,7 @@ class DBAP4 extends Chubgraph
// NOTE: for binaural mixdown, use the line below
// _in => _out[i] => b4.pssp[i];
20::ms => _out[i].duration;
1.0 => _out[i].target;
0.0 => _out[i].target;
}

// setPosition(): implements simple DBAP. the radius
Expand All @@ -44,8 +44,8 @@ class DBAP4 extends Chubgraph
x => _x;
y => _y;
for(0 => int i; i < 4; ++i) {
_spks[i][0] - _x => float dx;
_spks[i][1] - _y => float dy;
_spks[i][0] - x => float dx;
_spks[i][1] - y => float dy;
dx * dx => dx;
dy * dy => dy;
Math.sqrt(dx + dy) => float dist;
Expand Down

0 comments on commit 42baa1d

Please sign in to comment.