Skip to content

What's the interpolator ? #3

Answered by garygru
fjgaston asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, the interpolator smoothes the parameters so that there are no audible clicking noises when changing a value. kTarget is the target value (where you want to go) and kCurrent describes the current value (where you are right now). At some point e.g. after 50ms the current value has ramped to the target value.
This means you need to set the target value and read the current value. The interpolator does the rest for you. Does this make sense?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by garygru
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3 on December 09, 2020 10:21.