mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 15:00:46 +00:00
implement sendtext (VBVMR_SetParameters)
This commit is contained in:
parent
8a4ddee37d
commit
910c480efd
@ -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("-")
|
||||
|
Loading…
Reference in New Issue
Block a user