voicemeeter-rb/lib/voicemeeter/midi.rb

18 lines
240 B
Ruby

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