wavesynth/compute_samples/SplinePhase: fix reduction

This commit is contained in:
Sebastien Bourdeauducq 2015-03-15 18:13:09 +01:00
parent 1d0fde7f13
commit 40bd101de0
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class SplinePhase:
def next(self):
r = self.c[0] + self.c0
for i in range(len(self.c)-1):
self.c[i] += self.c[i+1] % 1.0
self.c[i] = (self.c[i] + self.c[i+1]) % 1.0
return r