C++ C HTML JavaScript CSS Assembly
Permalink
Failed to load latest commit information.
examples Document Macintosh USB audio workaround Jan 11, 2017
extras Len noticed a bug in binary velocity output Jan 25, 2016
gui Quad input on Teensy 3.5 & 3.6 needs pin 38 Jan 15, 2017
utility Support more clock speeds Jun 20, 2016
.gitignore Add documentation for new objects Nov 9, 2016
.travis.yml Update Travis CI settings Jan 23, 2016
Audio.h Add reverb effect, from Joao Rossi Filho Nov 2, 2016
AudioControl.h Add AudioSynthWaveformSine Apr 27, 2014
README.md Update readme, minor fix Nov 24, 2016
analyze_fft1024.cpp Fix some Teensy-LC compiler errors Aug 29, 2015
analyze_fft1024.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_fft256.cpp Initial work on FFT256 for Teensy-LC (untested) Aug 29, 2015
analyze_fft256.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_notefreq.cpp Remove leftover debug code Jul 31, 2016
analyze_notefreq.h NoteFrequency fixes Jul 21, 2016
analyze_peak.cpp Add TODO for analyze peak optimization Jan 16, 2016
analyze_peak.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_print.cpp Change AudioAnalyzePrint name API Sep 11, 2014
analyze_print.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_rms.cpp Don't compile M4 code on LC (but LC still not working) Jan 14, 2016
analyze_rms.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
analyze_tonedetect.cpp Fix more Teensy-LC compiler errors Aug 29, 2015
analyze_tonedetect.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
control_ak4558.cpp Fixed control functions, examples, GUI elements Jan 7, 2016
control_ak4558.h Fixed control functions, examples, GUI elements Jan 7, 2016
control_cs4272.cpp Add link to FFT log band scaling conversation & scripts Jan 28, 2016
control_cs4272.h Add link to FFT log band scaling conversation & scripts Jan 28, 2016
control_sgtl5000.cpp Add ability to control two SGTL5000 chips Jan 16, 2016
control_sgtl5000.h Add ability to control two SGTL5000 chips Jan 16, 2016
control_wm8731.cpp AudioControlWM8731::inputLevel(float n) Jun 10, 2015
control_wm8731.h AudioControlWM8731::inputLevel(float n) Jun 10, 2015
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 Fix compiler warning Aug 29, 2015
effect_bitcrusher.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_chorus.cpp Merge pull request #166 from FrankBoesing/patch-2 Feb 23, 2016
effect_chorus.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_delay.cpp Remove unused multiplier Sep 5, 2014
effect_delay.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_delay_ext.cpp Add SPI external memory timing comment Feb 25, 2016
effect_delay_ext.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_envelope.cpp Add AudioEffectEnvelope Aug 27, 2014
effect_envelope.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_fade.cpp Fix minor compiler warning Dec 15, 2016
effect_fade.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_flange.cpp Calculation of delay_rate_incr Oct 2, 2016
effect_flange.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_midside.cpp Don't compile M4 code on LC (but LC still not working) Jan 14, 2016
effect_midside.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_multiply.cpp Fix more Teensy-LC compiler errors Aug 29, 2015
effect_multiply.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
effect_reverb.cpp Add reverb effect, from Joao Rossi Filho Nov 2, 2016
effect_reverb.h Add reverb effect, from Joao Rossi Filho Nov 2, 2016
filter_biquad.cpp Don't cause a loud pop when changing biquad filter coefficients Mar 20, 2016
filter_biquad.h Add shelving filter support for biquad Jul 18, 2016
filter_fir.cpp Impove and document FIR filter Sep 26, 2014
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 Fix more Teensy-LC compiler errors Aug 29, 2015
filter_variable.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
input_adc.cpp Fix ADC input with various clock speeds Oct 31, 2016
input_adc.h Fix the DC offset computation. The previous computation would occassi… Aug 12, 2016
input_adcs.cpp Fix compile error on Teensy 3.0 Nov 4, 2016
input_adcs.h Add AudioInputAnalogStereo (work in progress...) Oct 31, 2016
input_i2s.cpp Fix more Teensy-LC compiler errors Aug 29, 2015
input_i2s.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
input_i2s_quad.cpp Quad input on Teensy 3.5 & 3.6 needs pin 38 Jan 15, 2017
input_i2s_quad.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
keywords.txt Add reverb effect, from Joao Rossi Filho Nov 2, 2016
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 Fix some Teensy-LC compiler errors Aug 29, 2015
mixer.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
multiplier.md Add a multiplier (by rheslip) Apr 26, 2014
new_objects.md change format for new_objects files Jan 13, 2014
output_dac.cpp More hardware defs Feb 1, 2016
output_dac.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_dacs.cpp Fix AudioOutputAnalogStereo analogReference Oct 26, 2016
output_dacs.h Add AudioOutputAnalogStereo Oct 26, 2016
output_i2s.cpp Fix I2S output when also using I2S input with CPU > 120 MHz Oct 23, 2016
output_i2s.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_i2s_quad.cpp Fix simultaneous quad input & output on Teensy 3.6 with CPU > 120 MHz Jan 15, 2017
output_i2s_quad.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_pt8211.cpp Bugfix re: noise when no blocks are available Oct 20, 2016
output_pt8211.h changed defines to be more specific Aug 4, 2016
output_pwm.cpp Fix BUG for AUDIO_BLOCK_SAMPLES != 128 Dec 4, 2016
output_pwm.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
output_spdif.cpp Support more clock speeds Jun 20, 2016
output_spdif.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_memory.cpp Fix hard-coded 128 block size limits Dec 7, 2016
play_memory.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_queue.cpp do not forget - your own addition :-) Nov 11, 2014
play_queue.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_sd_raw.cpp Fix for two little bugs Dec 11, 2016
play_sd_raw.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_sd_wav.cpp SDHC does not use SPI Nov 16, 2016
play_sd_wav.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
play_serialflash_raw.cpp remove leftover debug code from AudioPlaySerialflashRaw Sep 14, 2015
play_serialflash_raw.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
record_queue.cpp Fix harmless compiler warnings in AudioRecordQueue Oct 6, 2014
record_queue.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
spi_interrupt.cpp Add SPI interrupt registration layer Oct 6, 2014
spi_interrupt.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_dc.cpp Fix hard-coded 128 block size limits Dec 7, 2016
synth_dc.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_karplusstrong.cpp Decay resonance (loop gain) slightly in Karplus Strong May 10, 2016
synth_karplusstrong.h Add Synthesis Guitar example May 10, 2016
synth_pinknoise.cpp Clean up harmless compiler warnings Sep 15, 2014
synth_pinknoise.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_simple_drum.cpp Adding SimpleDrum synthesis object to audio library. Mar 11, 2016
synth_simple_drum.h Adding SimpleDrum synthesis object to audio library. Mar 11, 2016
synth_sine.cpp fix incorrect comment Jan 21, 2016
synth_sine.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_tonesweep.cpp fix tonesweep Feb 23, 2016
synth_tonesweep.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_waveform.cpp #144: Add the reverse sawtooth and sample-and-hold waveforms. Dec 28, 2015
synth_waveform.h Do not assume AudioStream.h includes Arduino.h Apr 14, 2016
synth_waveform.md Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sine… Apr 16, 2014
synth_whitenoise.cpp Fix more Teensy-LC compiler errors Aug 29, 2015
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/

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