Skip to content

examples and wrappers for using core FFT algorithms #5

@jerabaul29

Description

@jerabaul29

Hi,

First, thank you for releasing this very exciting board.

This issue may be better posted at another place; if this is the case, please just let me know and I will move it.

I see that the processor supports taking FFTs in an effective way:

https://github.com/sparkfun/OpenLog_Artemis_Geophone_Logger/blob/master/Firmware/OpenLog_Artemis_Geophone_Logger/Geophone.ino

However, there is still quite a bit of low level "obfuscation" for n00bs like me to use it.

Would it be possible to get a few wrappers that provide a dead simple interface to take a FFT on some data, for example something like:

constexpr size_t fft_size = 512;

class FFT_Analyzer{
  public:
    float16_t timeseries_in_real[fft_size];
    float16_t timeseries_in_complex[fft_size];
    float16_t fft_out_real[fft_size];
    float16_t fft_out_complex[fft_size];
    void perform_fft(void);
};

or something like this, which would simply perform the fft analysis from the timeseries_in into the fft_out, with documentation of what the admissible buffer sizes are, and other possible tricks and tips?

Many thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions