Not sure how easy this stuff would be to implement in C++ and efficiently enough for audio purposes, but looks quite interesting…(Many of these shapes or similar ones already exist in HourGlass, but the page seems to suggest some tasty new ones…Scroll towards the end of the presets list on the page to see some of the more crazy shapes!)
http://www.uize.com/examples/curve-explorer.html
Allowing these many envelope segment shapes would of course make it necessary to somehow change the GUI for choosing and adjusting the shapes too…(Some months ago I did already work on a custom segment shape system but I stopped working on that as freehand drawn segment shapes are really not as efficient to work with as being able to use mathematically defined shapes with some parameters to tweak…)