v0.6 — smooth VU metering decay, short/long-term LUFS display, deduplicate PFL blend and MIDI mic toggle logic

This commit is contained in:
2026-05-16 22:41:25 +10:00
parent 2b81a80a39
commit 90d5ac26ec
3 changed files with 82 additions and 80 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ import logging
import os
import sys
__version__ = "0.5"
__version__ = "0.6"
from PySide6.QtWidgets import (
QApplication, QMainWindow, QWidget, QFileDialog,
@@ -248,7 +248,6 @@ class RadioPanelWindow(QMainWindow):
self.midi.mixer_mute.connect(self._on_midi_mixer_mute)
self.midi.mixer_pfl.connect(self._on_midi_mixer_pfl)
self.midi.mixer_mic_on.connect(self._on_midi_mixer_mic_on)
self.midi.mixer_mic_on.connect(self._on_midi_mixer_mic_on)
self.midi.mixer_gain.connect(self._on_midi_mixer_gain)
self.midi.master_control.connect(self._on_midi_master_control)
self.midi.master_volume.connect(self._on_midi_master_volume)
@@ -297,7 +296,8 @@ class RadioPanelWindow(QMainWindow):
def _on_midi_mixer_mic_on(self, channel: int, on: bool):
if channel < 2:
self.engine.set_channel_mic_on(channel, on)
current = self.engine.get_channel_mic_on(channel)
self.engine.set_channel_mic_on(channel, not current)
def _on_midi_mixer_gain(self, channel: int, gain: float):
self.engine.set_channel_gain(channel, gain)