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: https://faust.grame.fr/doc/tutorials#dsp-on-the-teensy-with-faust

faust2api Compatibility

Mostly add polyphony support with a potential audio effects chain

System Overview

import("stdfaust.lib");
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 :)!

Questions?


rmichon@ccrma.stanford.edu

Slides: https://ccrma.stanford.edu/~rmichon/talks/ccrma-colloq-19