Mercurial > hg > beaglert
diff projects/d-box/FeedbackOscillator.h @ 67:472e892c6e41
Merge newapi into default
author | Andrew McPherson <a.mcpherson@qmul.ac.uk> |
---|---|
date | Fri, 17 Jul 2015 15:28:18 +0100 |
parents | be427da6fb9c |
children |
line wrap: on
line diff
--- a/projects/d-box/FeedbackOscillator.h Sun Feb 08 00:20:01 2015 +0000 +++ b/projects/d-box/FeedbackOscillator.h Fri Jul 17 15:28:18 2015 +0100 @@ -8,8 +8,6 @@ #ifndef FEEDBACKOSCILLATOR_H #define FEEDBACKOSCILLATOR_H -#include <stdint.h> - class FeedbackOscillator { public: @@ -21,7 +19,7 @@ // Process one sample and store the output value // Returns the length of table to interpolate; or 0 if nothing to process further - int process(uint16_t input, uint16_t *output); + int process(float input, float *output); float *wavetable() { return wavetableRead; }