-
Notifications
You must be signed in to change notification settings - Fork 12
/
constants.h
48 lines (39 loc) · 1021 Bytes
/
constants.h
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
47
48
/*
* Komposter
*
* Copyright (c) 2010 Noora Halme et al. (see AUTHORS)
*
* This code is licensed under the GNU General Public
* License version 2. See LICENSE for full text.
*
* Global constants
*
*/
// version number defined on build
#define K_COPYRIGHT "copyright (c) 2010 noora halme et al"
#define K_ABOUT1 "modular virtual analog workstation"
#define K_ABOUT2 "for 4k/8k/64k intros"
// set date as version number if not defined by Makefile
#ifndef K_VERSION
#define K_VERSION __DATE__
#endif
// screen size
#define DS_WIDTH 1024
#define DS_HEIGHT 640
// limits for synthesizers
#define MAX_SYNTH 16
#define MAX_MODULES 64
#define MAX_PATCHES 64
// how close to a node must the cursor be to activate it?
#define NODE_PROXIMITY 6
// pattern limits
#define MAX_PATTERN 256
#define MAX_PATTLENGTH 256
// sequencer limits
#define MAX_CHANNELS 16
#define MAX_SONGLEN 768
// audio output frequency
#define OUTPUTFREQ 44100
// highest note and octave shown
#define MAX_OCTAVE 8
#define MAX_NOTE 119