Welcome to %s forums

BrainModular Users Forum

Login Register

matrix combobox?

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

Unread post by woodslanding » 15 Jul 2013, 20:04

Wondering what's involved in updating from v5.... I replaced 'result' in the script, but there is a lot of IML, which is not supported in HH?

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

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 15 Jul 2013, 20:59

the IML is implemented in HH just few changes in the declarations.
you have to replace SendInternalMsg by SendInternalMsg1, SendInternalMsg2, etc according the number of parameters.
senso++

Code: Select all

  SendUsineMsg (msg:string);  
  SendInternalMsg1(msg:string); 
  SendInternalMsg2(msg,arg1:string);
  SendInternalMsg3(msg,arg1,arg2:string);
  SendInternalMsg4(msg,arg1,arg2,arg3:string);
  SendInternalMsg5(msg,arg1,arg2,arg3,arg4:string);   
  SendInternalMsg6(msg,arg1,arg2,arg3,arg4,arg6:string);
 
  function GetVariableString(name:string):string;
  function GetVariableInteger(name:string):integer;
  function GetVariableFloat(name:string):double;

Examples

  SendInternalMsg2('SET_TARGET_PATCH','SENDER_PATCH');
  SendInternalMsg4 ('GET_VALUE',GetStringValue(Input1),GetStringValue(Input2),'THEPARAMVALUE');
  SendInternalMsg3 ('SET_VALUE','PARAM','1','THEPARAMVALUE');
  SendInternalMsg4('SET_VALUE',GetStringValue(Input1),GetStringValue(Input2),FloatTostr(GetValue(Input3)));

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 15 Jul 2013, 21:05

the script engine will be at least 5x faster in the next release.


woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 15 Jul 2013, 22:16

awesome, thanks!!!

hmmm...... I guess the new engine doesn't support overloading the constructor??
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 100 guests