</p>
<p class="description">
Use eq to play with the example in a terminal:
- <a href="javascript:fr.set('db_grid', 6)">fr.set("db_grid", 6)</a>
+ <a href="javascript:fr.set('db_grid', 6)">eq.set("db_grid", 6)</a>
<small>Sets the dB grid to 6dB</small>
</p>
@@ -98,7 +98,6 @@ EqBand = $class({
case "freq":
key = "x"
case "x":
- value = Math.max(Math.min(this.options.x_max, value), this.options.x_min);
this.filter.set("freq",
Math.max(Math.min(value, this.range_x.get("max")),
this.range_x.get("min")), hold);
@@ -106,7 +105,6 @@ EqBand = $class({
case "gain":
key = "y"
case "y":
- value = Math.max(Math.min(this.options.y_max, value), this.options.y_min);
switch (this.range_y.get("mode")) {
default:
case _TOOLKIT_LINEAR: