SpectMorph
smlivedecodersource.hh
1 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl-2.1.html
2 
3 #ifndef SPECTMORPH_LIVEDECODER_SOURCE_HH
4 #define SPECTMORPH_LIVEDECODER_SOURCE_HH
5 
6 #include "smaudio.hh"
7 #include "smrtmemory.hh"
8 
9 namespace SpectMorph {
10 
12 {
13 public:
14  virtual void retrigger (int channel, float freq, int midi_velocity) = 0;
15  virtual Audio *audio() = 0;
16  virtual bool rt_audio_block (size_t index, RTAudioBlock& rt_audio_block) = 0;
17  virtual ~LiveDecoderSource();
18 };
19 
20 }
21 #endif
Audio sample containing many blocks.
Definition: smaudio.hh:80
Definition: smlivedecodersource.hh:12
Definition: smrtmemory.hh:139