-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
28 lines (25 loc) · 941 Bytes
/
constants.ts
File metadata and controls
28 lines (25 loc) · 941 Bytes
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
export const COLORS = {
deckA: '#ec4899', // Pink-500
deckB: '#3b82f6', // Blue-500
bgDark: '#0f172a',
glassBorder: 'rgba(255,255,255,0.1)',
knobIndicator: '#ffffff'
};
export const AUDIO_CONSTANTS = {
DEFAULT_FILTER_FREQ: 22000,
MIN_FILTER_FREQ: 20,
MAX_FILTER_FREQ: 22000,
DEFAULT_RES: 1,
MAX_RES: 20,
MAX_GAIN: 1.5,
FX_DEFAULT_DELAY: 0.33,
};
export const GATE_PRESETS = [
{ name: 'TRANCE 1', pattern: [1,1,0,1, 1,1,0,1, 1,1,0,1, 1,1,0,1] },
{ name: 'CHOPPER', pattern: [1,0,1,0, 1,0,1,0, 1,0,1,0, 1,0,1,0] },
{ name: 'GALOP', pattern: [1,0,1,1, 1,0,1,1, 1,0,1,1, 1,0,1,1] },
{ name: 'OFFBEAT', pattern: [0,0,1,0, 0,0,1,0, 0,0,1,0, 0,0,1,0] },
{ name: 'BROKEN', pattern: [1,1,0,0, 1,0,0,1, 0,0,1,0, 1,1,1,0] },
{ name: 'PEAK', pattern: [1,0,0,0, 1,0,0,0, 1,0,0,0, 1,0,0,0] },
{ name: 'FULL', pattern: [1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1] },
];