diff --git a/lib/voicemeeter/midi.rb b/lib/voicemeeter/midi.rb new file mode 100644 index 0000000..1a3dcbe --- /dev/null +++ b/lib/voicemeeter/midi.rb @@ -0,0 +1,17 @@ +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