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
:
30
TemplatePatch
(){
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__
OpenWareLibrary.h
PARAMETER_C
@ PARAMETER_C
Definition:
OpenWareMidiControl.h:12
PARAMETER_D
@ PARAMETER_D
Definition:
OpenWareMidiControl.h:13
PARAMETER_A
@ PARAMETER_A
Definition:
OpenWareMidiControl.h:10
PARAMETER_B
@ PARAMETER_B
Definition:
OpenWareMidiControl.h:11
AudioBuffer
Definition:
AudioBuffer.h:6
Patch
Definition:
Patch.h:21
Patch::registerParameter
void registerParameter(PatchParameterId pid, const char *name)
TemplatePatch
Definition:
TemplatePatch.hpp:28
TemplatePatch::processAudio
void processAudio(AudioBuffer &buffer)
Definition:
TemplatePatch.hpp:36
TemplatePatch::TemplatePatch
TemplatePatch()
Definition:
TemplatePatch.hpp:30
LibSource
TemplatePatch.hpp
Generated by
1.9.1