Welcome to %s forums

BrainModular Users Forum

Login Register

Save patch module or script?

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 17 Feb 2017, 22:49

Is there a way to save a patch programatically? Maybe via IML? Like the LOAD PATCH module? Except save the patch at the address, rack#, patch#?

IML is not ideal, as I would like to be able to do it from a central location (not SENDER_PATCH).... but I feel like I read about the feature somewhere?

Thoughts?
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 17 Feb 2017, 23:37

Yep, iml can do this. If I recall correctly, SAVE_PATCH ' C:Target Directorypatchname.pat ' should do it.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 18 Feb 2017, 02:01

what i pers do in such case is i make a central command script that outputs both a target bus name string, and prepare the procedural 'line message" to another output string, so this message is send to target bus using dynamic name, ie "RACK_2" then a local bus placed and named accordingly, here on rack2 named rack2, receives the instructions message and 'locally' trig a send iml module with received code, to execute, starting by set_target_patch sender_patch.
kinda 'send a code to execute locally by a target'

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 19 Feb 2017, 15:08

okay that will work. I was kind of hoping to not have to edit the destination patch (as there are several dozen patches that will have to be edited) but it's not all that big a deal..... I guess I have to decide if it's actually worth the trouble, though.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 21 Feb 2017, 03:56

Ha - ha, that works great!! And it was super easy to save the changes, because I had just AUTOMATED THE PROCEDURE!!!

thanks!!!!
-e
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify


Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests