synththing-plusplus/src/synths/fm2.h

35 lines
480 B
C++

/*
* Filename: fm2.h
*
* Description:
*
*
* Version:
* Created: Fri Nov 1 01:43:31 2019
* Revision: None
* Author: Rachel Fae Fox (foxiepaws),fox@foxiepa.ws
*
*/
#ifndef _H_FM2
#define _H_FM2
#include "fm/core.h"
class FM2 {
public:
FM::Operator carrier;
FM::Operator modulator;
bool gate;
float freq;
unsigned int algorithm;
float run();
FM2();
private:
unsigned int sample_rate;
unsigned long t;
}
#endif