python實現錄音功能,可隨時中止錄音

# -*- coding: utf-8 -*- import pyaudio import time import threading import wave class Recorder(): def __init__(self, chunk=1024, channels=1, rate=64000): self.CHUNK = chunk self.
相關文章
相關標籤/搜索