Author Topic: Cubic Spline Envelopes  (Read 3941 times)

Offline bvanoudtshoorn

  • Extreme artist
  • *****
  • Posts: 1,053
  • Gender: Male
    • Barryvan
Cubic Spline Envelopes
« on: May 14, 2007, 04:22:17 »
Just a thought... Making nice envelopes which fade out using a nice curve uses a whole lot of points (and a bit of work) at the moment. It'd be nice if the envelopes could be drawn using splines... Internally, you could still save a "rough" version of the envelope (for example, twenty to fifty points which correspond roughly to the two-point spline you've drawn). I'm thinking of the sort of things you can do in Illustrator/Inkscape... much more freedom!

It'd be even nicer if they were anti-aliased, too...

Offline LPChip

  • Administrator
  • *****
  • Posts: 5,125
  • Operating System: Windows 10 Pro x64
Cubic Spline Envelopes
« Reply #1 on: May 14, 2007, 12:09:10 »
I don't know how easy it is to make such thing, but there certainly are limitations.

I would therefor suggest to make it a 3 pointed curve. 2 points for the beginning and end of the line, and the 3rd in the middle that you can drag to form the curve. This will make the curve to be somewhat static, but it will ensure that it cannot create a curve that makes an impossible envelope.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,345
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Cubic Spline Envelopes
« Reply #2 on: May 14, 2007, 12:46:38 »
i already thought about this aswell. i also thought about something similar:
it should be possible to draw such splines in the "visualize effect" window to create nice fadeouts (linear fadeout is not as nice as a x² fadeout)
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.