Voss Connection Detection
1
Detect a connector click using realtime code on Bela hardware
|
#include <string>
#include <array>
#include <Bela.h>
#include <libraries/Gui/Gui.h>
#include <libraries/WriteFile/WriteFile.h>
#include "config.h"
#include <libraries/Pipe/Pipe.h>
Go to the source code of this file.
Classes | |
class | LogFile< num_cols > |
A class for opening a logfile, and writing data to a log. More... | |
Functions | |
bool | StartupSanityChecks (BelaContext *context) |
Perform sanity checks on startup, for the parameters that should be set properly in 'settings'. Mainly checks for the sampling frequency and the number of channels. More... | |
std::vector< std::string > | list_dir (const char *path) |
List the contents of a directory path, and return the contents. More... | |
time_t | last_modification_time (const std::string &filepath) |
Determine the last modification time of a file and returns it as a time_t value. More... | |
double | retrieveAsNumber (JSONObject &json, const std::string &str) |
Searches for the key str in the JSON object and returns a the number. Throws a runtime error if the key is not found, or it is not a number. More... | |