You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "oscillator.h"
|
|
|
|
Oscillator::Oscillator() {
|
|
mode = MODE_SAW;
|
|
phase = 0;
|
|
phaseStep = (440 * 2 * M_PI) / 44100;
|
|
value = 0;
|
|
driftAmount = 0.005;
|
|
driftValue = 0;
|
|
} |