问题 #complie by python3 only_test.py import pyaudio import numpy as np import wave import time import math #from pydub import AudioSegment #from pydub.playback import play #from scipy.signal import iirfilter from scipy import signal RATE = 48000 CHUNK = 4096 WIDTH = 2 volume = 0.0 duration = 1.0 #SHORT_NORMALIZE = (1.0/32768.0) #INPUT_BLOCK_TIME = 1 #INPUT_BLOCK_PER_BLOCK = int(RATE*INPUT_BLOCK_TIME) while True: #use a blackman window window = np.blackman(CHUNK) #load audio stream p = pyaudio