voicemeeter-rb/main.rb

22 lines
504 B
Ruby
Raw Normal View History

2023-07-21 09:34:26 +01:00
require "voicemeeter"
class Main
def run
2023-08-09 17:43:29 +01:00
Voicemeeter::Remote.new(:banana).run do |vm|
2023-07-21 09:34:26 +01:00
vm.strip[0].label = "podmic"
vm.strip[0].mute = true
puts "strip 0 #{vm.strip[0].label} mute was set to #{vm.strip[0].mute}"
vm.bus[3].gain = -6.3
vm.bus[4].eq.on = true
info = [
"bus 3 gain has been set to #{vm.bus[3].gain}",
"bus 4 eq has been set to #{vm.bus[4].eq.on}"
]
puts info
end
end
end
Main.new.run if $PROGRAM_NAME == __FILE__