Comments (6)
Probably in def read_file(file_name):,
you should replace ' sample_directory = '00_samples/ ' with ' sample_directory = './00_samples/ '
from noise_reduction.
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.
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.
i am also getting same error . how to solve this problem
from noise_reduction.
@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.
conda install -c conda-forge sox
installing this fixed it for me
you should have sox installed
from noise_reduction.
Related Issues (7)
- when I run noise.py, met follows problem, can help find some causes? HOT 13
- type errors HOT 1
- RuntimeError: sox FAIL bass HOT 4
- ModuleNotFoundError: No module named 'numba.decorators' HOT 4
- RuntimeError: sox FAIL bass: usage: gain [frequency(100) [width[s|h|k|q|o]](0.5s)] HOT 2
- The program collapse when the audio file is big
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noise_reduction.