diff options
| author | Tim Redfern <tim@getdrop.com> | 2022-09-29 19:13:29 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2022-09-29 19:13:29 +0100 |
| commit | 8c43a654fdc0a0fd822fd0bd9462cdadf6d96456 (patch) | |
| tree | 888c79fc185ea4ed20d8fb120e8c6d8f7f53128c /gui/src/AudioPlotter.cpp | |
| parent | 835ce29a83b134b037c5d9d4b9fc7a7d0cb1ada4 (diff) | |
chaos chaostim/colourSegmenter
Diffstat (limited to 'gui/src/AudioPlotter.cpp')
| -rw-r--r-- | gui/src/AudioPlotter.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/src/AudioPlotter.cpp b/gui/src/AudioPlotter.cpp index 7c775fa..3c43a5d 100644 --- a/gui/src/AudioPlotter.cpp +++ b/gui/src/AudioPlotter.cpp @@ -39,8 +39,11 @@ vector <colourPolyline> Audioplotter::output(float plotscale,float plotdecay){ line.setColour((line.getColourAt(0)*fadefactor)+(((ofColor)endColour)*(1.0f-fadefactor))); if (usechaos) { + colourPolyline chaosline=compute_chaos(line); //,fadefactor); - line.mix(chaosline,chaosamount); + ofLog() << "computing chaos at "<<chaosamount<<" in: "<<line.size()<<" out: "<<chaosline.size()<<" point 0:"<<line[0].x<<","<<line[0].y; + line.mix(chaosline,chaosamount); //chaos + } |
