Merge branch 'master' into 1mhz-opt-osc

This commit is contained in:
KrisKennaway 2022-07-22 14:58:47 +01:00 committed by GitHub
commit 2dff0c242c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -38,6 +38,7 @@ import librosa
import numpy
import soundfile as sf
from eta import ETA
from typing import Tuple
import lookahead
import opcodes
@ -75,7 +76,6 @@ class Speaker:
# See _Signal Processing in C_, C. Reid, T. Passin
# https://archive.org/details/signalprocessing0000reid/
dt = numpy.float64(1 / sample_rate)
w = numpy.float64(freq * 2 * numpy.pi * dt)
@ -93,7 +93,6 @@ class Speaker:
self.b1 = b1
self.b2 = b2
def total_error(positions: numpy.ndarray, data: numpy.ndarray) -> numpy.ndarray:
"""Computes the total squared error for speaker position matrix vs data."""