2023-07-16 23:30:24 +01:00
|
|
|
module Voicemeeter
|
2023-07-27 10:58:26 +01:00
|
|
|
class Fx
|
|
|
|
include IRemote
|
2023-08-30 12:27:50 +01:00
|
|
|
extend MetaFunctions
|
|
|
|
|
2023-07-16 23:30:24 +01:00
|
|
|
attr_reader :reverb, :delay
|
|
|
|
|
|
|
|
def initialize(remote)
|
|
|
|
super
|
|
|
|
@reverb = FxReverb.new(remote)
|
|
|
|
@delay = FxDelay.new(remote)
|
|
|
|
end
|
|
|
|
|
|
|
|
def identifier
|
|
|
|
:fx
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2023-07-27 10:58:26 +01:00
|
|
|
class FxReverb
|
|
|
|
include IRemote
|
2023-08-30 12:27:50 +01:00
|
|
|
extend MetaFunctions
|
2023-07-27 10:58:26 +01:00
|
|
|
|
2023-08-30 12:27:50 +01:00
|
|
|
attr_accessor_bool :on, :ab
|
2023-07-16 23:30:24 +01:00
|
|
|
|
|
|
|
def identifier
|
|
|
|
"fx.reverb"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2023-07-27 10:58:26 +01:00
|
|
|
class FxDelay
|
|
|
|
include IRemote
|
2023-08-30 12:27:50 +01:00
|
|
|
extend MetaFunctions
|
2023-07-27 10:58:26 +01:00
|
|
|
|
2023-08-30 12:27:50 +01:00
|
|
|
attr_accessor_bool :on, :ab
|
2023-07-16 23:30:24 +01:00
|
|
|
|
|
|
|
def identifier
|
|
|
|
"fx.delay"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|