synthberry
Software MIDI synthesizer for the Raspberry Pi.
 All Classes Functions
basicwave.h
1 #ifndef BASICWAVE_H
2 #define BASICWAVE_H
3 
4 #include "wave.h"
5 
13 template <class SampleType> class BasicWave : public Wave<SampleType>
14 {
15 public:
16  BasicWave(uint16_t bitrate);
17  ~BasicWave();
18  SampleType getNextSample();
19  // TODO EnvelopedWave<SampleType> toEnvelopedWave();
20 
21 private:
22  std::size_t position;
23 };
24 
25 #endif // BASICWAVE_H