環境・MacBook (macOS Mojave) ・Python 3.6 使用したライブラリ・PyAudio ・Pyxel ・numpy 全体のコード (GitHub)# coding: utf-8 import pyxel, pyaudio import numpy as np class App: def __init__(self): pyxel.init(255, 155, fps=60, scale=2, border_width=10, border_color=0x0d0015, caption='Pyxel & PyAudio') self.CHUNK = pyxel.width self.RATE = 44100 self.P = pyaudio.PyAudio() self.stream = self.P.open(format=pyaudio.paInt16, ch