OpenWareLaboratory
TemplatePatch.hpp
Go to the documentation of this file.
1 /*
2 
3 
4  LICENSE:
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  */
19 
20 
21 /* created by the OWL team 2013 */
22 
23 #ifndef __TemplatePatch_hpp__
24 #define __TemplatePatch_hpp__
25 
26 #include "OpenWareLibrary.h"
27 
28 class TemplatePatch : public Patch {
29 public:
31  registerParameter(PARAMETER_A, "My Knob A");
32  registerParameter(PARAMETER_B, "My Knob B");
33  registerParameter(PARAMETER_C, "My Knob C");
34  registerParameter(PARAMETER_D, "My Knob D");
35  }
36  void processAudio(AudioBuffer &buffer){
37  // put your code here!
38  }
39 };
40 
41 #endif // __TemplatePatch_hpp__
@ PARAMETER_C
@ PARAMETER_D
@ PARAMETER_A
@ PARAMETER_B
Definition: Patch.h:21
void registerParameter(PatchParameterId pid, const char *name)
void processAudio(AudioBuffer &buffer)