-
Notifications
You must be signed in to change notification settings - Fork 6
Default Meters
There are 17 default meters available in the PeppyMeter out of the box. The 'random' meter displays the meters in a random order. The rotation interval between random meters can be specified as one of the configuration parameters (random.meter.interval). Here are the example images and configuration of the meters from the meter folder 480x320.
This is the linear stereo meter. It has the following configuration in the meters.txt:
[bar]
meter.type = linear
channels = 2
ui.refresh.period = 0.033
bgr.filename = bar-bgr.png
indicator.filename = bar-indicator.png
left.x = 130
left.y = 113
right.x = 130
right.y = 178
position.regular = 11
position.overload = 3
step.width.regular = 19
step.width.overload = 25
meter.x = 0
meter.y = 0
screen.bgr =
This is the circular mono meter having the following configuration:
[blue]
meter.type = circular
channels = 1
ui.refresh.period = 0.033
bgr.filename = blue-bgr.png
fgr.filename = blue-fgr.png
indicator.filename = blue-needle.png
steps.per.degree = 2
start.angle = 45
stop.angle = -45
distance = 183
mono.origin.x = 238
mono.origin.y = 380
meter.x = 0
meter.y = 0
screen.bgr =
This is the circular stereo meter with the following configuration:
[vintage]
meter.type = circular
channels = 2
ui.refresh.period = 0.033
bgr.filename = vintage-bgr.png
fgr.filename = vintage-fgr.png
indicator.filename = vintage-needle.png
steps.per.degree = 2
start.angle = 45
stop.angle = -45
distance = 54
left.origin.x = 129
left.origin.y = 217
right.origin.x = 349
right.origin.y = 217
meter.x = 0
meter.y = 0
screen.bgr =
This is the linear stereo meter which has the following configuration:
[dash]
meter.type = linear
channels = 2
ui.refresh.period = 0.033
bgr.filename = dash-bgr.png
indicator.filename = dash-indicator.png
left.x = 29
left.y = 134
right.x = 29
right.y = 173
position.regular = 9
position.overload = 4
step.width.regular = 34
step.width.overload = 34
meter.x = 0
meter.y = 0
screen.bgr =
This is the linear stereo meter with the following configuration:
[gas]
meter.type = linear
channels = 2
ui.refresh.period = 0.033
bgr.filename = gas-bgr.png
indicator.filename = gas-indicator.png
left.x = 46
left.y = 132
right.x = 46
right.y = 169
position.regular = 69
step.width.regular = 6
meter.x = 0
meter.y = 0
screen.bgr =
This is the circular mono meter having the following configuration:
[rainbow]
meter.type = circular
channels = 1
ui.refresh.period = 0.033
bgr.filename = rainbow-bgr.png
fgr.filename = rainbow-fgr.png
indicator.filename = rainbow-needle.png
steps.per.degree = 2
start.angle = 39
stop.angle = -39
distance = 165
mono.origin.x = 242
mono.origin.y = 364
meter.x = 0
meter.y = 0
screen.bgr =
This is the circular stereo meter which has the following configuration:
[grunge]
meter.type = circular
channels = 2
ui.refresh.period = 0.033
bgr.filename = grunge-bgr.png
fgr.filename = grunge-fgr.png
indicator.filename = grunge-needle.png
steps.per.degree = 2
start.angle = 45
stop.angle = -45
distance = 28
left.origin.x = 125
left.origin.y = 195
right.origin.x = 357
right.origin.y = 195
meter.x = 0
meter.y = 0
screen.bgr =
This is the circular mono meter. It has the following configuration:
[royal]
meter.type = circular
channels = 1
ui.refresh.period = 0.033
bgr.filename = royal-bgr.png
fgr.filename = royal-fgr.png
indicator.filename = royal-needle.png
steps.per.degree = 2
start.angle = 52
stop.angle = -51
distance = 82
mono.origin.x = 240
mono.origin.y = 243
meter.x = 0
meter.y = 0
screen.bgr =
This is the circular stereo meter with the following configuration:
[compass]
meter.type = circular
channels = 2
ui.refresh.period = 0.033
bgr.filename = compass-bgr.png
fgr.filename = compass-fgr.png
indicator.filename = compass-needle.png
steps.per.degree = 2
start.angle = 55
stop.angle = -55
distance = 0
left.origin.x = 128
left.origin.y = 162
right.origin.x = 351
right.origin.y = 162
meter.x = 0
meter.y = 0
screen.bgr =
This is the default meter specified in the 'current' section of the configuration file:
[current]
meter = random
random.meter.interval = 20
The second property (random.meter.interval) defines in seconds how often random meter changes one meter by another.