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

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