mirror of
https://github.com/HiMeditator/auto-caption.git
synced 2026-02-11 10:04:47 +08:00
refactor(项目): 尝试 Python 语音识别和内容发送
This commit is contained in:
@@ -70,7 +70,7 @@ class LoopbackStream:
|
||||
self.FORMAT = pyaudio.paInt16
|
||||
self.CHANNELS = self.loopback["maxInputChannels"]
|
||||
self.RATE = int(self.loopback["defaultSampleRate"])
|
||||
self.CHUNK = self.RATE // 10
|
||||
self.CHUNK = self.RATE // 20
|
||||
self.INDEX = self.loopback["index"]
|
||||
|
||||
def printInfo(self):
|
||||
|
||||
Reference in New Issue
Block a user