comparison examples/d-box/DBoxSynth.h @ 300:dbeed520b014 prerelease

Renamed projects to examples
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 13:58:20 +0100
parents projects/d-box/DBoxSynth.h@8a575ba3ab52
children
comparison
equal deleted inserted replaced
297:a3d83ebdf49b 300:dbeed520b014
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_ */