diff options
| author | Tim Redfern <tim@getdrop.com> | 2018-06-22 07:58:04 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2018-06-22 07:58:04 +0100 |
| commit | 54a6478fcdeaadc12c753adf73b171979808fd9e (patch) | |
| tree | 21ea1dd17a4e5a8cd3516d1ddc6eaeac1f6a54af /gui/src/AudioPlotter.h | |
| parent | 875fb2f138af8472595aa6de9f5de99e3ffe30ff (diff) | |
working on gui
Diffstat (limited to 'gui/src/AudioPlotter.h')
| -rw-r--r-- | gui/src/AudioPlotter.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gui/src/AudioPlotter.h b/gui/src/AudioPlotter.h index 9cd37ae..57f25ad 100644 --- a/gui/src/AudioPlotter.h +++ b/gui/src/AudioPlotter.h @@ -3,6 +3,61 @@ #include "lineTransformer.h" +class AChaosplugin{ + public: + AChaosBase* plugin; + vector <REAL> params; + string name; + AChaosplugin(AChaosBase* _plugin,string _name,vector <REAL> _params={0,0,0,0,0,0}){ + plugin=_plugin; + params=_params; + name=_name; + } +}; + +class Chaos{ + public: + vector <AChaosplugin> plugins; + vector <vector <REAL>> params; + Chaos(){ + plugins.push_back(AChaosplugin(new AChaosBaker(),"Baker")); + plugins.push_back(AChaosplugin(new AChaosClifford(),"Clifford")); + plugins.push_back(AChaosplugin(new AChaosCollatz(),"Collatz")); + plugins.push_back(AChaosplugin(new AChaosDuffing(),"Duffing")); + plugins.push_back(AChaosplugin(new AChaosGinger(),"Ginger")); + plugins.push_back(AChaosplugin(new AChaosHenon(),"Henon")); + } +}; + +/* + vector <string> names = { + "Baker", + "Clifford", + "Collatz", + "Duffing", + "Ginger", + "Henon", + "HenonF", + "HenonHeilles", + "HenonPhase", + "Ikeda", + "Jong", + "Logistic", + "Logistic1", + "Lorenz", + "LorenzEuler", + "Lyapunov", + "NavierStokes", + "NavierStokesEuler", + "Rossler", + "Stein", + "Stein1", + "Torus", + "Verhulst" + }; +} +*/ + class Audioplotter{ //store and draw a numbr of audio samples //how best to handle transforms - maybe pass in a transform to be added to 2nd and subsequent |
