主要内容

音频

使用 Raspberry Pi® 音频播放器并捕获数据

使用 Raspberry Pi 来连接和控制音频输入设备。代码生成仅支持 audiocaptureaudioplayer 对象以及 captureplay 函数。

对象

raspiConnection to Raspberry Pi board
audiocaptureConnection between audio input device and Raspberry Pi hardware
audioplayerConnection between audio output device and Raspberry Pi hardware

函数

captureCapture data from audio device connected to Raspberry Pi
playPlay audio from audio device connected to Raspberry Pi

精选示例