Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shun60s/spectral-subtraction
This is a simple python code of spectral subtraction.
https://github.com/shun60s/spectral-subtraction
noise-reduction signal-processing
Last synced: about 1 month ago
JSON representation
This is a simple python code of spectral subtraction.
- Host: GitHub
- URL: https://github.com/shun60s/spectral-subtraction
- Owner: shun60s
- Created: 2018-12-19T12:42:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T05:07:12.000Z (over 5 years ago)
- Last Synced: 2024-08-02T13:16:43.947Z (4 months ago)
- Topics: noise-reduction, signal-processing
- Language: Python
- Size: 565 KB
- Stars: 35
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-audio-speech - Spectral subtraction
README
# Spectral Subtraction
This is a simple python code of spectral subtraction. No advanced one.
[github repository](https://github.com/shun60s/spectral-subtraction)
## Purpose
There was old, a low quality analog recording source (4KHz sampling, mono) which includes noise to strike ears.
It's an indian mantra. It consists of human voice and background noise.
In order to make the souce sound soften to hear, apply noise reduction method by spectral subtraction.The figure below is a comparison the source waveform and noise reduced waveform by this spectral subtraction.
![sample1](docs/noise_reduction.png)In the samples folder, there are used wav files and noise reduced output wav file.
## Usage
Please see the description in ss1.py.
In this time, noise only wav file was made by manual using Audacity.
Get only noise portions from the source waveform and just concatenates them.## Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.