implement sendtext (VBVMR_SetParameters)

This commit is contained in:
onyx-and-iris 2023-08-02 14:57:28 +01:00
parent 8a4ddee37d
commit 910c480efd

View File

@ -212,6 +212,11 @@ module Voicemeeter
got_midi got_midi
end end
def sendtext(script)
raise ArgumentError, "script must not exceed 48kB" if script.length > 48000
CBindings.call(:bind_set_parameters, script)
end
def apply(data) def apply(data)
data.each do |key, val| data.each do |key, val|
kls, index, *rem = key.to_s.split("-") kls, index, *rem = key.to_s.split("-")