voicemeeter-rb/lib/voicemeeter/fx.rb
2023-07-27 10:58:26 +01:00

45 lines
620 B
Ruby

require_relative "iremote"
module Voicemeeter
class Fx
include IRemote
attr_reader :reverb, :delay
def initialize(remote)
super
@reverb = FxReverb.new(remote)
@delay = FxDelay.new(remote)
end
def identifier
:fx
end
end
class FxReverb
include IRemote
def initialize(remote)
super
make_accessor_bool :on, :ab
end
def identifier
"fx.reverb"
end
end
class FxDelay
include IRemote
def initialize(remote)
super
make_accessor_bool :on, :ab
end
def identifier
"fx.delay"
end
end
end