🐛[bugfix] Model : print文削除/speaker energy のエラー発生問題を修正

This commit is contained in:
misyaguziya
2023-10-20 17:29:36 +09:00
parent b63990d4ce
commit 5f3f3afeb7
3 changed files with 1 additions and 2 deletions

View File

@@ -84,6 +84,7 @@ class SelectedSpeakeEnergyRecorder(BaseEnergyRecorder):
source = Microphone(speaker=True,
device_index= device["index"],
sample_rate=int(device["defaultSampleRate"]),
channels=device["maxInputChannels"]
)
super().__init__(source=source)
# self.adjustForNoise()