Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

3 Band Equilizer #16

Answered by pschatzmann
Grassbaecker asked this question in Q&A
Apr 24, 2022 · 7 comments · 2 replies
Discussion options

You must be logged in to vote

So if you use the https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-audiokit/streams-audiokit-audiokit/streams-audiokit-audiokit.ino as starting point:
Just use Equilizer3Bands eq(kit);
And replace the eq as copy source or copy target. It should not make any difference:

StreamCopy copier(eq, kit); // copy kit with eq to kit
or
StreamCopy copier(kit, eq); // copy kit to kit with eq

to set up the eq parameters

auto eqcfg = eq.defaultConfig();
eqcfg.bits_per_sample = kit.bits_per_sample;
eqcfg.channels = kit.channels;
eqcfg.sample_rate = kit.sample_rate;
eq.begin(eqcfg);

To update the settings just change
eqcfg. gain_high or gain_low or gain_medium

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Grassbaecker
Comment options

Comment options

You must be logged in to vote
1 reply
@Grassbaecker
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants