summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-05-09 09:36:03 +0100
committerTim Redfern <tim@eclectronics.org>2014-05-09 09:36:03 +0100
commitf3a687d33486a3d7a644a2110291124cb813cd67 (patch)
tree4a1ff7000bb3404844f3293af27b8d2fd56a16f7 /rotord/src/rotor.h
parentad1c66acec6575ecd078336ee18016c5f4748084 (diff)
making json loader safer
Diffstat (limited to 'rotord/src/rotor.h')
-rw-r--r--rotord/src/rotor.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 009348a..f54f80d 100644
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -533,6 +533,24 @@ namespace Rotor {
unsigned char *lut;
};
//actual nodes-------------------------------------------------
+ class Signal_retimer: public Signal_node {
+ Signal_retimer(){
+ create_signal_input("Signal input","Signal input");
+ create_parameter("transition_length","number","transition length","Transition length",1.0,0.0,0.0);
+ title="Signal retimer";
+ description="Time stretch and offset an image node";
+ NODEID="f2e0f178-98b7-11e3-aa34-b7b96e4d9fa6";
+ }
+ };
+ class Video_retimer: public Image_node {
+ Video_retimer(){
+ create_image_input("Image input","Image input");
+ create_parameter("transition_length","number","transition length","Transition length",1.0,0.0,0.0);
+ title="Video retimer";
+ description="Time stretch and offset an image node";
+ NODEID="ca071ff2-98b7-11e3-9fbf-5705e7dfbef4";
+ }
+ };
#define CYCLER_cut 1
#define CYCLER_mix 2
#define CYCLER_seconds 1
@@ -559,7 +577,7 @@ namespace Rotor {
//
//how else?
//q: how to create a relative timeline from a segment?
- //a: you need the begiining and end points to calculate the duration
+ //a: you need the beginning and end points to calculate the duration
//
//q: where do we have this info/ where do we get it?
//a: only in the node that generated it?