Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
main.cpp File Reference
#include <unistd.h>
#include <iostream>
#include <cstdlib>
#include <stdio.h>
#include <libgen.h>
#include <signal.h>
#include <getopt.h>
#include <string.h>
#include "../include/Bela.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

void interrupt_handler (int var)
 
void usage (const char *processName)
 
int main (int argc, char *argv[])
 

Variables

char * PROGRAM_NAME
 default_main.cpp, the main code for starting up the Bela Audio setup. Important settings are set using command line interface. More...
 

Function Documentation

◆ interrupt_handler()

void interrupt_handler ( int  var)

Definition at line 28 of file main.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Hard-code the values required for the current connection detector, such that it does not require manual settings in the Bela GUI anymore.

Definition at line 43 of file main.cpp.

◆ usage()

void usage ( const char *  processName)

Definition at line 34 of file main.cpp.

Variable Documentation

◆ PROGRAM_NAME

char* PROGRAM_NAME

default_main.cpp, the main code for starting up the Bela Audio setup. Important settings are set using command line interface.

Changed by: J.A. de Jong to suit needs for PCV Voss Conn Detect app