Comments (1)
It seems that you already got the answer to this question in Discord?
Generically, say you have a filter f
instantiated in your class, you can mix it with the original signal s
by adding to boost or subtracting to cut. The factor you apply g
is your gain or cut:
out = s + f(s) * g;
To make it clear, assume (for now) f
to be to identity, meaning it simply returns the signal s
passed to it. Then you can see that:
out = s + s * g;
if for example, g
is 1, then you get out = s + s * 1
, hence s is doubled.
If for example g
is -1, then you get out = s + s * -1
, or 0 (full attenuation, s will cancel out).
Now, imagine that a bandpass filter is used, Then the same operation above applies, but only applied to the frequencies that the bandpass returns. Ditto for lowpass and highpass.
Makes sense?
from q.
Related Issues (20)
- Some values for lowest and highest pitch cause blank output pitch detection HOT 9
- BiQuad lowpass filter problem HOT 4
- Explanation of how to best use the pitch detector HOT 12
- midi processor dispatch() not catching notes on channels other than 0 HOT 1
- use with raw audio stream pointers (int16_t * audio) HOT 3
- Incorrect Implementation in WAV memory read HOT 5
- [SUGGESTION] Audio fingerprinting
- Mac os 11.2 needs latest portaudio for running HOT 3
- Not able to compile the examples HOT 1
- Example of using signal_conditioner with shared_ptr HOT 4
- Detecting voiced vs unvoiced segments using BACF HOT 2
- Is it possible to add audio effects with song in android using this lib?
- Build fails with glibc>=2.34 HOT 5
- Godd HOT 1
- 404 link to square_osc.cpp in docs/modules/ROOT/pages/quick_start.adoc HOT 1
- = operator overload HOT 4
- Deprecated space in "" operator overloads causes compiler warnings, which causes errors in our release builds HOT 4
- frequency to note conversion questions HOT 5
- Direct access to `audio_stream` samples HOT 9
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 q.