Giter Site home page Giter Site logo

Comments (6)

michem32 avatar michem32 commented on June 14, 2024 1

Probably in def read_file(file_name):,
you should replace ' sample_directory = '00_samples/ ' with ' sample_directory = './00_samples/ '

from noise_reduction.

dodiku avatar dodiku commented on June 14, 2024

I'm sorry, but this repo was not tested on Windows. My guess is that the string that represents the file path should be written differently.

from noise_reduction.

MinaBabahaji avatar MinaBabahaji commented on June 14, 2024

Hi, I have the same error on windows. accutally it is related to the pysndfx library. did you find a way for this problem?

from noise_reduction.

harshathalari555 avatar harshathalari555 commented on June 14, 2024

i am also getting same error . how to solve this problem

from noise_reduction.

mallapraveen avatar mallapraveen commented on June 14, 2024

@michem32 I rectified that

@dodiku Can you help pls

Even though i am getting below error:

FileNotFoundError Traceback (most recent call last)
in ()
222
223 # reducing noise using db power
--> 224 y_reduced_power = reduce_noise_power(y, sr)
225 y_reduced_centroid_s = reduce_noise_centroid_s(y, sr)
226 y_reduced_centroid_mb = reduce_noise_centroid_mb(y, sr)

3 frames
/usr/lib/python3.7/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
1549 if errno_num == errno.ENOENT:
1550 err_msg += ': ' + repr(err_filename)
-> 1551 raise child_exception_type(errno_num, err_msg, err_filename)
1552 raise child_exception_type(err_msg)
1553

FileNotFoundError: [Errno 2] No such file or directory: 'sox': 'sox'

from noise_reduction.

mallapraveen avatar mallapraveen commented on June 14, 2024

@MinaBabahaji

conda install -c conda-forge sox

installing this fixed it for me
you should have sox installed

from noise_reduction.

Related Issues (7)

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.