Coder Social home page Coder Social logo

Comments (7)

fcfalmeida avatar fcfalmeida commented on May 23, 2024

I'm getting the exact same error on MacOS Monterey 12.0.1 using Python 3.6. I've installed all required dependencies. No waveforms appear on GUI. Any help would be appreciated.

from pyaudiorestoration.

HENDRIX-ZT2 avatar HENDRIX-ZT2 commented on May 23, 2024

This sounds like you have the current version of vispy installed. You'll likely need an older version as specified in setup.py

from pyaudiorestoration.

fcfalmeida avatar fcfalmeida commented on May 23, 2024

This sounds like you have the current version of vispy installed. You'll likely need an older version as specified in setup.py

Completely forgot to check setup.py. Installed vispy 0.6.4 instead and it appears to be working now. Thank you so much!

Edit: I forgot to mention that I also tried with python 3.7 in the meantime, but apparently scikit-learn gives me a runtime error telling me it requires python 3.8:

RuntimeError: Scikit-learn requires Python 3.8 or later. The current Python version is 3.7.13 installed in /Users/chico/opt/miniconda3/envs/pyaudiorestoration/bin/python.

So I think the python 3.6 requirement specified on the README isn't correct.

from pyaudiorestoration.

damian238 avatar damian238 commented on May 23, 2024

Same problem on windows 10. Tried and failed to install vispy 0.6.4
Python: 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)]
Numpy: 1.22.2
Vispy: 0.12.1

from pyaudiorestoration.

damian238 avatar damian238 commented on May 23, 2024

I'm kind of desperate to get this working. I'd made some tapes of my guitar playing 40 years ago and not one of them is without extreme wow and flutter. I can not remake them so it's all that's left of my tears of playing. Before now there was nothing I could afford to fix them. What can I do?

from pyaudiorestoration.

damian238 avatar damian238 commented on May 23, 2024

I can't help but think that the negative value referenced in bold at the end here might be a clue as to how things have gone wrong here...
Reading C:/guitar music/Track01.wav
storing new fft ('C:/guitar music/Track01.wav', 2048, 0, 512)
Reading speed data
Reading regression data
Retrieving FFT from processing thread
ERROR: Invoking <bound method SceneCanvas.on_draw of <Canvas (PyQt5) at 0x2bdbe8e10a0>> repeat 128
WARNING: Traceback (most recent call last):WARNING: Traceback (most recent call last):
File "C:\Damian\flutterFix\pyaudiorestoration-master\pyaudiorestoration\pyrespeeder_gui.py", line 265, in
widgets.startup(MainWindow)
File "C:\Damian\flutterFix\pyaudiorestoration-master\pyaudiorestoration\util\widgets.py", line 32, in startup
appQt.exec_()
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\vispy\app\backends_qt.py", line 567, in event
out = super(QtBaseCanvasBackend, self).event(ev)
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\vispy\app\backends_qt.py", line 512, in mouseReleaseEvent
self._vispy_mouse_release(
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\vispy\app\base.py", line 224, in _vispy_mouse_release
ev = self._vispy_canvas.events.mouse_release(**kwargs)
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\vispy\util\event.py", line 453, in call
self._invoke_callback(cb, event)
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\vispy\util\event.py", line 471, in _invoke_callback
_handle_exception(self.ignore_callback_errors,
<< caught exception here: >>
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\vispy\util\event.py", line 469, in _invoke_callback
cb(event)
File "C:\Damian\flutterFix\pyaudiorestoration-master\pyaudiorestoration\pyrespeeder_gui.py", line 233, in on_mouse_release
track = wow_detection.Track(
File "C:\Damian\flutterFix\pyaudiorestoration-master\pyaudiorestoration\util\wow_detection.py", line 43, in init
self.sample_trail(trail)
File "C:\Damian\flutterFix\pyaudiorestoration-master\pyaudiorestoration\util\wow_detection.py", line 75, in sample_trail
self.times = np.linspace(self.frame_0self.hop/self.sr, self.frame_1self.hop/self.sr, self.frame_1-self.frame_0)
File "<array_function internals>", line 180, in linspace
File "C:\Users\Damian\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\core\function_base.py", line 122, in linspace
raise ValueError("Number of samples, %s, must be non-negative." % num)
ValueError: Number of samples, -10692, must be non-negative.
ERROR: Invoking <bound method Canvas.on_mouse_release of <Canvas (PyQt5) at 0x2bdbe8e10a0>> for MouseEvent

This occurred when I tried to select in the spectral window (despite nothing being visible).

from pyaudiorestoration.

HENDRIX-ZT2 avatar HENDRIX-ZT2 commented on May 23, 2024

I have improved the installation instructions to be more up to date and removed my code's requirements for specific older dependencies' versions. So please test the installation again with the current code and instructions.

from pyaudiorestoration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.