Skip to content

Commit 864e926

Browse files
committed
multi variants of a few commands
Signed-off-by: falkTX <falktx@falktx.com>
1 parent ac9b6e2 commit 864e926

File tree

6 files changed

+873
-259
lines changed

6 files changed

+873
-259
lines changed

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The commands supported by mod-host are:
112112
instance_number must be any value between 0 ~ 9990, inclusively
113113

114114
remove <instance_number>
115-
* remove an LV2 plugin instance (and also the jack client)
115+
* remove an LV2 plugin instance, and also the jack client
116116
e.g.: remove 0
117117
when instance_number is -1 all plugins will be removed
118118

@@ -295,6 +295,45 @@ The commands supported by mod-host are:
295295
output_data_ready
296296
* report feedback port ready for more messages
297297

298+
multi_add <instance_count> <lv2_uri,instance_number...>
299+
* add an LV2 plugin encapsulated as a jack client, in activated state (multiple instance variant)
300+
e.g.: multi_add 2 "http://lv2plug.in/plugins/eg-amp" 0 "http://lv2plug.in/plugins/eg-amp" 1
301+
instance_number must be any value between 0 ~ 9990, inclusively
302+
!EXPERIMENTAL!
303+
304+
multi_remove <instance_count> <instance_number...>
305+
* remove an LV2 plugin instance, and also the jack client (multiple instance variant)
306+
e.g.: multi_remove 2 0 1
307+
!EXPERIMENTAL!
308+
309+
multi_activate <activate_value> <instance_count> <instance_number...>
310+
* toggle effect activated state (multiple instance variant)
311+
e.g.: multi_activate 0 2 0 1
312+
if activate_value = 1 activate effect
313+
if activate_value = 0 deactivate effect
314+
315+
multi_preload <instance_count> <lv2_uri,instance_number...>
316+
* add an LV2 plugin encapsulated as a jack client, in deactivated state (multiple instance variant)
317+
e.g.: multi_preload 2 "http://lv2plug.in/plugins/eg-amp" 0 "http://lv2plug.in/plugins/eg-amp" 1
318+
instance_number must be any value between 0 ~ 9990, inclusively
319+
!EXPERIMENTAL!
320+
321+
multi_bypass <bypass_value> <instance_count> <instance_number...>
322+
* toggle effect processing (multiple instance variant)
323+
e.g.: multi_bypass 0 2 0 1
324+
if bypass_value = 1 bypass effect
325+
if bypass_value = 0 process effect
326+
327+
multi_param_set <param_symbol> <param_value> <instance_count> <instance_number...>
328+
* set the value of a control port (multiple instance variant)
329+
* must be instances of the same plugin
330+
e.g.: multi_param_set "gain" 2.5 2 0 1
331+
332+
multi_params_flush <reset_value> <instance_count> <instance_number...> <param_count> <params...>
333+
* flush several param values at once and trigger reset if available (multiple instance variant)
334+
* reset value must be according to reset property spec
335+
e.g.: multi_params_flush 1 2 0 1 2 "gain" 0.0 "distortion" 0.5
336+
298337
help
299338
* show a help message
300339

0 commit comments

Comments
 (0)