Feat: lissajous
Some checks failed
Deploy Website / deploy (push) Failing after 4m50s

This commit is contained in:
2026-02-23 22:06:09 +01:00
parent 77b7fa1f9e
commit 4a8396670f
17 changed files with 241 additions and 49 deletions

View File

@@ -83,6 +83,7 @@ pub struct AudioConfig {
pub refresh_rate: RefreshRate,
pub show_scope: bool,
pub show_spectrum: bool,
pub show_lissajous: bool,
pub show_preview: bool,
pub layout: MainLayout,
}
@@ -102,6 +103,7 @@ impl Default for AudioConfig {
refresh_rate: RefreshRate::default(),
show_scope: true,
show_spectrum: true,
show_lissajous: true,
show_preview: true,
layout: MainLayout::default(),
}
@@ -191,6 +193,7 @@ pub struct Metrics {
pub cpu_load: f32,
pub schedule_depth: usize,
pub scope: [f32; 256],
pub scope_right: [f32; 256],
pub peak_left: f32,
pub peak_right: f32,
pub spectrum: [f32; 32],
@@ -206,6 +209,7 @@ impl Default for Metrics {
cpu_load: 0.0,
schedule_depth: 0,
scope: [0.0; 256],
scope_right: [0.0; 256],
peak_left: 0.0,
peak_right: 0.0,
spectrum: [0.0; 32],