source: buchla-68k/include/smdefs.h@ ca867c1

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

Fixed lcdlbls.c.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 =============================================================================
3 smdefs.h -- MIDAS Source / Multiplier definitions
4 Version 6 -- 1987-12-06 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8#pragma once
9
10#include "stdint.h"
11
12struct sment {
13
14 struct sment *nxt;
15 struct sment *prv;
16 int16_t vp;
17 int16_t sm;
18};
19
20struct valent {
21
22 struct sment *nxt;
23 struct sment *prv;
24 int16_t val;
25};
26
27#define SM_NONE 0 /* No source - always 0 */
28#define SM_RAND 1 /* Random source */
29#define SM_CTL1 2 /* Control Voltage 1 / MIDI GPC 1 */
30
31#define SM_PTCH 5 /* Key Pitch (not updated in scan table) */
32#define SM_KPRS 6 /* Key Pressure */
33#define SM_KVEL 7 /* Key Velocity */
34#define SM_PED1 8 /* Pedal 1 */
35
36#define SM_FREQ 10 /* Key frequency (not updated in scan table) */
37#define SM_HTPW 11 /* Tablet X / MIDI Pitch Wheel */
38#define SM_VTMW 12 /* Tablet Y / MIDI Mod Wheel */
39#define SM_LPBR 13 /* LongPot / MIDI Breath Controller */
40
41/* Sources 3, 4, and 9 no longer exist */
42
43#define NSRCS 14 /* Highest source number + 1 */
44#define NGPSRS (12 << 4) /* Number of group/source pairs */
Note: See TracBrowser for help on using the repository browser.