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

pyaudiorestoration suite #17

Open nokkensnaut opened 3 years ago

nokkensnaut commented 3 years ago

Hallo HENDRIX-ZT2

And a bucketload of thanks for giving the opportunity to install youer apps through python as much as a learning curve, didn't know until a couple of days ago that you could download python cased stuff via the command prompt as online, I interface mainly within Windows 10. Got a question and hoping you can help : So after installing the detail at https://github.com/HENDRIX-ZT2/pyaudiorestoration/wiki, I'm really very baffled as to how to open up any of the apps to use, am well particularly interested in the Automatic Dropout Restoration, Wow & Flutter Removal and Automatic Speed Matching Using Tape Hum apps but've no idea how to, for example open the Automatic Dropout Restoration as seen at https://github.com/HENDRIX-ZT2/pyaudiorestoration/wiki/Automatic-Dropout-Restoration, could you give an idea I"d very very grateful, thanks, nokkensnaut 2803211 2803212

HENDRIX-ZT2 commented 3 years ago

If you've installed everything correctly, you can simply double click the "..._gui.py" files to run them with python. Incase you haven't installed the python launcher, you can run them from the console, like: python pyrespeeder_gui.py

nokkensnaut commented 3 years ago

Thanks for the reply and sorry it've taken so long to reply.

I've looked but're not sure where the gui.py files are installed. So in association to youer reply I've tried to run the launcher as you suggested, please see the error messages in the snapshots.

Also I thinks I've installed all the requirements as at https://github.com/HENDRIX-ZT2/pyaudiorestoration but see the error message in the second snapshot over the versions of pip ; if upgraded to pip 21.0.1 the wheel files [and dependent on the python version installed] are not properly read thus do not install.

Thier may be a conflict of pip 9.0.1 as versus pip 21.0.1 where some .whl files [again dependent on the python version installed] either do not install or do not install correctly.

Also : At the command prompt double clicking on files in the location

C:\Users\username\AppData\Local\Programs\Python\Python36\Lib\site-packages__pycache__

merely see the command prompt window "flash on the screen" then quickly disappear.

What am I doing wrong with this, any remedials you can suggest to get the apps going would be well appreciated.

thanks

2803213 2803214

HENDRIX-ZT2 commented 3 years ago

Basically everything. :P You have to use the command line, not the python console to run the scripts. PyFFTW is not essential so you can ignore that for now.

If you have the launcher installed you can just double click the .py files.

nokkensnaut commented 3 years ago

I'd just like to be able to double click on an app as "run administrator" [as you does in Windows] so as you can see the interface as in the first message and pictures, then see the app appear. I'm not sure as to what you means by launcher [or did you wants to arrange a teamview to asisst with putting this in a good way], any help to use the software would be gratefully appreciated, thanks

HENDRIX-ZT2 commented 3 years ago

grafik ^ That is the python launcher: Basically Open with > Python or double click the py file and the program starts. This is the simplest way to go about it. For this you need to have installed the python launcher during python's installation.

nokkensnaut commented 3 years ago

Hallo HENDRIX-ZT2/

I can read some German so it's not a problem. As I see from the snapshot, this is how I would expect the suite to launch. But following the path through PyCharm Projects >pyaudiorestoraion, I do not see this path on my system. Maybe if PyCharm is installed the suite might appear as in youer picture, I will try to install after download then tell to you how it goes, one moment, thanks

HENDRIX-ZT2 commented 3 years ago

You do not need pycharm. To run the tools you can just extract the zip file you download from https://github.com/HENDRIX-ZT2/pyaudiorestoration/archive/refs/heads/master.zip. It does not matter where you extract it to.

nokkensnaut commented 3 years ago

so when I downloaded from the download link then "open with" > python 3.7 ,the command window "comes up then quickly flashes off"

nokkensnaut commented 3 years ago

via the path : \pyaudiorestoration-master\pyaudiorestoration-master\setup

nokkensnaut commented 3 years ago

pyauiorestorationsuite #17 will not install after download and extraction. None of the items in the location at pyaudiorestoration as in the snapshot appear as in the location as in youer picture 3003211

HENDRIX-ZT2 commented 3 years ago

The absolute location does not matter. Running setup.py should install the required dependencies. But it will only do so if you run it with admin rights.

nokkensnaut commented 3 years ago

from the command line within the folder where pyaudiorestoration is downloaded

\pyaudiorestoration-master\pyaudiorestoration-master

when running python setup.py install

here's the output result :

