This audio adaptor lets you easily add high quality 16 bit, 44.1 kHz sample rate (CD quality) audio to your projects with the Teensy 4.0 (Rev D). It supports stereo headphone and stereo line-level output, and also stereo line-level input or mono microphone input.

The Teensy Audio Library lets you use the input and output simultaneously together with a toolkit of audio processing objects, to easily create all types of sophisticated audio applications. You can play multiple sound files, create synthesized waveforms, apply effects, mix multiple streams and output high-quality audio to the headphones or line out pins.

FunctionTeensy 4.0 Pins Rev DShareable
Audio Data7, 8, 20, 21, 23 
Audio Control18, 19SDA, SCL (other I2C chips) 
Volume Pot15 (A1)
SD Card10, 11, 12, 13MOSI, MISO, SCK (other SPI chips) 
Memory Chip6, 11, 12, 13MOSI, MISO, SCK (other SPI chips) 

Signals to Teensy

The audio chip, part number SGTL5000, connects to Teensy using 7 signals. The I2C pins SDA and SCL are used to control the chip and adjust parameters. Audio data uses I2S signals, TX (to headphones and/or line out) and RX (from line-in or mic), and 3 clocks, LRCLK (44.1 kHz), BCLK (1.41MHz) and MCLK (11.29 MHz).

SignalRev D (Teensy 4.0)Function
MCLK23Audio Master Clock, 11.29MHz
BCLK21