-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathOscillator2.h
More file actions
41 lines (30 loc) · 1.07 KB
/
Oscillator2.h
File metadata and controls
41 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
==============================================================================
Oscillator2.h
Created: 16 Nov 2018 7:28:32pm
Author: Dianne Campbell
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "PluginProcessor.h"
//==============================================================================
/*
*/
class Oscillator2 : public Component
{
public:
Oscillator2(JuceSynthFrameworkAudioProcessor&);
~Oscillator2();
void paint (Graphics&) override;
void resized() override;
private:
ComboBox osc2Menu;
Slider Blendslider;
ScopedPointer<AudioProcessorValueTreeState::ComboBoxAttachment> waveSelection2;
ScopedPointer<AudioProcessorValueTreeState::SliderAttachment> blendVal;
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
JuceSynthFrameworkAudioProcessor& processor;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Oscillator2)
};