Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
Loading...
Searching...
No Matches
Oscillator Class Reference

Public Types

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

Public Member Functions

 Oscillator (float fs, Oscillator::Type type=sine)
void setup (float fs, Oscillator::Type type=sine)
float process ()
float process (float frequency)
void setType (Oscillator::Type type)
void setFrequency (float frequency)
void setPhase (float phase)
float getPhase ()
float getFrequency ()
int getType ()

Detailed Description


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