comparison projects/d-box/DBoxSynth.h @ 0:8a575ba3ab52

Initial commit.
author andrewm
date Fri, 31 Oct 2014 19:10:17 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8a575ba3ab52
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_ */