Real-Time Audio Digital Signal Processing With Faust and the Teensy (and More)

Romain Michon

CCRMA Colloquium -- Feb. 27, 2019

Microcontrollers: Arduinos

Embedded Linux Systems: the Raspberry Pi

Teensy 3.6 (MK66FX1M0VMD18 Cortex-M4F 180MHz) + Audio Shield (SGTL5000 Audio Codec)

The Teensy Audio Library

Demo: Making a Faust DSP Object for the Teensy Audio Library

For more:

faust2api Compatibility

Mostly add polyphony support with a potential audio effects chain

System Overview

freq = hslider("freq",400,50,2000,0.01);
frac(n) = n - floor(n);
sawtooth(f) = +(f/ma.SR)~frac: *(2)-1;
process = sawtooth(freq) <: _,_;

Evaluation Faust Program

Taking This to The Next Level: Bare-Metal Real Time Audio DSP on the Raspberry Pi

Thanks :)!