Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
Public Types | Public Member Functions | List of all members
Oscillator Class Reference

Public Types

enum  osc_type {
  sine, triangle, square, sawtooth,
  numOscTypes
}
 

Public Member Functions

 Oscillator (float frequency, float fs, unsigned int type=sine, float initialPhase=0)
 
void setup (float frequency, float fs, unsigned int type=sine, float initialPhase=0)
 
float process ()
 
unsigned int setType (unsigned int type)
 
void setFrequency (float frequency)
 
float getPhase ()
 
float getFrequency ()
 
int getType ()
 

The documentation for this class was generated from the following file: