mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-04-17 08:33:31 +00:00
implement sendtext (VBVMR_SetParameters)
This commit is contained in:
@@ -212,6 +212,11 @@ module Voicemeeter
|
||||
got_midi
|
||||
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)
|
||||
data.each do |key, val|
|
||||
kls, index, *rem = key.to_s.split("-")
|
||||
|
||||
Reference in New Issue
Block a user