-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig
109 lines (86 loc) · 1.77 KB
/
config
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/* copy this file into your ~/.config/GLMViz/ folder */
// Window settings
Window = {
AA = 4
}
Input = {
// Source selection, can be "pulse" or "fifo"
source = "PULSE"
// Path to fifo file
file = "/tmp/mpd.fifo"
// Pulse device name. The default sink monitor is used if given an empty string.
device = ""
f_sample = 44100L // 44.1kHz sampling rate
//stereo = true
}
fps = 60;
duration = 50; // buffer length in ms
//fft_size = 8192L; // 2^13
fft_size = 4096L; // 2^12
bg_color = "DD000000"
// Spectrum default values
Spectrum = {
// Specifies the highest and lowest signal level
max_db = -5.0
min_db = -70.0
// Specifies the start and stop frequency of the spectrum
f_start = 0
f_stop = 1500
// Logarithmic frequency scaling
//log_enabled = 1.
// Log start index
log_start = 5.
top_color = "D3262E"
//top_color = "FFFFFF"
bot_color = "D3262E"
//bot_color = "000000"
line_color = "46484B"
dB_lines = true
bar_width = 0.5
gravity = 8.0
// gradient = 0 - each bar has the full gradient
// gradient = 1 - bar color changes with the height of the bar (0db = top_color)
// Values in-between 0 and 1 are possible
gradient = 1.0
// Rainbow attributes
rainbow = {
enabled = false
// Relative phase shift of each color
phase = {
r = 0.0
g = 0.0
b = 0.0
};
// Color frequency
freq = {
r = 1.0
g = 1.0
b = 1.0
};
}
}
// Standard Spectrum
Spectrum1 = {}
// Spectrum rendered in the upper half of the window
/*Spectrum2 = {
pos = {
ymin = -3.0
ymax = 1.0
}
dB_lines = false;
}*/
// Oscilloscope default values
Osc = {
// Line color
color = "FFFFFF"
// Line width
width = 0.01;
}
// Standard Oscilloscope
//Osc1 = {}
// Oscilloscope rendered in the upper half of the window
/*Osc2 = {
pos = {
ymin = -3.0; ymax = 1.0;
}
}*/