Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
larme committed Sep 6, 2020
1 parent 0628fa5 commit 4636b42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fakebox/dsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
from fakebox.conf import DEFAULT_SAMPLE_RATE, DEFAULT_BIT_N

DSPFloat = np.float64
DSPEpislon = DSPFloat(1e-8)
DSPEpsilon = DSPFloat(1e-8)
DSPZero = DSPFloat(0.0)
DSPOne = DSPFloat(1.0)
DSPOne_L = DSPFloat(1.0) - DSPEpislon
DSPOne_L = DSPFloat(1.0) - DSPEpsilon

class DSPContext(object):

Expand Down
4 changes: 2 additions & 2 deletions fakebox/stdlib/env.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fakebox.dsp import DSPObj, DSPZero, DSPEpislon
from fakebox.dsp import DSPObj, DSPZero, DSPEpsilon

class LineSegs(DSPObj):

Expand Down Expand Up @@ -34,7 +34,7 @@ def _tick(self, ins):
time_points.append(time_points[-1] + dur)


if running_time > time_points[-1] - DSPEpislon:
if running_time > time_points[-1] - DSPEpsilon:
self.running = False
return DSPZero

Expand Down

0 comments on commit 4636b42

Please sign in to comment.