 (afterglow.show/set-variable! :lightness-max-general-percent 0.5)
 (afterglow.show/set-variable! :lightness-max-front-percent 0.2)
 (afterglow.show/set-variable! :use-hue-chase false)
+(afterglow.show/set-variable! :osc-beat-ratio 4)
 
 (defn light-sawtooth-phase
   "Change light of fixtures with phase shift. WIP."

    (cues/cue :color  (fn [_] (afterglow.effects/scene
      "Sawtooth All"
      (let [light-param (params/build-oscillated-param
        (oscillators/sawtooth :interval :beat :interval-ratio :beat-ratio :osc-beat-ratio :down? true) :min :lightness-min-general :max :lightness-max-general)]
        (global-color-effect (params/build-color-param :h :main-hue :s 100 :l light-param))
      )
    ))))

      :short-name "MIDI"
      )
    )
)

(new-cues)