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

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