SpectMorph
smlivedecodersource.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_LIVEDECODER_SOURCE_HH
4 #define SPECTMORPH_LIVEDECODER_SOURCE_HH
5 
6 #include "smaudio.hh"
7 
8 namespace SpectMorph {
9 
11 {
12 public:
13  virtual void retrigger (int channel, float freq, int midi_velocity, float mix_freq) = 0;
14  virtual Audio *audio() = 0;
15  virtual AudioBlock *audio_block (size_t index) = 0;
16  virtual ~LiveDecoderSource();
17 };
18 
19 }
20 #endif
Audio sample containing many blocks.
Definition: smaudio.hh:81
Block of audio data, encoded in SpectMorph parametric format.
Definition: smaudio.hh:28
Definition: smlivedecodersource.hh:10
Definition: smalignedarray.cc:7