You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However it's incomplete. The algorithm mentioned the k'th element of the curve and how that relates to the input to compute the output. The interpolation is specified, but not how k is computed. Seems like we've dropped that somehow. It's probably pretty clear, but we should say how it's computed.
The text was updated successfully, but these errors were encountered:
Clarify the interpolation algorithm which was missing a method of how
to compute `k`. We refine the algorithm to show how `k` is computed.
This required some small rearrangement of the computations.
This is based on how Chrome actually does the interpolation.
Describe the issue
In https://webaudio.github.io/web-audio-api/#dom-waveshapernode-curve, there's an algorithm showing how the interpolation of the curve works for a
WaveShaperNode
.However it's incomplete. The algorithm mentioned the k'th element of the curve and how that relates to the input to compute the output. The interpolation is specified, but not how
k
is computed. Seems like we've dropped that somehow. It's probably pretty clear, but we should say how it's computed.The text was updated successfully, but these errors were encountered: