[gmpi] Re: ramped parameters

  • From: "Didier Dambrin" <didid@xxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Thu, 6 Jan 2005 04:42:00 +0100

just try it yourself. Take a volume control. Ask it to ramp for 20 samples. Will you get zipper noise? Depend on the starting & ending level. Does the host know that? Nope.

If you think that you just need a linear ramping to avoid zipper noise, without considering the change in level and the length of the ramping (and ideally, the average freq of the signal), you're wrong.





There is no minimum ramp length, or maximum slope or anything like
that, so there is nothing for the host to know.

Zipper noise is what happens when the stairstepping from
less-than-audio-rate control data hits the internals of a plugin. It
never occurs unless the control data is somehow decimated to an
insufficient sample rate before it's applied. With ramp events, hosts
have nothing to do with that, simply because the ramp events never
say anything about sample rates; they talk about values and
durations.

One could compare this to graphics; If a rasterizer can't render edges
at certain angles properly, it's not the fault of the structured
graphics data, is it? The quality of the rendered image (smoothness
of polygon edges, texture sharpness etc) depends *entirely* on the
rasterizer.

So, if a plugin produces zipper noise when fed ramp events that do not
explicitly generate the zipper noise (ie a chain of events that form
an explicit stairstepped curve), the plugin is broken.




----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: