基于WebView2实现的Win11桌面框架,利用插件自定义
Moli
2026-08-12 df6a437518d89eebfa1a583e09ec99c462e64e47
samples/plugins/sample.audio-visualizer/plugin.json
@@ -18,13 +18,59 @@
    "clickThrough": true,
    "opacity": 0.92,
    "scale": 1,
    "displayPriority": "iconLayer"
    "displayLayer": "desktop"
  },
  "config": {
    "barCount": 256,
    "fallbackLevelCount": 128,
    "primaryColor": "#ff2fb3",
    "secondaryColor": "#29d8ff",
    "accentColor": "#f8fbff",
    "sensitivity": 1.42
    "sensitivity": 5.5,
    "centerYRatio": 0.66,
    "maxHeightRatio": 0.5,
    "smooth": 0.3,
    "decay": 0.5,
    "compressionPower": 0.7,
    "silenceThreshold": 0.001,
    "fallbackTimeoutMs": 900,
    "fallbackPhaseStep": 0.018,
    "beatThreshold": 1.12,
    "beatDecay": 0.9,
    "beatBassBoost": 0.34,
    "beatTrebleBoost": 0.1,
    "barGapSmall": 2,
    "barGapLarge": 3,
    "barGapBreakpoint": 900,
    "barWidthMin": 1.2,
    "barWidthMax": 5,
    "barRadiusMax": 3,
    "barMinHeight": 1.2,
    "lineOpacity": 0.72,
    "lineShadowBlur": 10,
    "lineShadowOpacity": 0.65,
    "barShadowBlur": 8,
    "colorHueStart": 330,
    "colorHueEnd": 292,
    "colorLightnessStart": 62,
    "colorLightnessEnd": 70,
    "colorAlpha": 0.55,
    "gradientTopAlpha": 0.35,
    "gradientBottomAlpha": 0.35,
    "bandGains": {
      "bass": 2.15,
      "mid": 1.75,
      "treble": 2.35,
      "tail": 1.95
    },
    "bandStops": {
      "midEnd": 0.35,
      "trebleEnd": 0.58,
      "bassEnd": 0.82,
      "trebleBlend": 0.07,
      "tailBlend": 0.035,
      "bassFrequencyEnd": 0.16,
      "midFrequencyEnd": 0.55
    }
  }
}