andrewm@0: /* andrewm@0: * SimpleSynth.h andrewm@0: * andrewm@0: * Created on: Oct 22, 2013 andrewm@0: * Author: Victor Zappi andrewm@0: */ andrewm@0: andrewm@0: #ifndef DBOXSYNTH_H_ andrewm@0: #define DBOXSYNTH_H_ andrewm@0: andrewm@0: #include andrewm@0: #include andrewm@0: #include andrewm@0: #include andrewm@0: andrewm@0: #include "Synth.h" andrewm@0: andrewm@0: andrewm@0: class DBoxSynth : public Synth andrewm@0: { andrewm@0: public: andrewm@0: DBoxSynth(unsigned int rate, unsigned long buffer_size); andrewm@0: double getSample(); andrewm@0: double *getBlock(int block_size); andrewm@0: andrewm@0: andrewm@0: private: andrewm@0: Sampler *smp; andrewm@0: andrewm@0: }; andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: #endif /* DBOXSYNTH_H_ */