mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
.. | ||
.github/workflows | ||
examples | ||
test | ||
.arduino-ci.yml | ||
CHANGELOG.md | ||
keywords.txt | ||
library.json | ||
library.properties | ||
LICENSE | ||
README.md | ||
WaveMix.cpp | ||
WaveMix.h |
WaveMix
WaveMix is an Arduino library to mix two signals (A and B) with an adaptive weight.
Description
WaveMix is a very simple library to mix two signals (A and B) with an adaptive weight.
Depending on the weights applied the output signal (O) looks more on signal A or on signal B.
Inspired by - https://www.codeproject.com/Articles/5323200/On-how-to-mix-two-signals-by-using-Spectral-Foreca
Differences
- simpler algorithm
- WaveMix works on streams of measurements too.
Interface
The main functions of the WaveMix
Operation
Future ideas
- make a N channel variant.
- modulator
- 3rd signal? ==> adjust weight runtime.
- separate modulator class?
- add gain()
- add (fixed) offset
- add increment() / decrement() ?
- percentages