黑皮诺听众 $ python3 main.py # OR $ python3 main_ai.py Repeater.py $ python3 repeater.py 指令 rh :开始记录到h.json s :停止录制并保存文件 ph :播放h.json 互动 $ python3 import repeater as r q = r . data_manager_api () data = r . gather_until_exit ( q . audio_record_queue ) r . play_audio_data ( q . audio_play_queue , data