1 
2 /*
3  *  Diverse Bristol audio routines.
4  *  Copyright (c) by Nick Copeland <nickycopeland@hotmail.com> 1996,2012
5  *
6  *
7  *   This program is free software; you can redistribute it and/or modify
8  *   it under the terms of the GNU General Public License as published by
9  *   the Free Software Foundation; either version 3 of the License, or
10  *   (at your option) any later version.
11  *
12  *   This program is distributed in the hope that it will be useful,
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *   GNU General Public License for more details.
16  *
17  *   You should have received a copy of the GNU General Public License
18  *   along with this program; if not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef ARPDCO_H
23 #define ARPDCO_H
24 
25 #define ARPDCO_WAVE_SZE 1024
26 #define ARPDCO_WAVE_SZE_M 1023
27 #define ARPDCO_WAVE_PWMIN 50
28 #define ARPDCO_WAVE_PWMAX 975
29 #define ARPDCO_SYNC 0x01
30 
31 typedef struct BristolARPDCO {
32 	bristolOPSpec spec;
33 	float *wave[8];
34 } bristolARPDCO;
35 
36 typedef struct BristolARPDCOlocal {
37 	unsigned int flags;
38 	float wtp;
39 	float cpwm;
40 	float note_diff;
41 	float lsv;
42 	float ssg;
43 	int tune_diff;
44 } bristolARPDCOlocal;
45 
46 #endif /* ARPDCO_H */
47 
48