HENDRIX-ZT2 / pyaudiorestoration

A set of tools to restore audio quality from a variety of old analog sources, such as tape, cassettes, acetates and vinyl.
GNU General Public License v2.0
82 stars 7 forks source link

pyrespeeder_gui error at resampling #22

Closed IgnacioIrigaray closed 2 years ago

IgnacioIrigaray commented 2 years ago

First, thanks for the software!

When trying to resample a file the following error appears:

File "util/resampling.py", line 124: def speed_to_pos(sampletimes, speeds, num_imput_samples):

        # we can fine tune it to find the exact output sample 
        end = out_ind + np.argmin(np.abs(sample_at-num_imput_samples))

^

During: lowering "$298binary_subtract.8 = sample_at - num_imput_samples" at /media/nacho/Seagate Expansion Drive/FING/Doctorado/Audio Restoration Tools/pyaudiorestoration-master/pyaudiorestoration/util/resampling.py (124)

Running... Python: 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0] Numpy: 1.19.1 Vispy: 0.6.4

HENDRIX-ZT2 commented 2 years ago

I think the problem is due to the python version. I tried for a while with python other than the latest 3.7 release, but always ran into errors.

IgnacioIrigaray commented 2 years ago

Thanks for the quick reply. I manage to install python 3.6 following this and all the dependencies in a virtual environment.