synththing-plusplus/src/synths/basic.h

34 lines
494 B
C++

/*
* Filename: basic.h
*
* Description:
*
*
* Version:
* Created: Fri Nov 1 01:24:58 2019
* Revision: None
* Author: Rachel Fae Fox (foxiepaws),fox@foxiepa.ws
*
*/
#ifndef _H_BASIC
#define _H_BASIC
#include "../common.h"
#include "../utils/envelope.h"
class Basic {
public:
float freq;
Waveform shape;
int gate;
Envelope env;
float pwm;
float amp;
Basic(Waveform,Envelope);
float run();
private:
unsigned long t;
};
#endif