Summary

Receive 16 bit stereo audio from the audio shield or another I2S device, using I2S master mode.

Audio Connections

PortPurpose
Out 0Left Channel
Out 1Right Channel

Functions

This object has no functions to call from the Arduino sketch. It simply streams data from the I2S hardware to its 2 output ports.

Hardware

The I2S signals are used in "master" mode, where Teensy creates all 3 clock signals and controls all data timing.

PinSignalDirection
9BCLKOutput
11MCLKOutput
13RXInput
23LRCLKOutput

Audio from master mode I2S may be used in the same project as ADC, DAC and PWM signals, because all remain in sync to Teensy's timing

Examples

File > Examples > Audio > HardwareTesting > PassThroughStereo

File > Examples > Audio > Recorder

File > Examples > Audio > Analysis > PeakMeterStereo

File > Examples > Audio > Analysis > FFT

File > Examples > Audio > Analysis > SpectrumAnalyzerBasic

File > Examples > Audio > Effects > Chorus

File > Examples > Audio > Effects > Flange

File > Examples > Audio > Effects > Filter

File > Examples > Audio > Effects > Filter_FIR

Notes

Normally, this object is used with the Audio Shield, which is controlled separately by the "sgtl5000" object.

Only one I2S input and one I2S output object may be used. Master and slave modes may not be mixed (both must be of the same type).

I2S master objects can be used together with non-I2S input and output objects, for simultaneous audio streaming on different hardware.