Implementing and testing real-time calculations

Hi all,

I am new to real-time signal processing and am looking for guidance on how to begin. I am hoping implement a bandpass and an average ear reference. 
I am hoping to avoid testing my code on humans so I am looking into the possibility of using the GUI's 'playback' from file feature to read in a pre-existing file in real-time while also applying my chosen filters. 
I realize that the GUI has a bandpass option but I'm ultimately looking to embed these filters on the 32-bit board. 

Best,
Aj

Comments

  • biomurphbiomurph Brooklyn, NY
    Hi Aj,

    Please check out this thread
    for other folks working with on-board signal processing with the 3bit board
  • Note that the GUI "playback" mode only happens on the PC...the OpenBCI hardware is not involved in any way.  So, if you're looking to prototype your new OpenBCI code (as it runs on the hardware), the playback isn't going to help.

    You can, however, prototype your algorithms in the Processing GUI itself.  Then, the playback mode will be helpful.  Unfortunately, if you do your prototyping in Processing, you'll have to write it in Processing (ie, Java).  If your eventual target is to have it run on the OpenBCI hardware, you'll then have to be re-write it in C or C++.

    Chip
  • Hi Chip,

    Thanks for your reply- I'm aiming to prototype the algorithm and I'm glad this is an option. Presently I'm aiming to prototype it in MATLAB (I'm more fluent in it than Java) using FieldTrip to simulate a data stream from a preexisting file. While it'll take a little more research on my part, it looks like MATLAB can convert to C++ without too much pain.

    Aj
Sign In or Register to comment.