Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix reverb mix
  • Loading branch information
digego committed Dec 15, 2017
1 parent b900788 commit c23b68e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/core/audio_dsp.xtm
Expand Up @@ -2157,9 +2157,9 @@ but v1 and v2 can be computed in parallel"
(set! rout (lpf3 rout lpf3_g))
(set! rout (apf4 rout apf4_delay apf4_gain))))
(if (= chan 0)
(+ (* input (- 1.0 mix)) (* lout mix))
(* (+ 1.0 mix) (+ (* input (- 1.0 mix)) (* lout mix)))
(if (= chan 1)
(+ (* input (- 1.0 mix)) (* rout mix))
(* (+ 1.0 mix) (+ (* input (- 1.0 mix)) (* rout mix)))
0.0))))))


Expand Down Expand Up @@ -2241,9 +2241,9 @@ but v1 and v2 can be computed in parallel"
(set! rout (lpf3 rout lpf3_g))
(set! rout (apf4 rout apf4_delay apf4_gain))))
(if (= chan 0)
(+ (* input (- 1.0 mix)) (* lout mix))
(* (+ 1.0 mix) (+ (* input (- 1.0 mix)) (* lout mix)))
(if (= chan 1)
(+ (* input (- 1.0 mix)) (* rout mix))
(* (+ 1.0 mix) (+ (* input (- 1.0 mix)) (* rout mix)))
0.0))))))


Expand Down

0 comments on commit c23b68e

Please sign in to comment.