mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 11:36:38 -04:00
Change baseband floats to normalize at +/-1.0.
This commit is contained in:
parent
a5ed3b20b4
commit
ef86848139
10 changed files with 35 additions and 26 deletions
|
@ -72,7 +72,7 @@ constexpr size_t log_2(const size_t n, const size_t p = 0) {
|
|||
float fast_log2(const float val);
|
||||
float fast_pow2(const float val);
|
||||
|
||||
float complex16_mag_squared_to_dbv_norm(const float c16_mag_squared);
|
||||
float mag2_to_dbv_norm(const float mag2);
|
||||
|
||||
inline float magnitude_squared(const std::complex<float> c) {
|
||||
const auto r = c.real();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue