Skip to content
Permalink
Browse files

mixer: fix clear params (interpolate correctly on knob movement after…

… clear)
  • Loading branch information...
mmckegg committed Nov 27, 2017
1 parent 6c03bc1 commit 324cc2615433a3a6e37b57007eb55f4e485d3887
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/param-looper.js
@@ -77,8 +77,8 @@ function ParamLooper (context, value) {
playing,
set: function (value) {
playing.set(false)
outputParam.linearRampToValueAtTime(value, context.audio.currentTime + 0.01)
paramState.interpolatingFrom = value
outputParam.cancelAndHoldAtTime(context.audio.currentTime)
outputParam.linearRampToValueAtTime(value, context.audio.currentTime + 0.02)
},
currentValue: outputParam,
destroy: function () {

0 comments on commit 324cc26

Please sign in to comment.
You can’t perform that action at this time.