How to remove pops from concatented sound data in PyAudio
问题 How do you remove "popping" and "clicking" sounds in audio constructed by concatenating sound tonal sound clips together? I have this PyAudio code for generating a series of tones: import time import math import pyaudio class Beeper(object): def __init__(self, **kwargs): self.bitrate = kwargs.pop('bitrate', 16000) self.channels = kwargs.pop('channels', 1) self._p = pyaudio.PyAudio() self.stream = self._p.open( format = self._p.get_format_from_width(1), channels = self.channels, rate = self