Browse Source

use cmsis library for arm_math.h

main
John Robinson 3 years ago
parent
commit
452c6b6418
No known key found for this signature in database
14 changed files with 14 additions and 12 deletions
  1. +1
    -1
      include/audio/analyze_fft1024.h
  2. +1
    -1
      include/audio/analyze_fft256.h
  3. +1
    -1
      include/audio/async_input_spdif3.h
  4. +1
    -1
      include/audio/biquad.h
  5. +1
    -1
      include/audio/filter_fir.h
  6. +1
    -1
      include/audio/synth_pwm.h
  7. +1
    -1
      include/audio/synth_sine.h
  8. +1
    -1
      include/audio/synth_waveform.h
  9. +1
    -0
      library.json5
  10. +1
    -0
      package.json5
  11. +1
    -1
      src/audio/analyze_notefreq.cpp
  12. +1
    -1
      src/audio/effect_flange.cpp
  13. +1
    -1
      src/audio/synth_tonesweep.cpp
  14. +1
    -1
      src/audio/synth_waveform.cpp

+ 1
- 1
include/audio/analyze_fft1024.h View File



#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" {

+ 1
- 1
include/audio/analyze_fft256.h View File



#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" {

+ 1
- 1
include/audio/async_input_spdif3.h View File

#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



+ 1
- 1
include/audio/biquad.h View File

#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 {

+ 1
- 1
include/audio/filter_fir.h View File



#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)

+ 1
- 1
include/audio/synth_pwm.h View File



#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
{ {

+ 1
- 1
include/audio/synth_sine.h View File



#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.

+ 1
- 1
include/audio/synth_waveform.h View File



#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" {

+ 1
- 0
library.json5 View File

'teensy/serial-flash', 'teensy/serial-flash',
'teensy/sd', 'teensy/sd',
'teensy/spi', 'teensy/spi',
'cmsis/dsp',
], ],
} }

+ 1
- 0
package.json5 View File

'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',
], ],
} }

+ 1
- 1
src/audio/analyze_notefreq.cpp View File

#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



+ 1
- 1
src/audio/effect_flange.cpp View File



#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

+ 1
- 1
src/audio/synth_tonesweep.cpp View File



#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>







+ 1
- 1
src/audio/synth_waveform.cpp View File



#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"





Loading…
Cancel
Save