           cutoff_min          (midicps cutoff_min)
           cutoff_max          (midicps cutoff_max)
           double_phase_offset (* 2 phase_offset)
-          ctl-wave            (select wave [(lf-saw:kr rate double_phase_offset)
-                                            (- (* 2 (lf-pulse:kr rate phase_offset pulse_width)) 1)
-                                            (lf-tri:kr rate double_phase_offset)
-                                            (sin-osc:kr rate (* phase_offset (* Math/PI 2)))])
+          ctl-wave            (select:kr wave [(lf-saw:kr rate double_phase_offset)
+                                               (- (* 2 (lf-pulse:kr rate phase_offset pulse_width)) 1)
+                                               (lf-tri:kr rate double_phase_offset)
+                                               (sin-osc:kr rate (* phase_offset (* Math/PI 2)))])
           ctl-wave-mul        (- (* 2 (> invert_wave 0)) 1)
 
           cutoff-freq         (lin-exp (* ctl-wave-mul ctl-wave) -1 1 cutoff_min cutoff_max)
 
           [in-l in-r]         (in out_bus 2)
 
-          new-l               (select filter [(rlpf in-l cutoff-freq res)
-                                              (rhpf in-l cutoff-freq res)])
-          new-r               (select filter [(rlpf in-r cutoff-freq res)
-                                              (rhpf in-r cutoff-freq res)])
+          new-l               (select:ar filter [(rlpf in-l cutoff-freq res)
+                                                 (rhpf in-l cutoff-freq res)])
+          new-r               (select:ar filter [(rlpf in-r cutoff-freq res)
+                                                 (rhpf in-r cutoff-freq res)])
           fin-l               (x-fade2 in-l new-l (- (* mix 2) 1) amp)
           fin-r               (x-fade2 in-r new-r (- (* mix 2) 1) amp)]
       (replace-out out_bus [fin-l fin-r])))

          freq            (midicps note)
          env             (env-gen (env-adsr-ng attack decay sustain release attack_level sustain_level) :action FREE)

          snd             (rlpf (select wave [(saw freq) (pulse freq pulse_width) (lf-tri freq)])
                                (+ cutoff-min-freq (* env cutoff-freq))
                                res)
          snd             (* env snd)]

          cutoff_min          (midicps cutoff_min)
          cutoff_max          (midicps cutoff_max)
          double_phase_offset (* 2 phase_offset)
          ctl-wave            (select:kr wave [(lf-saw:kr rate double_phase_offset)
                                               (- (* 2 (lf-pulse:kr rate phase_offset pulse_width)) 1)
                                               (lf-tri:kr rate double_phase_offset)
                                               (sin-osc:kr rate (* phase_offset (* Math/PI 2)))])
          ctl-wave-mul        (- (* 2 (> invert_wave 0)) 1)

          cutoff-freq         (lin-exp:kr (* ctl-wave-mul ctl-wave) -1 1 cutoff_min cutoff_max)

          [in-l in-r]         (in in_bus 2)

          new-l               (select:ar filter [(rlpf in-l cutoff-freq res)
                                                 (rhpf in-l cutoff-freq res)])
          new-r               (select:ar filter [(rlpf in-r cutoff-freq res)
                                                 (rhpf in-r cutoff-freq res)])
          fin-l               (x-fade2 in-l new-l (- (* mix 2) 1) amp)
          fin-r               (x-fade2 in-r new-r (- (* mix 2) 1) amp)]
      (out out_bus [fin-l fin-r])))
