This commit is contained in:
Eric Rosenbaum 2017-07-21 12:10:32 -04:00
parent 89cdb92c23
commit 68d5ac2e34

View file

@ -33,7 +33,7 @@ class PanEffect {
this.value = val;
// Map the scratch effect value (-100 to 100) to (0 to 1)
const p = (val + 100) / 200;
const p = (val + 100) / 200;
// Use trig functions for equal-loudness panning
// See e.g. https://docs.cycling74.com/max7/tutorials/13_panningchapter01