摘要:
import wave import sys import json from vosk import Model, KaldiRecognizer, SetLogLevel # You can set log level to -1 to disable debug messages SetLog 阅读全文
摘要:
寻找扬声器声音的可录制接口 import sounddevice as sd import wave import os devices=sd.query_devices() print(devices) for i in range(len(devices)): wf=wave.open(f'te 阅读全文
摘要:
def isIncrement(ls,guanxing=0.1): if len(ls)<2: return False o=0 score=0 cha=[ls[i+1]-ls[i] for i in range(len(ls)-1)] for i in range(len(cha)): if o* 阅读全文