You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaulStoffregen bebf5dce98 Add simple AudioAmplifier 6 jaren geleden
docs Add issue template 6 jaren geleden
examples Add AudioSynthWaveformModulated documentation 6 jaren geleden
extras Fix format error: header chunkSize can be 16, 18, or 40 7 jaren geleden
gui Add simple AudioAmplifier 6 jaren geleden
utility Replace DC removal algorithm with IIR HPF, 2 Hz 7 jaren geleden
.gitignore Add documentation for new objects 8 jaren geleden
.travis.yml Update Travis CI settings 8 jaren geleden
Audio.h Add AudioInputPDM 6 jaren geleden
AudioControl.h Add AudioSynthWaveformSine 10 jaren geleden
README.md Update readme 7 jaren geleden
analyze_fft256.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_fft256.h Fix problem with optimized loops like do {} while (!myFFT.available()); 7 jaren geleden
analyze_fft1024.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_fft1024.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
analyze_notefreq.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_notefreq.h NoteFrequency fixes 8 jaren geleden
analyze_peak.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_peak.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
analyze_print.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_print.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
analyze_rms.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_rms.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
analyze_tonedetect.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
analyze_tonedetect.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
control_ak4558.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
control_ak4558.h Fixed control functions, examples, GUI elements 9 jaren geleden
control_cs4272.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
control_cs4272.h Add CS4272 control (thanks William Hollender) 8 jaren geleden
control_cs42448.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
control_cs42448.h Add AudioControlCS42448 7 jaren geleden
control_sgtl5000.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
control_sgtl5000.h Add ability to control two SGTL5000 chips 9 jaren geleden
control_wm8731.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
control_wm8731.h AudioControlWM8731::inputLevel(float n) 9 jaren geleden
data_ulaw.c Add missing open source license headers 10 jaren geleden
data_waveforms.c Remove old AudioSynthWaveform 10 jaren geleden
data_windows.c Add other window types for 1024 point FFT 10 jaren geleden
effect_bitcrusher.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_bitcrusher.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
effect_chorus.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_chorus.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
effect_combine.cpp Add AudioEffectDigitalCombine (from Bleep Labs) 6 jaren geleden
effect_combine.h Move combine effect constants to class enum, not global scope 6 jaren geleden
effect_delay.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_delay.h Fix delay effect on Teensy 3.5 & 3.6 7 jaren geleden
effect_delay_ext.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_delay_ext.h Add F-RAM 7 jaren geleden
effect_envelope.cpp Add isActive() and isSustain() to envelope 6 jaren geleden
effect_envelope.h Add isActive() and isSustain() to envelope 6 jaren geleden
effect_fade.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_fade.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
effect_flange.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_flange.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
effect_freeverb.cpp Add AudioEffectFreeverbStereo 6 jaren geleden
effect_freeverb.h Add AudioEffectFreeverbStereo 6 jaren geleden
effect_granular.cpp Increase granular speed range, change public function to setSpeed() 6 jaren geleden
effect_granular.h Increase granular speed range, change public function to setSpeed() 6 jaren geleden
effect_midside.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_midside.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
effect_multiply.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_multiply.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
effect_reverb.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_reverb.h Add reverb effect, from Joao Rossi Filho 8 jaren geleden
effect_waveshaper.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
effect_waveshaper.h Accept floats instead of int16_ts for waveshape in shape() 7 jaren geleden
filter_biquad.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
filter_biquad.h Add shelving filter support for biquad 8 jaren geleden
filter_fir.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
filter_fir.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
filter_fir.md Change FIR filter (as suggested by rheslip) to filter one channel instead of two. Updated example, added documenting file 10 jaren geleden
filter_variable.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
filter_variable.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
input_adc.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
input_adc.h Fix indentation and move filtercoefficient to #define constant instead of int32_t variable 7 jaren geleden
input_adcs.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
input_adcs.h Fix indentation and move filtercoefficient to #define constant instead of int32_t variable 7 jaren geleden
input_i2s.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
input_i2s.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
input_i2s_quad.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
input_i2s_quad.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
input_pdm.cpp Add AudioInputPDM 6 jaren geleden
input_pdm.h Add AudioInputPDM 6 jaren geleden
input_tdm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
input_tdm.h Add AudioInputTDM 7 jaren geleden
keywords.txt Add simple AudioAmplifier 6 jaren geleden
library.json Let PlatformIO automatically detect Arduino v1.0 library format 8 jaren geleden
library.properties Edit version string, for Arduino 1.6.11 compatibility 8 jaren geleden
memcpy_audio.S Allow blocksizes 8 and 16 8 jaren geleden
memcpy_audio.h Add memcpy_tointerleaveQuad (thanks Frank) 9 jaren geleden
mixer.cpp Add simple AudioAmplifier 6 jaren geleden
mixer.h Add simple AudioAmplifier 6 jaren geleden
multiplier.md Add a multiplier (by rheslip) 10 jaren geleden
new_objects.md change format for new_objects files 11 jaren geleden
output_adat.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_adat.h Add ADAT 8 channel TOSLINK output by Ernstjan Freriks 7 jaren geleden
output_dac.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_dac.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
output_dacs.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_dacs.h Add AudioOutputAnalogStereo 8 jaren geleden
output_i2s.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_i2s.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
output_i2s_quad.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_i2s_quad.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
output_pt8211.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_pt8211.h changed defines to be more specific 8 jaren geleden
output_pwm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_pwm.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
output_spdif.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_spdif.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
output_tdm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
output_tdm.h Add AudioInputTDM 7 jaren geleden
play_memory.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
play_memory.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
play_queue.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
play_queue.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
play_sd_raw.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
play_sd_raw.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
play_sd_wav.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
play_sd_wav.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
play_serialflash_raw.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
play_serialflash_raw.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
record_queue.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
record_queue.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
spi_interrupt.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
spi_interrupt.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
synth_dc.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_dc.h Add AudioSynthWaveformDc read() 7 jaren geleden
synth_karplusstrong.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_karplusstrong.h Add Synthesis Guitar example 8 jaren geleden
synth_pinknoise.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_pinknoise.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
synth_pwm.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_pwm.h Add AudioSynthWaveformPWM 7 jaren geleden
synth_simple_drum.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_simple_drum.h Adding SimpleDrum synthesis object to audio library. 8 jaren geleden
synth_sine.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_sine.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden
synth_tonesweep.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_tonesweep.h ToneSweep improvements (thanks Pio) 7 jaren geleden
synth_waveform.cpp Add waveform phase modulation 6 jaren geleden
synth_waveform.h Add waveform phase modulation 6 jaren geleden
synth_waveform.md Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewave. 10 jaren geleden
synth_whitenoise.cpp Include Arduino.h first in all cpp files, for precompiled header speedup 6 jaren geleden
synth_whitenoise.h Do not assume AudioStream.h includes Arduino.h 8 jaren geleden

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