#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
// windows.c | // windows.c | ||||
extern "C" { | extern "C" { |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
// windows.c | // windows.c | ||||
extern "C" { | extern "C" { |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/DMAChannel.h> | #include <core/DMAChannel.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
//#define DEBUG_SPDIF_IN //activates debug output | //#define DEBUG_SPDIF_IN //activates debug output | ||||
#define biquad_coeffs_h_ | #define biquad_coeffs_h_ | ||||
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
#include <type_traits> | #include <type_traits> | ||||
enum class BiquadType { | enum class BiquadType { |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
// Indicates that the code should just pass through the audio | // Indicates that the code should just pass through the audio | ||||
// without any filtering (as opposed to doing nothing at all) | // without any filtering (as opposed to doing nothing at all) |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
class AudioSynthWaveformPWM : public AudioStream | class AudioSynthWaveformPWM : public AudioStream | ||||
{ | { |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
// TODO: investigate making a high resolution sine wave | // TODO: investigate making a high resolution sine wave | ||||
// using Taylor series expansion. | // using Taylor series expansion. |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include <core/AudioStream.h> | #include <core/AudioStream.h> | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
// waveforms.c | // waveforms.c | ||||
extern "C" { | extern "C" { |
'teensy/serial-flash', | 'teensy/serial-flash', | ||||
'teensy/sd', | 'teensy/sd', | ||||
'teensy/spi', | 'teensy/spi', | ||||
'cmsis/dsp', | |||||
], | ], | ||||
} | } |
'teensy-serial-flash^1.0.0', | 'teensy-serial-flash^1.0.0', | ||||
'teensy-sd^1.2.2', | 'teensy-sd^1.2.2', | ||||
'teensy-spi^1.0.0', | 'teensy-spi^1.0.0', | ||||
'cmsis^5.7.0', | |||||
], | ], | ||||
} | } |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include "audio/analyze_notefreq.h" | #include "audio/analyze_notefreq.h" | ||||
#include "audio/utility/dspinst.h" | #include "audio/utility/dspinst.h" | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
#define HALF_BLOCKS AUDIO_GUITARTUNER_BLOCKS * 64 | #define HALF_BLOCKS AUDIO_GUITARTUNER_BLOCKS * 64 | ||||
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include "audio/effect_flange.h" | #include "audio/effect_flange.h" | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
/******************************************************************/ | /******************************************************************/ | ||||
// A u d i o E f f e c t F l a n g e | // A u d i o E f f e c t F l a n g e |
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include "audio/synth_tonesweep.h" | #include "audio/synth_tonesweep.h" | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
#include <core/Arduino.h> | #include <core/Arduino.h> | ||||
#include "audio/synth_waveform.h" | #include "audio/synth_waveform.h" | ||||
#include <core/arm_math.h> | |||||
#include <arm_math.h> | |||||
#include "audio/utility/dspinst.h" | #include "audio/utility/dspinst.h" | ||||