Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
pedal.h
Go to the documentation of this file.
1 #pragma once
2 #include <Bela.h>
3 #include "config.h"
4 
8 class Pedal {
9 
10  public:
11  Pedal(BelaContext* ctx);
20  bool get(BelaContext* ctx, us frameno) const;
21 
22 };
Pedal::Pedal
Pedal(BelaContext *ctx)
Definition: pedal.cpp:3
Pedal::get
bool get(BelaContext *ctx, us frameno) const
Get the state of the pedal. True means it is pressed.
Definition: pedal.cpp:9
us
unsigned int us
Used to much to not abbreviate.
Definition: config.h:38
config.h
Configuration parameters for connection detection.
Pedal
Class for obtaining the pedal state.
Definition: pedal.h:8