voicemeeter-rb/lib/voicemeeter/midi.rb
2023-07-14 00:56:16 +01:00

18 lines
246 B
Ruby

module Voicemeeter
class Midi
attr_accessor :cache, :current, :channel
def initialize
@cache = Hash.new
end
def get(key)
cache[key]
end
def set(key, velocity)
cache[key] = velocity
end
end
end