Code Monkey home page Code Monkey logo

sheikh-araf / soundfilter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 835 KB

Sound Filter is a software that uses frequency analysis and filter design to separate mixed sounds into two tracks. It utilizes the Bilinear transform and low-pass/high-pass filters to isolate original sounds from mixed recordings. Ideal for audio engineers and technicians.

Home Page: https://github.com/Sheikh-Araf/SoundFilter.git

License: MIT License

MATLAB 100.00%
audio-editing audio-processing digital-signal-processing filter-design frequency-analysis matlab matlab-gui signal-processing sound-separation bilinear-transform

soundfilter's Introduction

Logo

Sound Filter

This software is designed to analyze sound frequencies and separate mixed sounds into two distinct tracks. By determining the frequency response of a given sound and mixed sound, it can design a filter that isolates the two original sounds.

Theory Implementation

Frequency Response: The frequency response is the quantitative measure of the output spectrum of a system or device in response to a stimulus. In this software, the frequency response is used to determine the frequencies of the original sounds and the mixed sound.

Bilinear Transformation: The Bilinear transform is a mathematical relationship which can be used to convert the transfer function of a particular filter in the complex Laplace domain into the z-domain, and vice-versa. The bilinear transform is the result of a numerical integration of the analog transfer function into the digital domain. The software uses the Bilinear transform to design a filter that can isolate the two original sounds.

equation1

Low Pass and High Pass Filters: A high-pass filter (HPF) attenuates content below a cutoff frequency, allowing higher frequencies to pass through the filter. A low-pass filter (LPF) attenuates content above a cutoff frequency, allowing lower frequencies to pass through the filter. The software uses both low-pass and high-pass filters to separate the mixed sound into its original components.

How To Use

Step 1: First clone the repository

  git clone https://github.com/Sheikh-Araf/SoundFilter.git

Step 2: Open MATLAB Software

Step 3: File > Open

Step 4: Choose the home/user-name/SoundFilter/src/SoundFilter.mlapp

Demo

To demonstrate the functionality of this software, we will use a sample siren sound that has been combined with an unknown sound. Our objective is to design a filter that will separate the siren sound and produce two separate audio sounds.

Sample Input

The input signal consists of a siren sound and an unknown sound, as shown in the following screenshot:

input

The frequency ranges of the unknown sound in the combined signal are between 500 Hz and 2000 Hz.

Filter Design

To separate the siren sound from the combined signal, we will use the Bilinear transformation method to design a filter that transforms a low-pass filter into a high-pass filter.

The filter order will be 3rd, and the cut-off frequency of the filter will be set to 1000 Hz.

Output

After applying the filter to the input signal, we obtain the following two separate audio sounds:

Siren sound:

output1

Separated sound:

output2

License

MIT

soundfilter's People

Contributors

sheikh-araf avatar

Watchers

 avatar

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.