Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
DBoxSynth.h
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_ */
Definition: DBoxSynth.h:19