kopia lustrzana https://github.com/kosme/arduinoFFT
Reapply PR 83 and fix typos in examples
rodzic
909240fe79
commit
1936a46549
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Example of use of the FFT libray
|
Example of use of the FFT library
|
||||||
|
|
||||||
Copyright (C) 2014 Enrique Condes
|
Copyright (C) 2014 Enrique Condes
|
||||||
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Example of use of the FFT libray to compute FFT for several signals over a range of frequencies.
|
Example of use of the FFT library to compute FFT for several signals over a range of frequencies.
|
||||||
The exponent is calculated once before the excecution since it is a constant.
|
The exponent is calculated once before the execution since it is a constant.
|
||||||
This saves resources during the excecution of the sketch and reduces the compiled size.
|
This saves resources during the execution of the sketch and reduces the compiled size.
|
||||||
The sketch shows the time that the computing is taking.
|
The sketch shows the time that the computing is taking.
|
||||||
|
|
||||||
Copyright (C) 2014 Enrique Condes
|
Copyright (C) 2014 Enrique Condes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Example of use of the FFT libray to compute FFT for a signal sampled through the ADC.
|
Example of use of the FFT library to compute FFT for a signal sampled through the ADC.
|
||||||
|
|
||||||
Copyright (C) 2018 Enrique Condés and Ragnar Ranøyen Homb
|
Copyright (C) 2018 Enrique Condés and Ragnar Ranøyen Homb
|
||||||
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Example of use of the FFT libray
|
Example of use of the FFT library
|
||||||
|
|
||||||
Copyright (C) 2018 Enrique Condes
|
Copyright (C) 2018 Enrique Condes
|
||||||
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Example of use of the FFT libray
|
Example of use of the FFT library
|
||||||
|
|
||||||
Copyright (C) 2014 Enrique Condes
|
Copyright (C) 2014 Enrique Condes
|
||||||
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Example of use of the FFT libray to compute FFT for a signal sampled through the ADC
|
Example of use of the FFT library to compute FFT for a signal sampled through the ADC
|
||||||
with speedup through different arduinoFFT options. Based on examples/FFT_03/FFT_03.ino
|
with speedup through different arduinoFFT options. Based on examples/FFT_03/FFT_03.ino
|
||||||
|
|
||||||
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
Copyright (C) 2020 Bim Overbohm (template, speed improvements)
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
"email": "bim.overbohm@googlemail.com"
|
"email": "bim.overbohm@googlemail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "2.0",
|
"version": "2.0.1",
|
||||||
"frameworks": ["arduino","mbed","espidf"],
|
"frameworks": ["arduino","mbed","espidf"],
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
"headers": "arduinoFFT.h"
|
"headers": "arduinoFFT.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=arduinoFFT
|
name=arduinoFFT
|
||||||
version=2.0
|
version=2.0.1
|
||||||
author=Enrique Condes <enrique@shapeoko.com>
|
author=Enrique Condes <enrique@shapeoko.com>
|
||||||
maintainer=Enrique Condes <enrique@shapeoko.com>
|
maintainer=Enrique Condes <enrique@shapeoko.com>
|
||||||
sentence=A library for implementing floating point Fast Fourier Transform calculations on Arduino.
|
sentence=A library for implementing floating point Fast Fourier Transform calculations on Arduino.
|
||||||
|
|
|
@ -47,7 +47,9 @@
|
||||||
// This might only work for specific use cases, but is significantly faster.
|
// This might only work for specific use cases, but is significantly faster.
|
||||||
|
|
||||||
#ifndef FFT_SQRT_APPROXIMATION
|
#ifndef FFT_SQRT_APPROXIMATION
|
||||||
#define sqrt_internal sqrt
|
#ifndef sqrt_internal
|
||||||
|
#define sqrt_internal sqrt
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum class FFTDirection { Forward, Reverse };
|
enum class FFTDirection { Forward, Reverse };
|
||||||
|
|
Ładowanie…
Reference in New Issue