C++ HTML C JavaScript CSS Assembly
Switch branches/tags
Clone or download
Permalink
Failed to load latest commit information.
docs Add issue template Mar 15, 2018
examples Update WM8731 documentation May 16, 2018
extras Improve wav2sketch parsing of WAV files with junk sections May 29, 2018
gui Fix minor documentation mistakes Jul 30, 2018
utility Replace DC removal algorithm with IIR HPF, 2 Hz Aug 12, 2017
.gitignore Add documentation for new objects Nov 9, 2016
.travis.yml Update Travis CI settings Jan 23, 2016
Audio.h Add AudioInputPDM Apr 4, 2018
AudioControl.h Add AudioSynthWaveformSine Apr 27, 2014
README.md Update readme Apr 4, 2017
analyze_fft1024.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_fft1024.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_fft256.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_fft256.h Fix problem with optimized loops like do {} while (!myFFT.available()); Oct 9, 2017
analyze_notefreq.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_notefreq.h NoteFrequency fixes Jul 21, 2016
analyze_peak.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_peak.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_print.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_print.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_rms.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_rms.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_tonedetect.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
analyze_tonedetect.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
control_ak4558.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
control_ak4558.h Fixed control functions, examples, GUI elements Jan 7, 2016
control_cs42448.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
control_cs42448.h Add AudioControlCS42448 Apr 15, 2017
control_cs4272.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
control_cs4272.h Add link to FFT log band scaling conversation & scripts Jan 28, 2016
control_sgtl5000.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
control_sgtl5000.h Add ability to control two SGTL5000 chips Jan 16, 2016
control_wm8731.cpp Add WM8731 inputSelect() function and update example May 16, 2018
control_wm8731.h Add WM8731 inputSelect() function and update example May 16, 2018
data_ulaw.c Add missing open source license headers Apr 27, 2014
data_waveforms.c Remove old AudioSynthWaveform Apr 27, 2014
data_windows.c Add other window types for 1024 point FFT Sep 8, 2014
effect_bitcrusher.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_bitcrusher.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_chorus.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_chorus.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_combine.cpp Add AudioEffectDigitalCombine (from Bleep Labs) Mar 27, 2018
effect_combine.h Move combine effect constants to class enum, not global scope Mar 27, 2018
effect_delay.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_delay.h Fix delay effect on Teensy 3.5 & 3.6 Jun 25, 2017
effect_delay_ext.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_delay_ext.h Add F-RAM Aug 26, 2017
effect_envelope.cpp Add isActive() and isSustain() to envelope Mar 18, 2018
effect_envelope.h Add isActive() and isSustain() to envelope Mar 18, 2018
effect_fade.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_fade.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_flange.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_flange.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_freeverb.cpp Add AudioEffectFreeverbStereo Mar 21, 2018
effect_freeverb.h Add AudioEffectFreeverbStereo Mar 21, 2018
effect_granular.cpp Increase granular speed range, change public function to setSpeed() Mar 25, 2018
effect_granular.h Increase granular speed range, change public function to setSpeed() Mar 25, 2018
effect_midside.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_midside.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_multiply.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_multiply.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_reverb.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_reverb.h Add reverb effect, from Joao Rossi Filho Nov 2, 2016
effect_waveshaper.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
effect_waveshaper.h Accept floats instead of int16_ts for waveshape in shape() Apr 19, 2017
filter_biquad.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
filter_biquad.h Add shelving filter support for biquad Jul 18, 2016
filter_fir.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
filter_fir.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
filter_fir.md Change FIR filter (as suggested by rheslip) to filter one channel ins… Apr 24, 2014
filter_variable.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
filter_variable.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
input_adc.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
input_adc.h Fix indentation and move filtercoefficient to #define constant instea… Aug 13, 2017
input_adcs.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
input_adcs.h Fix indentation and move filtercoefficient to #define constant instea… Aug 13, 2017
input_i2s.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
input_i2s.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
input_i2s_quad.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
input_i2s_quad.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
input_pdm.cpp Add AudioInputPDM Apr 4, 2018
input_pdm.h Add AudioInputPDM Apr 4, 2018
input_tdm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
input_tdm.h Add AudioInputTDM Apr 17, 2017
keywords.txt Add simple AudioAmplifier Apr 5, 2018
library.json Let PlatformIO automatically detect Arduino v1.0 library format Sep 2, 2016
library.properties Edit version string, for Arduino 1.6.11 compatibility Aug 18, 2016
memcpy_audio.S Allow blocksizes 8 and 16 Dec 11, 2016
memcpy_audio.h Add memcpy_tointerleaveQuad (thanks Frank) Jan 17, 2016
mixer.cpp Add simple AudioAmplifier Apr 5, 2018
mixer.h Add simple AudioAmplifier Apr 5, 2018
multiplier.md Add a multiplier (by rheslip) Apr 26, 2014
new_objects.md change format for new_objects files Jan 13, 2014
output_adat.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_adat.h Add ADAT 8 channel TOSLINK output by Ernstjan Freriks Dec 9, 2017
output_dac.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_dac.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_dacs.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_dacs.h Add AudioOutputAnalogStereo Oct 26, 2016
output_i2s.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_i2s.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_i2s_quad.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_i2s_quad.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_pt8211.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_pt8211.h changed defines to be more specific Aug 4, 2016
output_pwm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_pwm.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_spdif.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_spdif.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_tdm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
output_tdm.h Add AudioInputTDM Apr 17, 2017
play_memory.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
play_memory.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_queue.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
play_queue.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_sd_raw.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
play_sd_raw.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_sd_wav.cpp Play WAV files with junk sections May 29, 2018
play_sd_wav.h Play WAV files with junk sections May 29, 2018
play_serialflash_raw.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
play_serialflash_raw.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
record_queue.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
record_queue.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
spi_interrupt.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
spi_interrupt.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_dc.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_dc.h Add AudioSynthWaveformDc read() May 31, 2017
synth_karplusstrong.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_karplusstrong.h Add Synthesis Guitar example May 10, 2016
synth_pinknoise.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_pinknoise.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_pwm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_pwm.h Add AudioSynthWaveformPWM Apr 30, 2017
synth_simple_drum.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_simple_drum.h Adding SimpleDrum synthesis object to audio library. Mar 11, 2016
synth_sine.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_sine.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_tonesweep.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_tonesweep.h ToneSweep improvements (thanks Pio) Dec 10, 2017
synth_waveform.cpp Fix WAVEFORM_TRIANGLE_VARIABLE at less than 1.0 amplitude Apr 18, 2018
synth_waveform.h Add waveform phase modulation Mar 31, 2018
synth_waveform.md Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sine… Apr 16, 2014
synth_whitenoise.cpp Include Arduino.h first in all cpp files, for precompiled header speedup Mar 11, 2018
synth_whitenoise.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016

