source: buchla-68k/include/wsdsp.h@ f7428b1

Last change on this file since f7428b1 was f7428b1, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Started to rework include files.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1/*
2 =============================================================================
3 wsdsp.h -- waveshape editor common parameter header file
4 Version 12 -- 1987-12-14 -- D.N. Lynx Crowe
5
6 Uses definitions from: "graphdef.h", "midas.h", "vsdd.h"
7 Note that the definition of wstbl MUST match the corresponding
8 area in instdef, or chaos will result.
9 =============================================================================
10*/
11
12#pragma once
13#include "stdint.h"
14#include "midas.h"
15
16struct wstbl { /* waveshape table library entry */
17
18 int16_t final[NUMWPNT]; /* final values */
19 int16_t offset[NUMWPNT]; /* offset values */
20 int16_t harmon[NUMHARM]; /* harmonic values */
21};
22
23#define WAVEOBJ 8 /* waveshape display object number */
24#define WAVEPRI 8 /* waveshape display object priority */
25
26#define WAVEFL V_RES3 /* waveshape display object flags */
27
28#define WCURX 256 /* initial cursor x location */
29#define WCURY 128 /* initial cursor y location */
30
31#define WBSF1 128 /* waveshape bar scaling multiplier */
32#define WBSF2 100 /* waveshape bar scaling divisor */
33#define WBOFF 306 /* waveshape bar offset */
34
35#define WPSF1 1 /* waveshape point scaling multiplier */
36#define WPSF2 8 /* waveshape point scaling divisor */
37#define WPOFF 133 /* waveshape point offset */
38
39#define WBORD 2 /* waveshape display border color */
40#define WZBC 10 /* waveshape zero line color */
41
42#define WS_CHGC 13 /* waveshape changed color */
43#define WS_ENTRY 12 /* waveshape data entry color */
44
45#define WDCURS 1 /* waveshape normal cursor color */
46#define WS_GRAB 13 /* waveshape pnt grabbed cursor color */
47
48#define WBCN 8 /* waveshape bar color - negative */
49#define WBCP 9 /* waveshape bar color - positive */
50
51#define WOVC 6 /* waveshape offset point color */
52#define WFVC 7 /* waveshape final point color */
53
54#define WCFBX00 11 /* foreground color */
55#define WCFBX01 11 /* foreground color */
56#define WCFBX02 11 /* foreground color */
57#define WCFBX03 11 /* foreground color */
58#define WCFBX04 11 /* foreground color */
59#define WCFBX05 11 /* foreground color */
60
61#define WCBBX00 3 /* background color */
62#define WCBBX01 4 /* background color */
63#define WCBBX02 5 /* background color */
64#define WCBBX03 14 /* background color */
65#define WCBBX04 5 /* background color */
66#define WCBBX05 14 /* background color */
67
68#define WAVE_OFF 9
69#define WDTH_OFF 6
70#define WINS_OFF 11
71#define WHRM_OFF 10
72#define WHRV_OFF 6
73#define WOFF_OFF 14
74#define WPNT_OFF 4
75#define WSLT_OFF 19
76#define WVCE_OFF 18
77#define WFNL_OFF 14
Note: See TracBrowser for help on using the repository browser.