From 408a4d7996fc971cde8b378480a6f0de1e7f98aa Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Tue, 5 Sep 2023 23:12:42 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=91=8D[Update]=20=E3=83=9E=E3=82=A4?= =?UTF-8?q?=E3=82=AF/=E3=82=B9=E3=83=94=E3=83=BC=E3=82=AB=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E3=83=87=E3=83=90=E3=82=A4=E3=82=B9=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=E6=99=82=E3=81=ABenergy=E3=81=AEProgressBar=E3=81=AE=E5=8B=95?= =?UTF-8?q?=E4=BD=9C=E3=82=92=E5=81=9C=E6=AD=A2=E3=81=99=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.py b/main.py index b9ae536a..bd8e3535 100644 --- a/main.py +++ b/main.py @@ -252,10 +252,16 @@ def callbackSetMicHost(value): view.updateSelected_MicDevice(config.CHOICE_MIC_DEVICE) view.updateList_MicDevice(model.getListInputDevice()) + model.stopCheckMicEnergy() + view.replaceConfigWindowMicThresholdCheckButtonToPassive() + def callbackSetMicDevice(value): print("callbackSetMicDevice", value) config.CHOICE_MIC_DEVICE = value + model.stopCheckMicEnergy() + view.replaceConfigWindowMicThresholdCheckButtonToPassive() + def callbackSetMicEnergyThreshold(value): print("callbackSetMicEnergyThreshold", int(value)) config.INPUT_MIC_ENERGY_THRESHOLD = int(value) @@ -314,6 +320,9 @@ def callbackSetSpeakerDevice(value): print("callbackSetSpeakerDevice", value) config.CHOICE_SPEAKER_DEVICE = value + model.stopCheckSpeakerEnergy() + view.replaceConfigWindowSpeakerThresholdCheckButtonToPassive() + def callbackSetSpeakerEnergyThreshold(value): print("callbackSetSpeakerEnergyThreshold", int(value)) config.INPUT_SPEAKER_ENERGY_THRESHOLD = int(value) From 143af06b91b3d88ec0c0c1870f459e3215949012 Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Tue, 5 Sep 2023 23:49:00 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=91=8D[Update]=20wordfilter=E3=81=AE?= =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=82=A2=E3=82=A6=E3=83=88?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index bd8e3535..d7c5e93b 100644 --- a/main.py +++ b/main.py @@ -312,8 +312,8 @@ def callbackSetMicWordFilter(value): config.INPUT_MIC_WORD_FILTER = word_filter.split(",") else: config.INPUT_MIC_WORD_FILTER = [] - # model.resetKeywordProcessor() - # model.addKeywords() + model.resetKeywordProcessor() + model.addKeywords() # Transcription Tab (Speaker) def callbackSetSpeakerDevice(value): From 0ad9652d3e69d7901d29fe2a4131dd4d49725c0a Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Wed, 6 Sep 2023 00:25:21 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20speaker=5Fenergy=5Fg?= =?UTF-8?q?et=5Fprogressbar=20->=20speaker=5Fenergy=5Frecorder=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.py b/model.py index e6440941..81d9a9d7 100644 --- a/model.py +++ b/model.py @@ -55,7 +55,7 @@ class Model: self.logger = None self.mic_energy_recorder = None self.mic_energy_plot_progressbar = None - self.speaker_energy_get_progressbar = None + self.speaker_energy_recorder = None self.speaker_energy_plot_progressbar = None self.translator = Translator() self.keyword_processor = KeywordProcessor()