summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_drawing.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/nodes_drawing.h')
-rw-r--r--rotord/src/nodes_drawing.h19
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