-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsong-schema.json
62 lines (62 loc) · 1.39 KB
/
song-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/song-schema.json",
"title": "Song Schema",
"type": "object",
"properties": {
"channels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The label displayed on-screen for this channel",
"type": "string"
},
"file": {
"description": "The input audio filename used for this channel",
"type": "string",
"minLength": 1
},
"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
]
},
"use_alignment": {
"description": "Attempt to align the waveform on each frame. Non-tonal channels or low frequency audio might look better displayed when this is turned off.",
"type": "boolean",
"default": true
}
},
"required": [
"name",
"file"
]
}
},
"video_file_out": {
"type": "string",
"default": "./output.mp4"
},
"use_gradients": {
"type": "boolean",
"default": false
}
},
"required": [
"channels",
"video_file_out"
]
}