mirror of
https://codeberg.org/armin/gelyk.git
synced 2026-10-12 01:11:53 +02:00
Complete Gelyk EQ plugin (dark/cyber/neon, scaling UI, git status bar)
This commit is contained in:
parent
13863f4522
commit
580fcf7fec
7 changed files with 145 additions and 113 deletions
|
|
@ -37,6 +37,7 @@ class SpectrumAnalyser : public juce::Timer
|
|||
{
|
||||
public:
|
||||
SpectrumAnalyser();
|
||||
~SpectrumAnalyser() override = default;
|
||||
|
||||
void prepare(double sampleRate, int maxBlockSize);
|
||||
void push(const float* const* channels, int numChannels, int numSamples);
|
||||
|
|
@ -57,7 +58,10 @@ private:
|
|||
void runAnalysis();
|
||||
|
||||
mutable juce::CriticalSection spectrumLock;
|
||||
juce::Array<float> readySpectrum; // dB magnitudes per bin
|
||||
juce::Array<float> readySpectrum; // magnitude per bin
|
||||
|
||||
juce::dsp::FFT fft;
|
||||
std::vector<float> fftBuffer;
|
||||
|
||||
juce::AudioBuffer<float> ring;
|
||||
int ringFill = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue