Permalink
Switch branches/tags
Commits on Nov 20, 2016
  1. Updates for AVR devices

    TMRh20 committed Nov 20, 2016
    - Add disableDAC() function
    - Auto shift samples to max bitsPerSample based on frequency of timer vs
    precision
    - Fix 10 bit sample buffering
    - Enable DACC_Handler() interrupt function to be used in exactly the
    same way as on Due (add it to timer1 ovf interrupt)
    - Enable multi-channel DAC ( because of AVR limitations, this will not
    be per-buffer channel settings, the channel output will take place
    globally, for all samples)
    - Load the AVR dac buffer with 0s to enable quiet output on load
Commits on Nov 18, 2016
  1. Initial support for AVR devices (Uno,Nano,Mega,etc)

    TMRh20 committed Nov 18, 2016
    - Main functions of library supported on AVR devices (ADC,DAC,TIMERS)
    - Uses pseudo DAC interface via PWM
    - Uses pseudo DMA interface
    - Does not (yet) automatically adjust the timers when autoadjust = true
    - TIMER1 PWM supports up to about 10-bits of resolution at audio sample
    rates, so replicating a 10-bit DAC and have 10-bit ADC.
Commits on Nov 16, 2016
  1. Add optional ADC interrupt, Recording Example

    TMRh20 committed Nov 16, 2016
    - Add SdAudioRecording.ino example
    - Add option to enable ADC interrupts: adcInterrupts(bool enabled); for
    interrupt driven ADC sampling
Commits on Nov 15, 2016
  1. Add examples, reduce memory, etc

    TMRh20 committed Nov 15, 2016
    - Fix: Broken DAC channel selection
    - Lower memory usage by removing duplicate buffers
    - Increase default buffer size to 256 samples from 32
    - Add SDAudio examples: basic, auto & wavPlayer
    - Add example *.wav files for SDAudio examples
    - Update remaining examples for larger default buffer size
    - Increment version in library properties and update description
Commits on Nov 12, 2016
  1. Add features, example, tweak auto timing

    TMRh20 committed Nov 12, 2016
    - Use TAG mode for channel selection
    - Enable channel selection DAC0, DAC1 or both (stereo)
    - Tweak auto timing adjustment and slow it down:
    a: Not fast enough for fully auto sample rate
    b: Better quality during playback
    - Add WirelessSpeaker example
Commits on Nov 11, 2016
  1. Add 12-bit SimpleSine example

    TMRh20 committed Nov 11, 2016
  2. Add SimpleSine example

    TMRh20 committed Nov 11, 2016
    Add SimpleSine example:
    - Example of sine wave generation and optionally broadcast via radio
    with local volume control and 2 frequencies/tones
Commits on Nov 10, 2016
  1. Add features 8,10,12-bit, variable sample lengths

    TMRh20 committed Nov 10, 2016
    - Remove need to call triggerADC() function
    - Support for 8, 10 or 12 bit samples via adcBitsPerSample and
    dacBitsPerSample variables
    - Add separate buffers for 8-bit vs 10 & 12 bit samples
    - Add variable length sample/buffer sizes (Note: If changing the number
    of ADC samples on-the-fly, the length will only change after the first
    buffer of samples is returned)
    - Make example compatible with RF24Audio examples by changing settings
Commits on Nov 8, 2016
Commits on Nov 6, 2016
  1. Fixes: DAC enabled only if ADC enabled, DAC DMA

    TMRh20 committed Nov 6, 2016
    - DAC was only being enabled if begin() called with ADC enabled
    - Use both DMA buffers for DAC
Commits on Nov 5, 2016
  1. Creation of AAAudio library

    TMRh20 committed Nov 5, 2016
    Initial creation of Automatic Analog Library using Arduino Due DAC, ADC
    & Timers to perform automatic sampling and playback