mirror of
https://github.com/romanz/amodem.git
synced 2026-03-30 23:57:54 +08:00
fix import error
This commit is contained in:
@@ -67,7 +67,7 @@ class Sampler(object):
|
||||
|
||||
|
||||
def resample(src, dst, df=0.0):
|
||||
import common
|
||||
from . import common
|
||||
x = common.load(src)
|
||||
sampler = Sampler(x, Interpolator())
|
||||
sampler.freq += df
|
||||
|
||||
Reference in New Issue
Block a user