* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_fft1024.h" | #include "analyze_fft1024.h" | ||||
#include "sqrt_integer.h" | #include "sqrt_integer.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_fft256.h" | #include "analyze_fft256.h" | ||||
#include "sqrt_integer.h" | #include "sqrt_integer.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_notefreq.h" | #include "analyze_notefreq.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
#include "arm_math.h" | #include "arm_math.h" |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_peak.h" | #include "analyze_peak.h" | ||||
void AudioAnalyzePeak::update(void) | void AudioAnalyzePeak::update(void) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_print.h" | #include "analyze_print.h" | ||||
#define STATE_IDLE 0 // doing nothing | #define STATE_IDLE 0 // doing nothing |
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_rms.h" | #include "analyze_rms.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "analyze_tonedetect.h" | #include "analyze_tonedetect.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* | * | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "control_ak4558.h" | #include "control_ak4558.h" | ||||
#include "Wire.h" | #include "Wire.h" | ||||
Serial.println(registers[AK4558_ROUT_VOL], BIN); | Serial.println(registers[AK4558_ROUT_VOL], BIN); | ||||
#endif | #endif | ||||
return ret; | return ret; | ||||
} | |||||
} |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "control_cs42448.h" | #include "control_cs42448.h" | ||||
#include "Wire.h" | #include "Wire.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "control_cs4272.h" | #include "control_cs4272.h" | ||||
#include "Wire.h" | #include "Wire.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "control_sgtl5000.h" | #include "control_sgtl5000.h" | ||||
#include "Wire.h" | #include "Wire.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "control_wm8731.h" | #include "control_wm8731.h" | ||||
#include "Wire.h" | #include "Wire.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_bitcrusher.h" | #include "effect_bitcrusher.h" | ||||
void AudioEffectBitcrusher::update(void) | void AudioEffectBitcrusher::update(void) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_chorus.h" | #include "effect_chorus.h" | ||||
/******************************************************************/ | /******************************************************************/ |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_delay.h" | #include "effect_delay.h" | ||||
void AudioEffectDelay::update(void) | void AudioEffectDelay::update(void) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_delay_ext.h" | #include "effect_delay_ext.h" | ||||
//#define INTERNAL_TEST | //#define INTERNAL_TEST |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_envelope.h" | #include "effect_envelope.h" | ||||
#define STATE_IDLE 0 | #define STATE_IDLE 0 |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_fade.h" | #include "effect_fade.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_flange.h" | #include "effect_flange.h" | ||||
#include "arm_math.h" | #include "arm_math.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_midside.h" | #include "effect_midside.h" | ||||
void AudioEffectMidSide::update(void) | void AudioEffectMidSide::update(void) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_multiply.h" | #include "effect_multiply.h" | ||||
void AudioEffectMultiply::update(void) | void AudioEffectMultiply::update(void) |
// https://github.com/joaoRossiFilho/teensy_reverb | // https://github.com/joaoRossiFilho/teensy_reverb | ||||
#include <Arduino.h> | |||||
#include "effect_reverb.h" | #include "effect_reverb.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
#include "math_helper.h" | #include "math_helper.h" |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "effect_waveshaper.h" | #include "effect_waveshaper.h" | ||||
AudioEffectWaveshaper::~AudioEffectWaveshaper() | AudioEffectWaveshaper::~AudioEffectWaveshaper() |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "filter_biquad.h" | #include "filter_biquad.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "filter_fir.h" | #include "filter_fir.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "filter_variable.h" | #include "filter_variable.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "input_adc.h" | #include "input_adc.h" | ||||
#include "utility/pdb.h" | #include "utility/pdb.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "input_adcs.h" | #include "input_adcs.h" | ||||
#include "utility/pdb.h" | #include "utility/pdb.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "input_i2s.h" | #include "input_i2s.h" | ||||
#include "output_i2s.h" | #include "output_i2s.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "input_i2s_quad.h" | #include "input_i2s_quad.h" | ||||
#include "output_i2s_quad.h" | #include "output_i2s_quad.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "input_tdm.h" | #include "input_tdm.h" | ||||
#include "output_tdm.h" | #include "output_tdm.h" | ||||
#if defined(KINETISK) | #if defined(KINETISK) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "mixer.h" | #include "mixer.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_adat.h" | #include "output_adat.h" | ||||
#if defined(KINETISK) | #if defined(KINETISK) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_dac.h" | #include "output_dac.h" | ||||
#include "utility/pdb.h" | #include "utility/pdb.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_dacs.h" | #include "output_dacs.h" | ||||
#include "utility/pdb.h" | #include "utility/pdb.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_i2s.h" | #include "output_i2s.h" | ||||
#include "memcpy_audio.h" | #include "memcpy_audio.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_i2s_quad.h" | #include "output_i2s_quad.h" | ||||
#include "memcpy_audio.h" | #include "memcpy_audio.h" | ||||
//Adapted to PT8211, Frank Bösing, Ben-Rheinland | //Adapted to PT8211, Frank Bösing, Ben-Rheinland | ||||
#include <Arduino.h> | |||||
#include "output_pt8211.h" | #include "output_pt8211.h" | ||||
#include "memcpy_audio.h" | #include "memcpy_audio.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_pwm.h" | #include "output_pwm.h" | ||||
audio_block_t * AudioOutputPWM::block_1st = NULL; | audio_block_t * AudioOutputPWM::block_1st = NULL; |
// 2015/08/23: (FB) added mute_PCM() - sets or unsets VALID in VUCP (and adjusts PARITY) | // 2015/08/23: (FB) added mute_PCM() - sets or unsets VALID in VUCP (and adjusts PARITY) | ||||
#include <Arduino.h> | |||||
#include "output_spdif.h" | #include "output_spdif.h" | ||||
#if defined(KINETISK) | #if defined(KINETISK) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "output_tdm.h" | #include "output_tdm.h" | ||||
#include "memcpy_audio.h" | #include "memcpy_audio.h" | ||||
#if defined(KINETISK) | #if defined(KINETISK) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "play_memory.h" | #include "play_memory.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "play_queue.h" | #include "play_queue.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "play_sd_raw.h" | #include "play_sd_raw.h" | ||||
#include "spi_interrupt.h" | #include "spi_interrupt.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "play_sd_wav.h" | #include "play_sd_wav.h" | ||||
#include "spi_interrupt.h" | #include "spi_interrupt.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "play_serialflash_raw.h" | #include "play_serialflash_raw.h" | ||||
#include "spi_interrupt.h" | #include "spi_interrupt.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "record_queue.h" | #include "record_queue.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "spi_interrupt.h" | #include "spi_interrupt.h" | ||||
#ifdef SPI_HAS_NOTUSINGINTERRUPT | #ifdef SPI_HAS_NOTUSINGINTERRUPT |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_dc.h" | #include "synth_dc.h" | ||||
void AudioSynthWaveformDc::update(void) | void AudioSynthWaveformDc::update(void) |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_karplusstrong.h" | #include "synth_karplusstrong.h" | ||||
static uint32_t pseudorand(uint32_t lo) | static uint32_t pseudorand(uint32_t lo) |
// Use for any purpose. If used in a commercial product, you should give me one. | // Use for any purpose. If used in a commercial product, you should give me one. | ||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
#include <Arduino.h> | |||||
#include "synth_pinknoise.h" | #include "synth_pinknoise.h" | ||||
int16_t AudioSynthNoisePink::instance_cnt = 0; | int16_t AudioSynthNoisePink::instance_cnt = 0; |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_pwm.h" | #include "synth_pwm.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_simple_drum.h" | #include "synth_simple_drum.h" | ||||
extern "C" { | extern "C" { |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_sine.h" | #include "synth_sine.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_tonesweep.h" | #include "synth_tonesweep.h" | ||||
#include "arm_math.h" | #include "arm_math.h" | ||||
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_waveform.h" | #include "synth_waveform.h" | ||||
#include "arm_math.h" | #include "arm_math.h" | ||||
#include "utility/dspinst.h" | #include "utility/dspinst.h" |
* THE SOFTWARE. | * THE SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "synth_whitenoise.h" | #include "synth_whitenoise.h" | ||||
// Park-Miller-Carta Pseudo-Random Number Generator | // Park-Miller-Carta Pseudo-Random Number Generator |