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.
Transmogrifox b8d349fbe7 increase precision to minimize DC error 7 vuotta sitten
examples Fix Tutorial 1-05 7 vuotta sitten
extras Fix format error: header chunkSize can be 16, 18, or 40 7 vuotta sitten
gui Add AudioEffectEnvelope releaseNoteOn 7 vuotta sitten
utility Replace DC removal algorithm with IIR HPF, 2 Hz 7 vuotta sitten
.gitignore Add documentation for new objects 8 vuotta sitten
.travis.yml Update Travis CI settings 8 vuotta sitten
Audio.h Add waveshaper documentation 7 vuotta sitten
AudioControl.h Add AudioSynthWaveformSine 10 vuotta sitten
README.md Update readme 7 vuotta sitten
analyze_fft256.cpp Initial work on FFT256 for Teensy-LC (untested) 9 vuotta sitten
analyze_fft256.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
analyze_fft1024.cpp Fix some Teensy-LC compiler errors 9 vuotta sitten
analyze_fft1024.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
analyze_notefreq.cpp Remove leftover debug code 8 vuotta sitten
analyze_notefreq.h NoteFrequency fixes 8 vuotta sitten
analyze_peak.cpp Add TODO for analyze peak optimization 8 vuotta sitten
analyze_peak.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
analyze_print.cpp Change AudioAnalyzePrint name API 10 vuotta sitten
analyze_print.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
analyze_rms.cpp Don't compile M4 code on LC (but LC still not working) 8 vuotta sitten
analyze_rms.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
analyze_tonedetect.cpp Fix more Teensy-LC compiler errors 9 vuotta sitten
analyze_tonedetect.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
control_ak4558.cpp Fixed control functions, examples, GUI elements 9 vuotta sitten
control_ak4558.h Fixed control functions, examples, GUI elements 9 vuotta sitten
control_cs4272.cpp Add CS4272 control (thanks William Hollender) 8 vuotta sitten
control_cs4272.h Add CS4272 control (thanks William Hollender) 8 vuotta sitten
control_cs42448.cpp Add AudioControlCS42448 7 vuotta sitten
control_cs42448.h Add AudioControlCS42448 7 vuotta sitten
control_sgtl5000.cpp Add ability to control two SGTL5000 chips 8 vuotta sitten
control_sgtl5000.h Add ability to control two SGTL5000 chips 8 vuotta sitten
control_wm8731.cpp AudioControlWM8731::inputLevel(float n) 9 vuotta sitten
control_wm8731.h AudioControlWM8731::inputLevel(float n) 9 vuotta sitten
data_ulaw.c Add missing open source license headers 10 vuotta sitten
data_waveforms.c Remove old AudioSynthWaveform 10 vuotta sitten
data_windows.c Add other window types for 1024 point FFT 10 vuotta sitten
effect_bitcrusher.cpp Fix compiler warning 9 vuotta sitten
effect_bitcrusher.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_chorus.cpp Merge pull request #166 from FrankBoesing/patch-2 8 vuotta sitten
effect_chorus.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_delay.cpp Fix delay effect on Teensy 3.5 & 3.6 7 vuotta sitten
effect_delay.h Fix delay effect on Teensy 3.5 & 3.6 7 vuotta sitten
effect_delay_ext.cpp Add SPI external memory timing comment 8 vuotta sitten
effect_delay_ext.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_envelope.cpp Add AudioEffectEnvelope releaseNoteOn 7 vuotta sitten
effect_envelope.h Add AudioEffectEnvelope releaseNoteOn 7 vuotta sitten
effect_fade.cpp Fix minor compiler warning 8 vuotta sitten
effect_fade.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_flange.cpp Calculation of delay_rate_incr 8 vuotta sitten
effect_flange.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_midside.cpp Don't compile M4 code on LC (but LC still not working) 8 vuotta sitten
effect_midside.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_multiply.cpp Fix more Teensy-LC compiler errors 9 vuotta sitten
effect_multiply.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
effect_reverb.cpp Add reverb effect, from Joao Rossi Filho 8 vuotta sitten
effect_reverb.h Add reverb effect, from Joao Rossi Filho 8 vuotta sitten
effect_waveshaper.cpp Accept floats instead of int16_ts for waveshape in shape() 7 vuotta sitten
effect_waveshaper.h Accept floats instead of int16_ts for waveshape in shape() 7 vuotta sitten
filter_biquad.cpp Don't cause a loud pop when changing biquad filter coefficients 8 vuotta sitten
filter_biquad.h Add shelving filter support for biquad 8 vuotta sitten
filter_fir.cpp Impove and document FIR filter 10 vuotta sitten
filter_fir.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
filter_fir.md Change FIR filter (as suggested by rheslip) to filter one channel instead of two. Updated example, added documenting file 10 vuotta sitten
filter_variable.cpp Fix more Teensy-LC compiler errors 9 vuotta sitten
filter_variable.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
input_adc.cpp increase precision to minimize DC error 7 vuotta sitten
input_adc.h Fix indentation and move filtercoefficient to #define constant instead of int32_t variable 7 vuotta sitten
input_adcs.cpp increase precision to minimize DC error 7 vuotta sitten
input_adcs.h Fix indentation and move filtercoefficient to #define constant instead of int32_t variable 7 vuotta sitten
input_i2s.cpp Use 64 bit frame size for I2S master mode 7 vuotta sitten
input_i2s.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
input_i2s_quad.cpp Quad input on Teensy 3.5 & 3.6 needs pin 38 7 vuotta sitten
input_i2s_quad.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
input_tdm.cpp Add AudioInputTDM 7 vuotta sitten
input_tdm.h Add AudioInputTDM 7 vuotta sitten
keywords.txt Add AudioEffectEnvelope releaseNoteOn 7 vuotta sitten
library.json Let PlatformIO automatically detect Arduino v1.0 library format 8 vuotta sitten
library.properties Edit version string, for Arduino 1.6.11 compatibility 8 vuotta sitten
memcpy_audio.S Allow blocksizes 8 and 16 8 vuotta sitten
memcpy_audio.h Add memcpy_tointerleaveQuad (thanks Frank) 8 vuotta sitten
mixer.cpp Fix some Teensy-LC compiler errors 9 vuotta sitten
mixer.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
multiplier.md Add a multiplier (by rheslip) 10 vuotta sitten
new_objects.md change format for new_objects files 11 vuotta sitten
output_dac.cpp More hardware defs 8 vuotta sitten
output_dac.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
output_dacs.cpp Fix AudioOutputAnalogStereo analogReference 8 vuotta sitten
output_dacs.h Add AudioOutputAnalogStereo 8 vuotta sitten
output_i2s.cpp Use 64 bit frame size for I2S master mode 7 vuotta sitten
output_i2s.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
output_i2s_quad.cpp Fix simultaneous quad input & output on Teensy 3.6 with CPU > 120 MHz 7 vuotta sitten
output_i2s_quad.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
output_pt8211.cpp Add a comment for TDA1543 7 vuotta sitten
output_pt8211.h changed defines to be more specific 8 vuotta sitten
output_pwm.cpp Fix BUG for AUDIO_BLOCK_SAMPLES != 128 8 vuotta sitten
output_pwm.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
output_spdif.cpp Support more clock speeds 8 vuotta sitten
output_spdif.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
output_tdm.cpp Add AudioInputTDM 7 vuotta sitten
output_tdm.h Add AudioInputTDM 7 vuotta sitten
play_memory.cpp Fix hard-coded 128 block size limits 8 vuotta sitten
play_memory.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
play_queue.cpp do not forget - your own addition :-) 10 vuotta sitten
play_queue.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
play_sd_raw.cpp Fix for two little bugs 8 vuotta sitten
play_sd_raw.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
play_sd_wav.cpp Fix AudioPlaySdWav status functions with LTO 7 vuotta sitten
play_sd_wav.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
play_serialflash_raw.cpp remove leftover debug code from AudioPlaySerialflashRaw 9 vuotta sitten
play_serialflash_raw.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
record_queue.cpp Fix harmless compiler warnings in AudioRecordQueue 10 vuotta sitten
record_queue.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
spi_interrupt.cpp Add SPI interrupt registration layer 10 vuotta sitten
spi_interrupt.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
synth_dc.cpp Fix hard-coded 128 block size limits 8 vuotta sitten
synth_dc.h Add AudioSynthWaveformDc read() 7 vuotta sitten
synth_karplusstrong.cpp Decay resonance (loop gain) slightly in Karplus Strong 8 vuotta sitten
synth_karplusstrong.h Add Synthesis Guitar example 8 vuotta sitten
synth_pinknoise.cpp Clean up harmless compiler warnings 10 vuotta sitten
synth_pinknoise.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
synth_pwm.cpp Minor optimization in AudioSynthWaveformPWM 7 vuotta sitten
synth_pwm.h Add AudioSynthWaveformPWM 7 vuotta sitten
synth_simple_drum.cpp Adding SimpleDrum synthesis object to audio library. 8 vuotta sitten
synth_simple_drum.h Adding SimpleDrum synthesis object to audio library. 8 vuotta sitten
synth_sine.cpp fix incorrect comment 8 vuotta sitten
synth_sine.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
synth_tonesweep.cpp fix tonesweep 8 vuotta sitten
synth_tonesweep.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
synth_waveform.cpp #144: Add the reverse sawtooth and sample-and-hold waveforms. 9 vuotta sitten
synth_waveform.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten
synth_waveform.md Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewave. 10 vuotta sitten
synth_whitenoise.cpp Fix more Teensy-LC compiler errors 9 vuotta sitten
synth_whitenoise.h Do not assume AudioStream.h includes Arduino.h 8 vuotta sitten

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