summaryrefslogtreecommitdiff
path: root/muse2/synti/vam/vam.h
blob: 0c628a99c2ee64c93302def87e0dded655e447d1 (plain)
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
42
43
44
45
46
// vam.h
//
//  (C) Copyright 2002 Jotsif Lindman H�nlund (jotsif@linux.nu)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
// 02111-1301, USA or point your web browser to http://www.gnu.org.


#ifndef __VAM_H
#define __VAM_H

#include "muse/midictrl.h"

enum {
        //DCO1_PITCHMOD, 
	DCO1_PITCHMOD = MusECore::CTRL_RPN14_OFFSET,             // p4.0.27
        DCO1_WAVEFORM, DCO1_FM, DCO1_PWM,
	DCO1_ATTACK, DCO1_DECAY, DCO1_SUSTAIN, DCO1_RELEASE,
	DCO2_PITCHMOD, DCO2_WAVEFORM, DCO2_FM, DCO2_PWM,
	DCO2_ATTACK, DCO2_DECAY, DCO2_SUSTAIN, DCO2_RELEASE,
	LFO_FREQ, LFO_WAVEFORM, FILT_ENV_MOD, FILT_KEYTRACK,
	FILT_RES, FILT_ATTACK, FILT_DECAY, FILT_SUSTAIN,
	FILT_RELEASE, DCO2ON, FILT_INVERT, FILT_CUTOFF,
	DCO1_DETUNE, DCO2_DETUNE, DCO1_PW, DCO2_PW
};

#define VAM_FIRST_CTRL          DCO1_PITCHMOD
#define VAM_LAST_CTRL           DCO2_PW
#define NUM_CONTROLLER          32
#define INIT_DATA_CMD           1

//#define VAM_DEBUG  

#endif /* __VAM_H */