\pyaudiorestoration-master\pyaudiorestoration-master>python setup.py install running install running bdist_egg running egg_info writing pyaudiorestoration.egg-info\PKG-INFO writing dependency_links to pyaudiorestoration.egg-info\dependency_links.txt writing requirements to pyaudiorestoration.egg-info\requires.txt writing top-level names to pyaudiorestoration.egg-info\top_level.txt package init file 'pyaudiorestoration__init__.py' not found (or not a regular file) reading manifest file 'pyaudiorestoration.egg-info\SOURCES.txt' writing manifest file 'pyaudiorestoration.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\decompressor_cmd.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\difeq_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\dropouts_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\expander_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\hpss_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\humspeed_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pypan_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pyrespeeder_cmd.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pyrespeeder_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pytapesynch_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\decompressor_cmd.py to decompressor_cmd.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\difeq_gui.py to difeq_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\dropouts_gui.py to dropouts_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\expander_gui.py to expander_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\hpss_gui.py to hpss_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\humspeed_gui.py to humspeed_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pypan_gui.py to pypan_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pyrespeeder_cmd.py to pyrespeeder_cmd.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pyrespeeder_gui.py to pyrespeeder_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pytapesynch_gui.py to pytapesynch_gui.cpython-39.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist\pyaudiorestoration-1.0-py3.9.egg' and adding 'build\bdist.win-amd64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing pyaudiorestoration-1.0-py3.9.egg Copying pyaudiorestoration-1.0-py3.9.egg to c:\users\username\appdata\local\programs\python\python39\lib\site-packages Adding pyaudiorestoration 1.0 to easy-install.pth file

Installed c:\users\username\appdata\local\programs\python\python39\lib\site-packages\pyaudiorestoration-1.0-py3.9.egg Processing dependencies for pyaudiorestoration==1.0 Searching for pyfftw Reading https://pypi.org/simple/pyfftw/ Downloading https://files.pythonhosted.org/packages/4b/38/6f9539d274d02fbc3262e2f9a0c9dbac9b53393b3ed935612993f8df54bf/pyFFTW-0.12.0.tar.gz#sha256=60988e823ca75808a26fd79d88dbae1de3699e72a293f812aa4534f8a0a58cb0 Best match: pyFFTW 0.12.0 Processing pyFFTW-0.12.0.tar.gz Writing C:\Users\username\AppData\Local\Temp\easy_install-26u0d0cv\pyFFTW-0.12.0\setup.cfg Running pyFFTW-0.12.0\setup.py -q bdist_egg --dist-dir C:\Users\username\AppData\Local\Temp\easy_install-26u0d0cv\pyFFTW-0.12.0\egg-dist-tmp-1q6rdkll WARNING: The wheel package is not available. warning: no files found matching 'CHANGELOG.md' warning: no files found matching 'README.rst' no previously-included directories found matching 'docs_build' no previously-included directories found matching 'build' no previously-included directories found matching '__pycache__' warning: no previously-included files matching '.py[cod]' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution warning: no previously-included files matching '.dll' found anywhere in distribution warning: no previously-included files matching '.dylib' found anywhere in distribution warning: no previously-included files matching '~' found anywhere in distribution warning: no previously-included files matching '.bak' found anywhere in distribution warning: no previously-included files matching '.swp' found anywhere in distribution UPDATING build\lib.win-amd64-3.9\pyfftw/_version.py set build\lib.win-amd64-3.9\pyfftw/_version.py to '0.12.0' error: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

\pyaudiorestoration-master\pyaudiorestoration-master>

Microsoft Visual C++ 14.0 is required ?

Microsoft Visual C++ 17.0 is already installed. 3003212

HENDRIX-ZT2 commented 3 years ago

If it asks for visual c++ it is very picky about the version number. Very hard to get that working.

You better ignore setup.py completely and instead install the required dependencies with the pip command as described on the main page.

nokkensnaut commented 3 years ago

Yes, already did all that pip command install of the required dependencies but still did not see the pyaudiorestoration suite installed as in youer snapshot. The pyaudiorestoration folder "is not seen" under pyaudiorestoration, that's what I should see but the folder with the apps does not appear

HENDRIX-ZT2 commented 3 years ago

It is not 'installed'. You just have to unzip the ZIP file you downloaded and put it anywhere you like. The .py files are in there.

nokkensnaut commented 3 years ago

Yes, also did the extraction from the folder and attempt yo locally install via pip as you suggest, I were doing this two nights ago in the sleeping hours for two nights. Should be fairly kind of straightforward but it doesn't for some reason install correctly after being unzipped

nokkensnaut commented 3 years ago

see the comment as result here as trying to download vispy :

https://github.com/HENDRIX-ZT2/pyaudiorestoration/blob/master/vispy.org

nokkensnaut commented 3 years ago

Again just followed the instructions as you suggested,

"Open a command prompt with admin rights inside that folder and run: python setup.py install This will install all required dependencies so you can start right away"

see the result of the output :

