Mercurial > hg > beaglert
diff projects/d-box/FeedbackOscillator.h @ 50:be427da6fb9c newapi
Removed old testing code that stopped audio after 10 seconds; command line parameter updates; D-Box updates (not fully working yet)
author | andrewm |
---|---|
date | Sat, 30 May 2015 12:34:32 -0500 |
parents | 8a575ba3ab52 |
children |
line wrap: on
line diff
--- a/projects/d-box/FeedbackOscillator.h Thu May 28 17:48:42 2015 -0400 +++ b/projects/d-box/FeedbackOscillator.h Sat May 30 12:34:32 2015 -0500 @@ -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; }