Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import python_speech_features
import scipy as sp
from scipy import signal
import soundfile as sf

# http://python-speech-features.readthedocs.io/en/latest/
# https://github.com/jameslyons/python_speech_features
Expand Down Expand Up @@ -200,7 +201,7 @@ def enhance(y):
------------------------------------'''
def output_file(destination ,filename, y, sr, ext=""):
destination = destination + filename[:-4] + ext + '.wav'
librosa.output.write_wav(destination, y, sr)
sf.write(destination, y, sr)


'''------------------------------------
Expand Down
42 changes: 27 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
appdirs==1.4.3
audioread==2.1.4
Cython==0.25.2
decorator==4.0.11
joblib==0.11
librosa==0.5.0
numpy==1.12.1
packaging==16.8
pyparsing==2.2.0
pysndfx==0.1.0
python-speech-features==0.5
resampy==0.1.5
scikit-learn==0.18.1
scipy==0.19.0
six==1.10.0
appdirs==1.4.4
audioread==2.1.9
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.7
Cython==0.29.24
decorator==5.1.0
idna==3.3
joblib==1.1.0
librosa==0.8.1
llvmlite==0.37.0
numba==0.54.1
numpy==1.20.3
packaging==21.2
pooch==1.5.2
pycparser==2.21
pyparsing==2.4.7
pysndfx==0.3.6
python-speech-features==0.6
requests==2.26.0
resampy==0.2.2
scikit-learn==1.0.1
scipy==1.7.2
six==1.16.0
SoundFile==0.10.3.post1
threadpoolctl==3.0.0
urllib3==1.26.7