\pyaudiorestoration-master\pyaudiorestoration-master>python setup.py install running install running bdist_egg running egg_info creating pyaudiorestoration.egg-info writing pyaudiorestoration.egg-info\PKG-INFO writing dependency_links to pyaudiorestoration.egg-info\dependency_links.txt writing requirements to pyaudiorestoration.egg-info\requires.txt writing top-level names to pyaudiorestoration.egg-info\top_level.txt writing manifest file 'pyaudiorestoration.egg-info\SOURCES.txt' package init file 'pyaudiorestoration__init__.py' not found (or not a regular file) reading manifest file 'pyaudiorestoration.egg-info\SOURCES.txt' writing manifest file 'pyaudiorestoration.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py creating build creating build\lib creating build\lib\pyaudiorestoration copying pyaudiorestoration\decompressor_cmd.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\difeq_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\dropouts_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\expander_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\hpss_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\humspeed_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\pypan_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\pyrespeeder_cmd.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\pyrespeeder_gui.py -> build\lib\pyaudiorestoration copying pyaudiorestoration\pytapesynch_gui.py -> build\lib\pyaudiorestoration creating build\bdist.win-amd64 creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\decompressor_cmd.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\difeq_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\dropouts_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\expander_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\hpss_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\humspeed_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pypan_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pyrespeeder_cmd.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pyrespeeder_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration copying build\lib\pyaudiorestoration\pytapesynch_gui.py -> build\bdist.win-amd64\egg\pyaudiorestoration byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\decompressor_cmd.py to decompressor_cmd.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\difeq_gui.py to difeq_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\dropouts_gui.py to dropouts_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\expander_gui.py to expander_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\hpss_gui.py to hpss_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\humspeed_gui.py to humspeed_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pypan_gui.py to pypan_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pyrespeeder_cmd.py to pyrespeeder_cmd.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pyrespeeder_gui.py to pyrespeeder_gui.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\pyaudiorestoration\pytapesynch_gui.py to pytapesynch_gui.cpython-39.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO copying pyaudiorestoration.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist\pyaudiorestoration-1.0-py3.9.egg' and adding 'build\bdist.win-amd64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing pyaudiorestoration-1.0-py3.9.egg Removing c:\users\username\appdata\local\programs\python\python39\lib\site-packages\pyaudiorestoration-1.0-py3.9.egg Copying pyaudiorestoration-1.0-py3.9.egg to c:\users\username\appdata\local\programs\python\python39\lib\site-packages pyaudiorestoration 1.0 is already the active version in easy-install.pth

Installed c:\users\username\appdata\local\programs\python\python39\lib\site-packages\pyaudiorestoration-1.0-py3.9.egg Processing dependencies for pyaudiorestoration==1.0 Searching for pyfftw Reading https://pypi.org/simple/pyfftw/ Downloading https://files.pythonhosted.org/packages/4b/38/6f9539d274d02fbc3262e2f9a0c9dbac9b53393b3ed935612993f8df54bf/pyFFTW-0.12.0.tar.gz#sha256=60988e823ca75808a26fd79d88dbae1de3699e72a293f812aa4534f8a0a58cb0 Best match: pyFFTW 0.12.0 Processing pyFFTW-0.12.0.tar.gz Writing C:\Users\username\AppData\Local\Temp\easy_install-pw8e5c_f\pyFFTW-0.12.0\setup.cfg Running pyFFTW-0.12.0\setup.py -q bdist_egg --dist-dir C:\Users\username\AppData\Local\Temp\easy_install-pw8e5c_f\pyFFTW-0.12.0\egg-dist-tmp-wiyrz6l3 WARNING: The wheel package is not available. warning: no files found matching 'CHANGELOG.md' warning: no files found matching 'README.rst' no previously-included directories found matching 'docs_build' no previously-included directories found matching 'build' no previously-included directories found matching '__pycache__' warning: no previously-included files matching '.py[cod]' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution warning: no previously-included files matching '.dll' found anywhere in distribution warning: no previously-included files matching '.dylib' found anywhere in distribution warning: no previously-included files matching '~' found anywhere in distribution warning: no previously-included files matching '.bak' found anywhere in distribution warning: no previously-included files matching '.swp' found anywhere in distribution UPDATING build\lib.win-amd64-3.9\pyfftw/_version.py set build\lib.win-amd64-3.9\pyfftw/_version.py to '0.12.0' error: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

\pyaudiorestoration-master\pyaudiorestoration-master>

HENDRIX-ZT2 commented 1 year ago

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.

nokkensnaut commented 1 year ago

No working system, currently broken, system currently being rebuilt, looking to defer non boot challenges when discovered the areas where non boot predilates, will update when system becomes available,

thank you


From: HENDRIX-ZT2 @.> Sent: Friday, April 21, 2023 11:44:49 AM To: HENDRIX-ZT2/pyaudiorestoration @.> Cc: nokkensnaut @.>; Author @.> Subject: Re: [HENDRIX-ZT2/pyaudiorestoration] pyaudiorestoration suite (#17)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/HENDRIX-ZT2/pyaudiorestoration/issues/17#issuecomment-1517637152, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATLBZIXYXJTFY3BUS3CXNI3XCJQKDANCNFSM4Z23QZEQ. You are receiving this because you authored the thread.Message ID: @.***>