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