README.md

Teensy Audio Library

16 bit, 44.1 kHz streaming audio library for Teensy 3.x, featuring:

  • Polyphonic Playback
  • Recording
  • Synthesis
  • Analysis
  • Effects
  • Filtering
  • Mixing
  • Multiple Simultaneous Inputs & Outputs
  • Flexible signal routing between library objects
  • Automatic Streaming while your Arduino sketch runs

Main Audio Library Page

http://www.pjrc.com/teensy/td_libs_Audio.html

Audio System Design Tool

Use this graphical tool to design your audio project. Easily browse the library's many features, connect objects, export to Arduino code, and quickly access details for the functions each object provides for you to control it from your Arduino sketch!

http://www.pjrc.com/teensy/gui/index.html

Supported Hardware

Audio Adaptor Board for 16 bit stereo input and output.

Inputs Outputs

Dual Audio Adaptor Boards for quad channel 16 bit input and output.

Teensy 3.6, Teensy 3.5, Teensy 3.2, or Teensy 3.1 12 bit DAC Output (Mono)

DAC Output

Teensy 3.6, Teensy 3.5, Teensy 3.2, Teensy 3.1 or Teensy 3.0 ADC Input (Mono)

ADC Input

Teensy 3.6, Teensy 3.5, or Teensy 3.2 ADC Input (Stereo)

ADC Input

Teensy 3.6 or Teensy 3.5 12 bit DAC Output (Stereo)

DAC Output

Teensy 3.6, Teensy 3.5, Teensy 3.2, Teensy 3.1 or Teensy 3.0 PWM Output (Mono)

PWM Output

USB Audio: Bi-Directional Stereo Streaming to a PC

Inputs Outputs