Giter VIP home page Giter VIP logo

devinyl's Introduction

DEVINYL - Recover vinyls beyond recovering

DEVINYL is a tool with a very simple purpose in mind: Restore vinyls. The older and more damaged they are, the better the work it does.

How does it work?

Contrary to v1, DeVinyl v2 is as simple as it can get. Most vinyl records have at least a ~2 second audio gap before actually starting each song, specially old 78rpm records. So taking a sample from seconds 1 to 2 you can be pretty sure you're getting a pure noise sample (I'll make this adjustable in a future release for your custom tracks). From there, by using the awesome open source (SoX)[https://sourceforge.net/projects/sox/] library, we can create a noise profile from the source track and with said profile, just remove the majority of the noise of the song, including heavy hissing and clicking and without creating noticeable artifacts.

Requirements

  • Any modern OS
  • SoX binaries (available as packages on Linux via Apt / dnf / pacman, must download from website in Windows / macOS: (https://sourceforge.net/projects/sox/)[https://sourceforge.net/projects/sox/])
  • ffmpeg binaries (same as above, though available in windows through chocolatey / Winget and macOS through brew)
  • (Windows only) check that SoX and ffmpeg are accessible through terminal, otherwise add their respective location to your user's PATH environment variable.

Usage

Linux/macOS

./devinyl.sh source_file

Windows (Powershell)

./devinyl.ps1 source_file

The clean track will be generated as <source_track>_clean.flac

Extras

Additional reference sites

These links helped me a lot better understanding the topics of audio processing and noise reduction in general:

Noise reduction gist

Noise reduction topic

noisereduce library

matchering

matchering-cli

Anaconda

FFmpeg

If this helped you out, please buy me a coffee!

https://www.buymeacoffee.com/matiaszanolli

Or follow my channel in YouTube:

https://www.youtube.com/@TechforMusicAI

devinyl's People

Contributors

dependabot[bot] avatar matiaszanolli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aldyl

devinyl's Issues

utils pydub_to_np not exisiting anymore

Hi , there seems a problem with the pydub_to_np: from utils import pydub_to_np
could you suggest a workaround?

(devinyl) (myenv) xxx-Air:~ xxx$ python Python/devinyl.py -h
Traceback (most recent call last):
File "Python/devinyl.py", line 21, in
from effects import (reduce_noise_centroid_mb, reduce_noise_centroid_s, reduce_noise_median, reduce_noise_mfcc_down,
File "/Users/xxx/Python/effects.py", line 15, in
from utils import pydub_to_np
ImportError: cannot import name 'pydub_to_np' from 'utils' (/Users/xxx/myenv/lib/python3.7/site-packages/utils/init.py)

[SUGGESTION] Collaboration with PYRS

Hi there, this project SOUNDS really interesting !

We would like to suggest you keep an eye on @HENDRIX-ZT2 's Python Audio Restoration Suite, from which you could easily "grab" various already-implemented features and - in turn - contribute to its improvement.

Secondly, check out our curated open source audio/video projects links collection that may also help you find useful (re)sources: HyMPS - HYbrid Multimedia Production Suite / Audio Tools section).

Hope that inspires !

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.