diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-08-20 17:26:56 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-08-20 17:26:56 +0100 |
| commit | 18b3b3a7f81e03ac7833eb8b99ea9c59274f872a (patch) | |
| tree | 129c0ff46750178bf840482c08464baea71192dc /rotord/src/nodes_drawing.h | |
| parent | 1ba9ed9c71f11b638fb829ed9ff5946df09bab35 (diff) | |
fixed signal_colour, creating audio visualisation framework
Diffstat (limited to 'rotord/src/nodes_drawing.h')
| -rw-r--r-- | rotord/src/nodes_drawing.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rotord/src/nodes_drawing.h b/rotord/src/nodes_drawing.h index 91771f8..d6b7abe 100644 --- a/rotord/src/nodes_drawing.h +++ b/rotord/src/nodes_drawing.h @@ -113,6 +113,25 @@ namespace Rotor { private: Colour colour; }; + class Waves: public Draw_node { + public: + Waves(){ + title="Waves"; + description="Draws audio waveforms"; + } + Waves(map<string,string> &settings):Waves() { + base_settings(settings); + }; + ~Waves(){}; + Waves* clone(map<string,string> &_settings) { return new Waves(_settings);}; + void vector_output(cairo_t * cr,const Frame_spec &frame){ + if (frame.audio){ + + } + else cerr<<"error: visualisation audio not found"<<endl; + } + private: + }; } #endif |
