diff --git a/_audio_effect_8h_source.html b/_audio_effect_8h_source.html index 0b7944bd25..7cf86aa224 100644 --- a/_audio_effect_8h_source.html +++ b/_audio_effect_8h_source.html @@ -73,406 +73,549 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ arduino-audio-tools
+
+ |
+
+ arduino-audio-tools
+
+ |
+
This is the complete list of members for Compressor, including all inherited members.
+active() | AudioEffect | inlinevirtual |
active_flag (defined in AudioEffect) | AudioEffect | protected |
attack_count (defined in Compressor) | Compressor | protected |
AudioEffect()=default (defined in AudioEffect) | AudioEffect | |
clip(int32_t in, int16_t clipLimit=32767, int16_t resultLimit=32767) | AudioEffect | inlineprotected |
CompStates enum name (defined in Compressor) | Compressor | protected |
copyParent(AudioEffect *copy) (defined in AudioEffect) | AudioEffect | inlineprotected |
gain (defined in Compressor) | Compressor | protected |
gain_step_attack (defined in Compressor) | Compressor | protected |
gain_step_release (defined in Compressor) | Compressor | protected |
gainreduce (defined in Compressor) | Compressor | protected |
hold_count (defined in Compressor) | Compressor | protected |
id() | AudioEffect | inline |
id_value (defined in AudioEffect) | AudioEffect | protected |
recalculate() (defined in Compressor) | Compressor | inlineprotected |
release_count (defined in Compressor) | Compressor | protected |
S_Attack enum value (defined in Compressor) | Compressor | protected |
S_GainReduction enum value (defined in Compressor) | Compressor | protected |
S_NoOperation enum value (defined in Compressor) | Compressor | protected |
S_Release enum value (defined in Compressor) | Compressor | protected |
sample_rate (defined in Compressor) | Compressor | protected |
setActive(bool value) | AudioEffect | inlinevirtual |
setId(int id) | AudioEffect | inline |
State (defined in Compressor) | Compressor | protected |
threshold (defined in Compressor) | Compressor | protected |
timeout (defined in Compressor) | Compressor | protected |
~AudioEffect()=default (defined in AudioEffect) | AudioEffect | virtual |
+ arduino-audio-tools
+
+ |
+
Compressor inspired by https://github.com/YetAnotherElectronicsChannel/STM32_DSP_COMPRESSOR/blob/master/code/Src/main.c. + More...
+ +#include <AudioEffect.h>
+Public Member Functions | |
+virtual bool | active () |
determines if the effect is active | |
+int | id () |
Allows to identify an effect. | |
+virtual void | setActive (bool value) |
sets the effect active/inactive | |
+void | setId (int id) |
Allows to identify an effect. | |
+Protected Types | |
enum | CompStates { S_NoOperation +, S_Attack +, S_GainReduction +, S_Release + } |
+Protected Member Functions | |
+int16_t | clip (int32_t in, int16_t clipLimit=32767, int16_t resultLimit=32767) |
generic clipping method | |
+void | copyParent (AudioEffect *copy) |
+void | recalculate () |
Compressor inspired by https://github.com/YetAnotherElectronicsChannel/STM32_DSP_COMPRESSOR/blob/master/code/Src/main.c.
+ +This is the complete list of members for FECReedSolomon< msglen, ecclen >, including all inherited members.
+This is the complete list of members for FECReedSolomon< bytecount, additional_bytes >, including all inherited members.
#include <FECReedSolomon.h>
FECReedSolomon (Stream &stream) | |
-int | available () |
-int | availableForWrite () |
+int | available () override |
+int | availableForWrite () override |
virtual void | flush () |
operator bool () | |
-size_t | readBytes (uint8_t *data, size_t len) |
-size_t | write (const uint8_t *data, size_t len) |
+int | peek () override |
To be avoided. | |
+int | read () override |
To be avoided. | |
+size_t | readBytes (uint8_t *data, size_t len) override |
+size_t | write (const uint8_t *data, size_t len) override |
+size_t | write (uint8_t c) override |
To be avoided. | |
Protected Attributes | _timeout = 10 |
-SingleBuffer< uint8_t > | encoded {msglen+ecclen} | encoded {bytecount+additional_bytes} |
Print * | p_print = nullptr | p_stream = nullptr |
-SingleBuffer< uint8_t > | raw {msglen} | raw {bytecount} |
-RS::ReedSolomon< msglen, ecclen > | rs |
+RS::ReedSolomon< bytecount, additional_bytes > | rs |
Forward error correction using Reed-Solomon: write is encoding and readBytes does the decoding.
diff --git a/classaudio__tools_1_1_f_e_c_reed_solomon.png b/classaudio__tools_1_1_f_e_c_reed_solomon.png index 4ad5eab21d..88c1216308 100644 Binary files a/classaudio__tools_1_1_f_e_c_reed_solomon.png and b/classaudio__tools_1_1_f_e_c_reed_solomon.png differ diff --git a/classaudio__tools_1_1_hamming-members.html b/classaudio__tools_1_1_hamming-members.html index 3f511543e1..262446ad02 100644 --- a/classaudio__tools_1_1_hamming-members.html +++ b/classaudio__tools_1_1_hamming-members.html @@ -66,25 +66,52 @@This is the complete list of members for Hamming, including all inherited members.
+This is the complete list of members for Hamming< bytecount, block_t >, including all inherited members.
begin(int samples) | WindowFunction | inlinevirtual |
factor(int idx) | WindowFunction | inline |
factor_internal(int idx) (defined in Hamming) | Hamming | inlinevirtual |
_timeout (defined in Print) | protected | |
available() override (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlinevirtual |
availableForWrite() override (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlinevirtual |
begin(int samples) | WindowFunction | inlinevirtual |
decode(block_t input[], int len) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
encode(uint8_t *input, int len) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
encoded (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | protected |
encodedSize() (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
factor(int idx) | WindowFunction | inline |
factor_internal(int idx) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlinevirtual |
flush() (defined in Print) | inlinevirtual | |
fourPi (defined in WindowFunction) | WindowFunction | protected |
Hamming()=default (defined in Hamming) | Hamming | |
i_half_samples (defined in WindowFunction) | WindowFunction | protected |
i_samples (defined in WindowFunction) | WindowFunction | protected |
ratio(int idx) (defined in WindowFunction) | WindowFunction | inlineprotected |
getBit(block_t b, int i) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
getBlocks() (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
getCharBit(uint8_t b, int i) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
Hamming()=default (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | |
Hamming(Stream &stream) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inline |
Hamming(Print &print) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inline |
i_half_samples (defined in WindowFunction) | WindowFunction | protected |
i_samples (defined in WindowFunction) | WindowFunction | protected |
inList(uint8_t **list, uint8_t *testString, int listLen) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
modifyBit(block_t n, int p, bool b) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
modifyCharBit(uint8_t n, int p, bool b) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
multipleXor(int *indicies, int len) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
operator bool() (defined in Stream) | Stream | inline |
p_print (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | protected |
p_stream (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | protected |
peek() override | Hamming< bytecount, block_t > | inline |
ratio(int idx) (defined in WindowFunction) | WindowFunction | inlineprotected |
raw (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | protected |
read() override | Hamming< bytecount, block_t > | inline |
readBytes(uint8_t *data, size_t len) override (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlinevirtual |
samples() | WindowFunction | inline |
samples_minus_1 (defined in WindowFunction) | WindowFunction | protected |
sixPi (defined in WindowFunction) | WindowFunction | protected |
twoPi (defined in WindowFunction) | WindowFunction | protected |
WindowFunction()=default (defined in WindowFunction) | WindowFunction | |
toggleBit(block_t b, int i) (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlineprotected |
twoPi (defined in WindowFunction) | WindowFunction | protected |
WindowFunction()=default (defined in WindowFunction) | WindowFunction | |
write(const uint8_t *data, size_t len) override (defined in Hamming< bytecount, block_t >) | Hamming< bytecount, block_t > | inlinevirtual |
write(uint8_t c) override | Hamming< bytecount, block_t > | inline |
#include <FFTWindows.h>
Public Member Functions | |
+ | Hamming (Print &print) |
+ | Hamming (Stream &stream) |
+int | available () override |
+int | availableForWrite () override |
virtual void | begin (int samples) |
Setup the window function providing the fft length. | |
float | factor_internal (int idx) |
+virtual void | flush () |
+ | operator bool () |
+int | peek () override |
To be avoided. | |
+int | read () override |
To be avoided. | |
+size_t | readBytes (uint8_t *data, size_t len) override |
int | samples () |
Provides the number of samples (fft length) | |
+size_t | write (const uint8_t *data, size_t len) override |
+size_t | write (uint8_t c) override |
To be avoided. | |
Protected Attributes | |
+int | _timeout = 10 |
+SingleBuffer< uint8_t > | encoded {encodedSize()} |
const float | fourPi = 12.56637061f |
int | i_samples = 0 |
+Print * | p_print = nullptr |
+Stream * | p_stream = nullptr |
+SingleBuffer< uint8_t > | raw {bytecount} |
float | samples_minus_1 = 0.0f |
Hamming FFT Window function.
+Hamming FFT Window function.
-Hamming forware error correction. Inspired by https://github.com/nasserkessas/hamming-codes
+Hamming<1024,uint16_t> hamming; // block_ts of 1k with block_tsize 16bits = 31.25% redundency
+Block size (bits) Redundant bits Redundancy percentage 4 3 75% 8 4 50% 16 5 31.25% 32 6 18.75% 64 7 10.94%
+class | Boost |
Boost AudioEffect. More... | |
class | Compressor |
Compressor inspired by https://github.com/YetAnotherElectronicsChannel/STM32_DSP_COMPRESSOR/blob/master/code/Src/main.c. More... | |
class | Delay |
Delay/Echo AudioEffect. See https://wiki.analog.com/resources/tools-software/sharc-audio-module/baremetal/delay-effect-tutorial Howver the dry value and wet value were replace by the depth parameter. More... | |
►CAudioEffect | Abstract Base class for Sound Effects |
CAudioEffectCommon | |
CAudioFFTResult | Result of the FFT |
►CAudioHeader | Common Header for all records |
CPrintable | |
CProcessedResult | |
CQueue< T > | FIFO Queue which is based on a List |
CQueueLockFree< T > | Lock Free Queue |
CRECT | |
CReedSolomon< msg_length, ecc_length > | |
CReedSolomon< msglen, ecclen > | |
CReedSolomon< bytecount, additional_bytes > | |
CTfLiteMicroSpeechRecognizeCommands::Result | |
►CRTSPClient | |
struct | CommonHeader |
class | Compressor |
Compressor inspired by https://github.com/YetAnotherElectronicsChannel/STM32_DSP_COMPRESSOR/blob/master/code/Src/main.c. More... | |
struct | ConfigEquilizer3Bands |
Configuration for 3 Band Equilizer: Set channels,bits_per_sample,sample_rate. Set and update gain_low, gain_medium and gain_high to value between 0 and 1.0. More... | |
►Naudiotools_rtsp |