Files
beatglow/harmon.conf
T
2026-10-29 17:28:51 +01:00

156 lines
2.1 KiB
Plaintext

audio {
type = "tcp"
host = "volumio.local:6601"
}
player {
type = "mpd"
}
page "main" {
visual = [
"vumeter-left@left",
//"vumeter-right@right",
]
action {
rotary_cw = "volume:+1"
rotary_ccw = "volume:-1"
rotary_click = "page:peak"
rotary_hold = "mute"
}
/*
action {
rotary_cw = volume(1)
rotary_ccw = volume(-1)
rotary_click = goto("peak")
}
*/
}
page "peak" {
visual = [
"peak@left",
]
/*
action = {
rotary_cw = volume(1)
rotary_ccw = volume(-1)
rotary_click = goto("peak")
}
*/
}
/*
display "color" {
type = "st7789"
reset = "GPIO23"
dc = "GPIO25"
bl = "GPIO24"
size = "240x240"
}
*/
display "left" {
type = "ssd1306"
addr = "0x3d"
size = "128x64"
}
display "right" {
type = "ssd1306"
addr = "0x3c"
size = "128x64"
}
/*
// Waveshare 240x320 ST7789V2
display "left" {
type = "st7789"
bl = "GPIO18"
reset = "GPIO27"
dc = "GPIO25"
cs = "GPIO8"
size = "240x320"
//rotate = "90"
}
*/
/*
display "main" {
type = "ssd1326"
addr = "0x3c"
size = "256x64"
}
display "left" {
type = "split"
addr = "main"
size = "128x64"
port = "0,0,128,64"
}
display "right" {
type = "split"
addr = "main"
size = "128x64"
port = "128,0,256,64"
}
*/
/*
display "left" {
type = "ssd1306"
addr = "0x3C"
size = "128x64"
}
display "right" {
type = "ssd1306"
addr = "0x7a"
size = "128x64"
}
display "main" {
type = "row"
addr = "left,right"
}
display "main_stack" {
type = "column"
addr = "left,right"
}
*/
input "knob" {
type = "rotary"
}
visual "vumeter-left" {
type = "vumeter"
config = {
channel = 1
channels = 2
}
}
visual "vumeter-right" {
type = "vumeter"
config = {
channel = 1
channels = 2
mirror = true
}
}
visual "peak" {
type = "peak"
}
visual "volume" {
type = "volume"
}