Main Content

Audio Processing

R2026b
Record, play, and process audio on Raspberry Pi® hardware

Capture audio from microphones, play audio through speakers, process audio signals, and convert text-to-speech using blocks and MATLAB® functions. Leverage audio capabilities that enable development of audio-based applications on Raspberry Pi hardware.

Blocks

Audio File Read blockAudio File ReadRead audio frames from an audio file
ALSA Audio Capture blockALSA Audio CaptureCapture audio from sound card using ALSA
ALSA Audio Playback block iconALSA Audio PlaybackSend audio to sound card for playback using ALSA
eSpeak Text to Speech block iconeSpeak Text to SpeechConvert text into speech on default audio device

Objects

audiocaptureConnection between audio input device and Raspberry Pi hardware
audioplayerConnection between audio output device and Raspberry Pi hardware

Functions

listAudioDevicesList available ALSA audio devices
captureCapture data from audio device connected to Raspberry Pi
playPlay audio from audio device connected to Raspberry Pi

Apps

Raspberry Pi Resource Monitor AppMonitor and manage Raspberry Pi resources

Topics

Featured Examples