lfo filter sweep

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
Jah Servant
Posts: 292
Joined: Thu Mar 03, 2005 4:00 pm

lfo filter sweep

Post by Jah Servant »

well you know I must have more questions :D

I want to set an lfo to sweep a filter between the values I set, so I want to set a high and low limit on the filter and sweep between that. The thing is that the lfo likes to go from positive to negative and overiding the limits I set so it pushes the filter past where it should go. How can I make it stay on the positive side sweeping within limits?
Warp69
Posts: 679
Joined: Sun Jun 17, 2001 4:00 pm
Location: Denmark
Contact:

Re: lfo filter sweep

Post by Warp69 »

Jah Servant wrote:well you know I must have more questions :D

I want to set an lfo to sweep a filter between the values I set, so I want to set a high and low limit on the filter and sweep between that. The thing is that the lfo likes to go from positive to negative and overiding the limits I set so it pushes the filter past where it should go. How can I make it stay on the positive side sweeping within limits?
lfo_out * 0.5 + 0.5 = range [0;1]

You could use the Mix 2 module for that - remember that 0.5 is 1073741824

If you need another range than [0;1] then scale the values 0.5.
Post Reply