diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-04-10 16:57:56 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-04-10 16:57:56 +0100 |
| commit | 1e10e507d20f7f38e65672ae1a5499b84b805e62 (patch) | |
| tree | 4a1ef11b8b9dd2feb6dbd9072cdd22140f3ace01 /morpher/src/morphmesh.h | |
| parent | 1d7efc8eba12b05ad96af2c6e68ba037b2138140 (diff) | |
sequence blending working
Diffstat (limited to 'morpher/src/morphmesh.h')
| -rw-r--r-- | morpher/src/morphmesh.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/morpher/src/morphmesh.h b/morpher/src/morphmesh.h index 5293f9d..bc22c3d 100644 --- a/morpher/src/morphmesh.h +++ b/morpher/src/morphmesh.h @@ -67,12 +67,17 @@ class sequence //sequencer keeps track of playback time and start/stop of sequences //tracks is a map of time,value pairs - built in interpolation via multimap public: - sequence(string _name="",float _length=1.0,float _fadeinTime=0.0,float _fadeoutTime=0.0); + sequence(string _name="",float _length=1.0,float _fadeinTime=-2.0,float _fadeoutTime=-2.0); string name; map<string,track> tracks; vector<morphWeight> evaluate(float time); + void reset(); void start(); void stop(); + void startAt(float time); + void stopAt(float time); + void fadein(float time); + void fadeout(float time); float length; float startTime; float stopTime; |
