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.
Dean Blackketter a4814ce934 Len noticed a bug in binary velocity output 8 years ago
examples Move miditones to "extras"-folder to prevent compiling 8 years ago
extras Len noticed a bug in binary velocity output 8 years ago
gui Fix AudioEffectFlange documentation 8 years ago
utility rewrite AudioAnalyzeRMS - arm math version doesn't work! 8 years ago
.travis.yml Update Travis CI settings 8 years ago
Audio.h Add CS4272 control (thanks William Hollender) 8 years ago
AudioControl.h Add AudioSynthWaveformSine 10 years ago
README.md remove Travis CI status from readme (it's too unreliable) 8 years ago
analyze_fft256.cpp Initial work on FFT256 for Teensy-LC (untested) 9 years ago
analyze_fft256.h Fix FFT read range (now inclusive) 9 years ago
analyze_fft1024.cpp Fix some Teensy-LC compiler errors 9 years ago
analyze_fft1024.h Fix FFT read range (now inclusive) 9 years ago
analyze_notefreq.cpp Rename AudioAnalyzeGuitarTuner to AudioAnalyzeNoteFrequency 9 years ago
analyze_notefreq.h Rename AudioAnalyzeGuitarTuner to AudioAnalyzeNoteFrequency 9 years ago
analyze_peak.cpp Add TODO for analyze peak optimization 8 years ago
analyze_peak.h Add readPeakToPeak() to AudioAnalyzePeak 8 years ago
analyze_print.cpp Change AudioAnalyzePrint name API 10 years ago
analyze_print.h Change AudioAnalyzePrint name API 10 years ago
analyze_rms.cpp Don't compile M4 code on LC (but LC still not working) 8 years ago
analyze_rms.h rewrite AudioAnalyzeRMS - arm math version doesn't work! 8 years ago
analyze_tonedetect.cpp Fix more Teensy-LC compiler errors 9 years ago
analyze_tonedetect.h Add MIT license 10 years ago
control_ak4558.cpp Fixed control functions, examples, GUI elements 9 years ago
control_ak4558.h Fixed control functions, examples, GUI elements 9 years ago
control_cs4272.cpp Add CS4272 control (thanks William Hollender) 8 years ago
control_cs4272.h Add CS4272 control (thanks William Hollender) 8 years ago
control_sgtl5000.cpp Add ability to control two SGTL5000 chips 8 years ago
control_sgtl5000.h Add ability to control two SGTL5000 chips 8 years ago
control_wm8731.cpp AudioControlWM8731::inputLevel(float n) 9 years ago
control_wm8731.h AudioControlWM8731::inputLevel(float n) 9 years ago
data_ulaw.c Add missing open source license headers 10 years ago
data_waveforms.c Remove old AudioSynthWaveform 10 years ago
data_windows.c Add other window types for 1024 point FFT 10 years ago
effect_bitcrusher.cpp Fix compiler warning 9 years ago
effect_bitcrusher.h Add Bitcrusher effect (thanks Pensive) 9 years ago
effect_chorus.cpp Remove debug Serial.print... 8 years ago
effect_chorus.h remove unimplemented stop() 10 years ago
effect_delay.cpp Remove unused multiplier 10 years ago
effect_delay.h Add AudioEffectDelay 10 years ago
effect_delay_ext.cpp Add support for Frank's 6-chip Memoryboard4 (AUDIO_MEMORY_MEMORYBOARD) 9 years ago
effect_delay_ext.h Add support for Frank's 6-chip Memoryboard4 (AUDIO_MEMORY_MEMORYBOARD) 9 years ago
effect_envelope.cpp Add AudioEffectEnvelope 10 years ago
effect_envelope.h Add AudioEffectEnvelope 10 years ago
effect_fade.cpp Add MIT license 10 years ago
effect_fade.h Add MIT license 10 years ago
effect_flange.cpp Change Flange effect to one channel 10 years ago
effect_flange.h remove unimplemented stop() 10 years ago
effect_midside.cpp Don't compile M4 code on LC (but LC still not working) 8 years ago
effect_midside.h Add AudioEffectMidSide (thanks Hedde Bosman) 8 years ago
effect_multiply.cpp Fix more Teensy-LC compiler errors 9 years ago
effect_multiply.h Add AudioEffectMultiply 10 years ago
filter_biquad.cpp Fix more Teensy-LC compiler errors 9 years ago
filter_biquad.h Improve Biquad filter 10 years ago
filter_fir.cpp Impove and document FIR filter 10 years ago
filter_fir.h Impove and document FIR filter 10 years ago
filter_fir.md Change FIR filter (as suggested by rheslip) to filter one channel instead of two. Updated example, added documenting file 10 years ago
filter_variable.cpp Fix more Teensy-LC compiler errors 9 years ago
filter_variable.h Finish AudioFilterStateVariable (signal control of corner frequency) 10 years ago
input_adc.cpp Fix some Teensy-LC compiler errors 9 years ago
input_adc.h Fix AudioInputAnalog 10 years ago
input_i2s.cpp Fix more Teensy-LC compiler errors 9 years ago
input_i2s.h Use DMAChannel begin() 10 years ago
input_i2s_quad.cpp Begin work on quad channel audio input 8 years ago
input_i2s_quad.h Begin work on quad channel audio input 8 years ago
keywords.txt Add CS4272 control (thanks William Hollender) 8 years ago
library.json Handle all nested examples 9 years ago
library.properties Increase to version 1.03 9 years ago
memcpy_audio.S don't save r12 8 years ago
memcpy_audio.h Add memcpy_tointerleaveQuad (thanks Frank) 8 years ago
mixer.cpp Fix some Teensy-LC compiler errors 9 years ago
mixer.h Allow negative/inverting mixer gain 8 years ago
multiplier.md Add a multiplier (by rheslip) 10 years ago
new_objects.md change format for new_objects files 11 years ago
output_dac.cpp Initial work on DAC for Teensy-LC (still incomplete) 9 years ago
output_dac.h Initial work on DAC for Teensy-LC (still incomplete) 9 years ago
output_i2s.cpp Optimize I2S output memory copy (thanks Frank Bösing) 8 years ago
output_i2s.h Use DMAChannel begin() 10 years ago
output_i2s_quad.cpp Add memcpy_tointerleaveQuad (thanks Frank) 8 years ago
output_i2s_quad.h Begin work on quad channel audio input 8 years ago
output_pwm.cpp Fix more Teensy-LC compiler errors 9 years ago
output_pwm.h Make input ADC and output DAC play nicely together 10 years ago
output_spdif.cpp Fix more Teensy-LC compiler errors 9 years ago
output_spdif.h Add keywords 9 years ago
play_memory.cpp Add status and position functions to AudioPlayMemory 10 years ago
play_memory.h Add status and position functions to AudioPlayMemory 10 years ago
play_queue.cpp do not forget - your own addition :-) 10 years ago
play_queue.h do not forget - your own addition :-) 10 years ago
play_sd_raw.cpp Do not disable all interrupts while opening RAW files 9 years ago
play_sd_raw.h Fix status functions in AudioPlaySdRaw 10 years ago
play_sd_wav.cpp Fix stereo WAV file startup & end (first and last 3 milliseconds) 9 years ago
play_sd_wav.h Fix audible click at end of Wav file playing 10 years ago
play_serialflash_raw.cpp remove leftover debug code from AudioPlaySerialflashRaw 9 years ago
play_serialflash_raw.h Add AudioPlaySerialflashRaw 9 years ago
record_queue.cpp Fix harmless compiler warnings in AudioRecordQueue 10 years ago
record_queue.h Finish AudioRecordQueue and Record example 10 years ago
spi_interrupt.cpp Add SPI interrupt registration layer 10 years ago
spi_interrupt.h register SPI interrupt when playing WAV & RAW files 10 years ago
synth_dc.cpp Add AudioSynthWaveformDc 10 years ago
synth_dc.h simplify overflow checks somewhat 10 years ago
synth_pinknoise.cpp Clean up harmless compiler warnings 10 years ago
synth_pinknoise.h Add AudioSynthNoisePink 10 years ago
synth_sine.cpp fix incorrect comment 8 years ago
synth_sine.h Add AudioSynthWaveformSineHires - High Precision Sine Wave 8 years ago
synth_tonesweep.cpp Bug fix so that downward tone sweeps will work. 8 years ago
synth_tonesweep.h Clean up harmless compiler warnings 10 years ago
synth_waveform.cpp #144: Add the reverse sawtooth and sample-and-hold waveforms. 9 years ago
synth_waveform.h #144: Add the reverse sawtooth and sample-and-hold waveforms. 9 years ago
synth_waveform.md Fixed AudioSynthWaveform. Uses LUT with linear interpolation for sinewave. 10 years ago
synth_whitenoise.cpp Fix more Teensy-LC compiler errors 9 years ago
synth_whitenoise.h Fix multiple white noise instances 10 years ago

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