Skip to content

Commit 4d92c5e

Browse files
committed
Correct spelling for Equailizer
1 parent 855cc5b commit 4d92c5e

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Some basic __header-only C++ classes__ that can be used for __Audio Processing__
88
- Helps to [communicate](https://github.com/pschatzmann/arduino-audio-tools/wiki/Communication) audio over the wire or wirelessly
99
- Different [Sound Generators](https://pschatzmann.github.io/arduino-audio-tools/group__generator.html) (e.g. to generate a sine tone) for [GeneratedSoundStream](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_generated_sound_stream.html)
1010
- Support for [Sound Effects](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_audio_effect_stream.html) with different [Effect Implementations](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_audio_effect.html) (e.g. Boost, Distortion, Echo, Reverb...) for [AudioEffectStream](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_audio_effect_stream_t.html)
11-
- Provides a [3 Band Equalizer](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_equilizer3_bands.html)
11+
- Provides a [3 Band Equalizer](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_equalizer3_bands.html)
1212
- Different [Converters](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_base_converter.html) for [ConverterStream](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_converter_stream.html)
1313
- Different [Filters](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_filter.html) for [FilteredStream](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_filtered_stream.html)
1414
- [Musical Notes](https://pschatzmann.github.io/arduino-audio-tools/classaudio__tools_1_1_musical_notes.html) (with frequencies of notes)

examples/examples-communication/a2dp/basic-a2dp-eq-audiokit/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## Using the AI Thinker ESP32 Audio Kit as A2DP Receiver with Equilizer
1+
## Using the AI Thinker ESP32 Audio Kit as A2DP Receiver with Equalizer
22

33
I found some cheap [AI Thinker ESP32 Audio Kit V2.2](https://docs.ai-thinker.com/en/esp32-audio-kit) on AliExpress.
44

55
<img src="https://pschatzmann.github.io/Resources/img/audio-toolkit.png" alt="Audio Kit" />
66

7-
I am using the data callback of the A2DP library to feed the AudioBoardStream that will be controlled by an Equilizer
7+
I am using the data callback of the A2DP library to feed the AudioBoardStream that will be controlled by an Equalizer
88

99
You dont need to bother about any wires because everything is on one nice board. Just just need to install the dependencies:
1010

examples/examples-communication/a2dp/basic-a2dp-eq-audiokit/basic-a2dp-eq-audiokit.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
BluetoothA2DPSink a2dp_sink;
1515
AudioBoardStream kit(AudioKitEs8388V1);
1616
Equilizer3Bands eq(kit);
17-
ConfigEquilizer3Bands cfg_eq;
17+
ConfigEqualizer3Bands cfg_eq;
1818

1919

2020
// Write data to AudioKit in callback
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
22

33
#include "AudioTools/CoreAudio/AudioFilter/Filter.h"
4-
#include "AudioTools/CoreAudio/AudioFilter/Equilizer.h"
4+
#include "AudioTools/CoreAudio/AudioFilter/Equalizer.h"
55
#include "AudioTools/CoreAudio/AudioFilter/MedianFilter.h"

src/AudioTools/CoreAudio/AudioFilter/Equilizer.h renamed to src/AudioTools/CoreAudio/AudioFilter/Equalizer.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@
66
#include "AudioTools/CoreAudio/AudioStreams.h"
77

88
/**
9-
* @defgroup equilizer Equilizer
9+
* @defgroup equilizer Equalizer
1010
* @ingroup dsp
11-
* @brief Digital Equilizer
11+
* @brief Digital Equalizer
1212
**/
1313

1414
namespace audio_tools {
1515

1616
/**
17-
* @brief Configuration for 3 Band Equilizer: Set
17+
* @brief Configuration for 3 Band Equalizer: Set
1818
* channels,bits_per_sample,sample_rate. Set and update gain_low, gain_medium
1919
* and gain_high to value between 0 and 1.0
2020
* @ingroup equilizer
2121
* @author pschatzmann
2222
*/
23-
struct ConfigEquilizer3Bands : public AudioInfo {
24-
ConfigEquilizer3Bands() {
23+
struct ConfigEqualizer3Bands : public AudioInfo {
24+
ConfigEqualizer3Bands() {
2525
channels = 2;
2626
bits_per_sample = 16;
2727
sample_rate = 44100;
2828
}
2929

30-
ConfigEquilizer3Bands(const ConfigEquilizer3Bands &) = delete;
30+
ConfigEqualizer3Bands(const ConfigEqualizer3Bands &) = delete;
3131

3232
// Frequencies
3333
int freq_low = 880;
@@ -40,7 +40,7 @@ struct ConfigEquilizer3Bands : public AudioInfo {
4040
};
4141

4242
/**
43-
* @brief 3 Band Equilizer inspired from
43+
* @brief 3 Band Equalizer inspired from
4444
* https://www.musicdsp.org/en/latest/Filters/236-3-band-equaliser.html
4545
* @ingroup equilizer
4646
* @author pschatzmann
@@ -74,11 +74,11 @@ class Equilizer3Bands : public ModifyingStream {
7474
/// Defines/Changes the output target
7575
void setOutput(Print &out) override { p_print = &out; }
7676

77-
ConfigEquilizer3Bands &config() { return cfg; }
77+
ConfigEqualizer3Bands &config() { return cfg; }
7878

79-
ConfigEquilizer3Bands &defaultConfig() { return config(); }
79+
ConfigEqualizer3Bands &defaultConfig() { return config(); }
8080

81-
bool begin(ConfigEquilizer3Bands &config) {
81+
bool begin(ConfigEqualizer3Bands &config) {
8282
p_cfg = &config;
8383
if (p_cfg->channels > max_state_count) {
8484
if (state != nullptr) delete[] state;
@@ -129,8 +129,8 @@ class Equilizer3Bands : public ModifyingStream {
129129
}
130130

131131
protected:
132-
ConfigEquilizer3Bands cfg;
133-
ConfigEquilizer3Bands *p_cfg = &cfg;
132+
ConfigEqualizer3Bands cfg;
133+
ConfigEqualizer3Bands *p_cfg = &cfg;
134134
const float vsa = (1.0 / 4294967295.0); // Very small amount (Denormal Fix)
135135
Print *p_print = nullptr; // support for write
136136
Stream *p_stream = nullptr; // support for write

0 commit comments

Comments
 (0)