-
Notifications
You must be signed in to change notification settings - Fork 0
/
midi-schema.json
62 lines (62 loc) · 1.31 KB
/
midi-schema.json
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://git.tombo.sh/tom/multitrack-visualizer/raw/branch/main/midi-schema.json",
"title": "MIDI Config Schema",
"type": "object",
"properties": {
"channels": {
"type": "object",
"patternProperties": {
".+": {
"type": "object",
"properties": {
"order": {
"description": "The position this channel appears on-screen",
"type": "number",
"minimum": 0
},
"colour": {
"description": "Defines the red, green, and blue colour values used as the background for this channel",
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 255
},
"maxItems": 3,
"minItems": 3,
"default": [
0,
0,
0
]
},
"visible": {
"description": "This will remove the MIDI channel from the video, if you don't wish to use it.",
"type": "boolean",
"default": true
}
}
}
}
},
"midi_file": {
"type": "string"
},
"video_file_out": {
"type": "string",
"default": "./output.mp4"
},
"use_gradients": {
"type": "boolean",
"default": false
},
"lyrics_file": {
"type": "string"
}
},
"required": [
"video_file_out",
"midi_file"
]
}