comparison examples/10-Instruments/d-box/DBoxSynth.h @ 464:8fcfbfb32aa0 prerelease

Examples reorder with subdirectories. Added header to each project. Moved Doxygen to bottom of render.cpp.
author Robert Jack <robert.h.jack@gmail.com>
date Mon, 20 Jun 2016 16:20:38 +0100
parents
children
comparison
equal deleted inserted replaced
463:c47709e8b5c9 464:8fcfbfb32aa0
1 /*
2 * SimpleSynth.h
3 *
4 * Created on: Oct 22, 2013
5 * Author: Victor Zappi
6 */
7
8 #ifndef DBOXSYNTH_H_
9 #define DBOXSYNTH_H_
10
11 #include <iostream>
12 #include <string>
13 #include <stdio.h>
14 #include <stdlib.h>
15
16 #include "Synth.h"
17
18
19 class DBoxSynth : public Synth
20 {
21 public:
22 DBoxSynth(unsigned int rate, unsigned long buffer_size);
23 double getSample();
24 double *getBlock(int block_size);
25
26
27 private:
28 Sampler *smp;
29
30 };
31
32
33
34
35 #endif /* DBOXSYNTH_H_ */