comparison examples/10-Instruments/d-box/DBoxSynth.h @ 468:85cf9c0da052 prerelease

merge
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 20 Jun 2016 17:08:02 +0100
parents 8fcfbfb32aa0
children
comparison
equal deleted inserted replaced
467:03a2cd5f151b 468:85cf9c0da052
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_ */