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 28c676b4bb Edit version string, for Arduino 1.6.11 compatibility пре 8 година
examples Rename NoteFrequency samples пре 8 година
extras Len noticed a bug in binary velocity output пре 8 година
gui Add PT8211 documentation and example пре 8 година
utility Support more clock speeds пре 8 година
.travis.yml Update Travis CI settings пре 8 година
Audio.h Add simple drum header and keywords пре 8 година
AudioControl.h Add AudioSynthWaveformSine пре 10 година
README.md remove Travis CI status from readme (it's too unreliable) пре 8 година
analyze_fft256.cpp Initial work on FFT256 for Teensy-LC (untested) пре 9 година
analyze_fft256.h Do not assume AudioStream.h includes Arduino.h пре 8 година
analyze_fft1024.cpp Fix some Teensy-LC compiler errors пре 9 година
analyze_fft1024.h Do not assume AudioStream.h includes Arduino.h пре 8 година
analyze_notefreq.cpp Remove leftover debug code пре 8 година
analyze_notefreq.h NoteFrequency fixes пре 8 година
analyze_peak.cpp Add TODO for analyze peak optimization пре 8 година
analyze_peak.h Do not assume AudioStream.h includes Arduino.h пре 8 година
analyze_print.cpp Change AudioAnalyzePrint name API пре 10 година
analyze_print.h Do not assume AudioStream.h includes Arduino.h пре 8 година
analyze_rms.cpp Don't compile M4 code on LC (but LC still not working) пре 8 година
analyze_rms.h Do not assume AudioStream.h includes Arduino.h пре 8 година
analyze_tonedetect.cpp Fix more Teensy-LC compiler errors пре 9 година
analyze_tonedetect.h Do not assume AudioStream.h includes Arduino.h пре 8 година
control_ak4558.cpp Fixed control functions, examples, GUI elements пре 9 година
control_ak4558.h Fixed control functions, examples, GUI elements пре 9 година
control_cs4272.cpp Add CS4272 control (thanks William Hollender) пре 8 година
control_cs4272.h Add CS4272 control (thanks William Hollender) пре 8 година
control_sgtl5000.cpp Add ability to control two SGTL5000 chips пре 8 година
control_sgtl5000.h Add ability to control two SGTL5000 chips пре 8 година
control_wm8731.cpp AudioControlWM8731::inputLevel(float n) пре 9 година
control_wm8731.h AudioControlWM8731::inputLevel(float n) пре 9 година
data_ulaw.c Add missing open source license headers пре 10 година
data_waveforms.c Remove old AudioSynthWaveform пре 10 година
data_windows.c Add other window types for 1024 point FFT пре 10 година
effect_bitcrusher.cpp Fix compiler warning пре 9 година
effect_bitcrusher.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_chorus.cpp Merge pull request #166 from FrankBoesing/patch-2 пре 8 година
effect_chorus.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_delay.cpp Remove unused multiplier пре 10 година
effect_delay.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_delay_ext.cpp Add SPI external memory timing comment пре 8 година
effect_delay_ext.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_envelope.cpp Add AudioEffectEnvelope пре 10 година
effect_envelope.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_fade.cpp Add MIT license пре 10 година
effect_fade.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_flange.cpp use AUDIO_SAMPLE_RATE_EXACT пре 8 година
effect_flange.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_midside.cpp Don't compile M4 code on LC (but LC still not working) пре 8 година
effect_midside.h Do not assume AudioStream.h includes Arduino.h пре 8 година
effect_multiply.cpp Fix more Teensy-LC compiler errors пре 9 година
effect_multiply.h Do not assume AudioStream.h includes Arduino.h пре 8 година
filter_biquad.cpp Don't cause a loud pop when changing biquad filter coefficients пре 8 година
filter_biquad.h Add shelving filter support for biquad пре 8 година
filter_fir.cpp Impove and document FIR filter пре 10 година
filter_fir.h Do not assume AudioStream.h includes Arduino.h пре 8 година
filter_fir.md Change FIR filter (as suggested by rheslip) to filter one channel instead of two. Updated example, added documenting file пре 10 година
filter_variable.cpp Fix more Teensy-LC compiler errors пре 9 година
filter_variable.h Do not assume AudioStream.h includes Arduino.h пре 8 година
input_adc.cpp Fix the DC offset computation. The previous computation would occassionally get stuck with an incorrect offset. пре 8 година
input_adc.h Fix the DC offset computation. The previous computation would occassionally get stuck with an incorrect offset. пре 8 година
input_i2s.cpp Fix more Teensy-LC compiler errors пре 9 година
input_i2s.h Do not assume AudioStream.h includes Arduino.h пре 8 година
input_i2s_quad.cpp More hardware defs пре 8 година
input_i2s_quad.h Do not assume AudioStream.h includes Arduino.h пре 8 година
keywords.txt Add simple drum header and keywords пре 8 година
library.json Use tagged source code from repo пре 8 година
library.properties Edit version string, for Arduino 1.6.11 compatibility пре 8 година
memcpy_audio.S More hardware defs пре 8 година
memcpy_audio.h Add memcpy_tointerleaveQuad (thanks Frank) пре 8 година
mixer.cpp Fix some Teensy-LC compiler errors пре 9 година
mixer.h Do not assume AudioStream.h includes Arduino.h пре 8 година
multiplier.md Add a multiplier (by rheslip) пре 10 година
new_objects.md change format for new_objects files пре 11 година
output_dac.cpp More hardware defs пре 8 година
output_dac.h Do not assume AudioStream.h includes Arduino.h пре 8 година
output_i2s.cpp Support more clock speeds пре 8 година
output_i2s.h Do not assume AudioStream.h includes Arduino.h пре 8 година
output_i2s_quad.cpp Support more clock speeds пре 8 година
output_i2s_quad.h Do not assume AudioStream.h includes Arduino.h пре 8 година
output_pt8211.cpp changed defines to be more specific пре 8 година
output_pt8211.h changed defines to be more specific пре 8 година
output_pwm.cpp Fix more Teensy-LC compiler errors пре 9 година
output_pwm.h Do not assume AudioStream.h includes Arduino.h пре 8 година
output_spdif.cpp Support more clock speeds пре 8 година
output_spdif.h Do not assume AudioStream.h includes Arduino.h пре 8 година
play_memory.cpp Add status and position functions to AudioPlayMemory пре 10 година
play_memory.h Do not assume AudioStream.h includes Arduino.h пре 8 година
play_queue.cpp do not forget - your own addition :-) пре 10 година
play_queue.h Do not assume AudioStream.h includes Arduino.h пре 8 година
play_sd_raw.cpp Do not disable all interrupts while opening RAW files пре 9 година
play_sd_raw.h Do not assume AudioStream.h includes Arduino.h пре 8 година
play_sd_wav.cpp fix problem with left+right channels being swapped пре 8 година
play_sd_wav.h Do not assume AudioStream.h includes Arduino.h пре 8 година
play_serialflash_raw.cpp remove leftover debug code from AudioPlaySerialflashRaw пре 9 година
play_serialflash_raw.h Do not assume AudioStream.h includes Arduino.h пре 8 година
record_queue.cpp Fix harmless compiler warnings in AudioRecordQueue пре 10 година
record_queue.h Do not assume AudioStream.h includes Arduino.h пре 8 година
spi_interrupt.cpp Add SPI interrupt registration layer пре 10 година
spi_interrupt.h Do not assume AudioStream.h includes Arduino.h пре 8 година
synth_dc.cpp Add AudioSynthWaveformDc пре 10 година
synth_dc.h Do not assume AudioStream.h includes Arduino.h пре 8 година
synth_karplusstrong.cpp Decay resonance (loop gain) slightly in Karplus Strong пре 8 година
synth_karplusstrong.h Add Synthesis Guitar example пре 8 година
synth_pinknoise.cpp Clean up harmless compiler warnings пре 10 година
synth_pinknoise.h Do not assume AudioStream.h includes Arduino.h пре 8 година
synth_simple_drum.cpp Adding SimpleDrum synthesis object to audio library. пре 8 година
synth_simple_drum.h Adding SimpleDrum synthesis object to audio library. пре 8 година
synth_sine.cpp fix incorrect comment пре 8 година
synth_sine.h Do not assume AudioStream.h includes Arduino.h пре 8 година
synth_tonesweep.cpp fix tonesweep пре 8 година
synth_tonesweep.h Do not assume AudioStream.h includes Arduino.h пре 8 година
synth_waveform.cpp #144: Add the reverse sawtooth and sample-and-hold waveforms. пре 9 година
synth_waveform.h Do not assume AudioStream.h includes Arduino.h пре 8 година
synth_waveform.md Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewave. пре 10 година
synth_whitenoise.cpp Fix more Teensy-LC compiler errors пре 9 година
synth_whitenoise.h Do not assume AudioStream.h includes Arduino.h пре 8 година

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

Teensy 3.1 12 bit DAC

DAC Output

Teensy 3.1 or 3.0 ADC Input

ADC Input

Teensy 3.1 or 3.0 PWM Output

PWM Output