NanoLux (Device) 3.0
Codebase for the open-source AudioLux device.
Loading...
Searching...
No Matches
core_analysis.h
1#ifndef CORE_ANALYSIS_H
2#define CORE_ANALYSIS_H
3
4void sample_audio();
5void noise_gate(int threshhold);
6void update_volume();
8void update_peak();
9
10#endif
void update_volume()
Calculates and stores the current volume.
Definition core_analysis.cpp:81
void update_peak()
Updates the current peak frequency.
Definition core_analysis.cpp:103
void sample_audio()
Samples incoming audio and stores the signal in vReal.
Definition core_analysis.cpp:53
void update_max_delta()
Updates the largest frequency change in the last cycle.
Definition core_analysis.cpp:96
void noise_gate(int threshhold)
Zeros all audio analysis arrays if the volume is too low.
Definition core_analysis.cpp:66