quantumVERB  1.0.0
A FOSS convolution reverb plugin
IRBank.h
1 /*
2  ==============================================================================
3 
4  IRBank.h
5 
6  ==============================================================================
7 */
8 
9 #pragma once
10 
11 #include "JuceHeader.h"
12 
13 #include <map>
14 
15 namespace reverb
16 {
17 
18  class IRBank
19  {
20  public:
21  //==============================================================================
22  IRBank();
23 
24  IRBank(const IRBank&) = delete;
25  IRBank& operator=(const IRBank&) = delete;
26 
27  //==============================================================================
28  static const IRBank& getInstance();
29 
30  //==============================================================================
31  const std::map<std::string, juce::AudioSampleBuffer>& buffers;
32  const std::map<std::string, double>& sampleRates;
33 
34  protected:
35  //==============================================================================
36  void build();
37 
38  std::map<std::string, juce::AudioSampleBuffer> buffersModifiable;
39  std::map<std::string, double> sampleRatesModifiable;
40  };
41 
42 }
IRBank()
Construct IR bank.
Definition: IRBank.cpp:31
float getParam(const juce::AudioProcessorValueTreeState &params, const juce::String &blockId) const
Internal method used to get (and check) a parameter&#39;s value.
Definition: Task.h:111
static const IRBank & getInstance()
Definition: IRBank.cpp:18
void build()
Build IR bank from binary data.
Definition: IRBank.cpp:44