ArrayArrayArrayArrayArrayArrayArray
BrainModularBrainModular Users Forum2011-08-06T14:37:21+02:00https://brainmodular.com/forums/app.php/feed/topic/30042011-08-06T14:37:21+02:002011-08-06T14:37:21+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20434#p20434You can't use SendInternalMessage in a fastcall context (see http://www.sensomusic.com/wiki/doku.php ... tutorial03 and search for the second occurrence of "SetFastCallBack" ). When the callback function that calls the SendInternalMessage commands is asynchronously executed in a lower prio thread (what can be configured with SetFastCallBack(MyTriggerParameter,false)) instead of directly running in the context of the audio thread then it works!
]]>2011-08-01T23:56:16+02:002011-08-01T23:56:16+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20203#p20203Statistics: Posted by nay-seven — 01 Aug 2011, 23:56
]]>
2011-08-01T23:39:25+02:002011-08-01T23:39:25+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20200#p20200Statistics: Posted by NaN — 01 Aug 2011, 23:39
]]>2011-08-01T23:29:50+02:002011-08-01T23:29:50+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20199#p20199advanced IML in the modules/script dir
Statistics: Posted by nay-seven — 01 Aug 2011, 23:29
]]>2011-08-01T23:15:20+02:002011-08-01T23:15:20+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20194#p20194Practically I am struggling with some scripting basics:
For some reason the internal "Create Module" command that I'd need does not work for me as expected in Usine Pro 5.50.58 - no new module is created. Am I doing something wrong or is the command currently not supported?
Procedure CreatePolySynth(); begin Debug('CreatePolySynth'); // just indicates that my function is called - that is the case SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH'); //SendInternalMsg('CREATE_MODULE','polysynth','6','10','10','Empty SubPatch.pat'); // does not work SendInternalMsg('CREATE_MODULE','vol','4','100','100'); // replaced the creation of the new submodule with something simpler - does not work either end;
The trace in the console looks good on first sight - just no module is created: process msg : SET_TARGET_PATCH SENDER_PATCH SET_VAR patch TARGET_PATCH_SCRIPT=ACE process msg : CREATE_MODULE vol 4 100 100
]]>2011-08-01T22:07:14+02:002011-08-01T22:07:14+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20176#p20176Maybe a script guru can go through this limitation...
Statistics: Posted by nay-seven — 01 Aug 2011, 22:07
]]>2011-08-01T21:14:14+02:002011-08-01T21:14:14+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20175#p20175 is there a way to synchronize all changes between several instances of the same VST? Effectively I want to have one "master" VST which's GUI is used to configure up to 15 copies which receive midi on distinct channels in order to get 16 really independent voices with per channel modulations etc.
On first sight it is very easy to synchronize everything that is layed out as a parameter, a Master.params->Slave.params connection does the trick. Unfortunately for many synths not all features are parameterized, they are stored per patch though so at least they have to be persisted into the preset files.
With Bidule I used the trick to store the master's configuration into a file and make all slaves reload that file when clicking a "sync" button. Is something like that (or perhaps even something without the detour over the file system) possible with Usine?
]]>BrainModularBrainModular Users Forum2011-08-06T14:37:21+02:00https://brainmodular.com/forums/app.php/feed/topic/30042011-08-06T14:37:21+02:002011-08-06T14:37:21+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20434#p20434You can't use SendInternalMessage in a fastcall context (see http://www.sensomusic.com/wiki/doku.php ... tutorial03 and search for the second occurrence of "SetFastCallBack" ). When the callback function that calls the SendInternalMessage commands is asynchronously executed in a lower prio thread (what can be configured with SetFastCallBack(MyTriggerParameter,false)) instead of directly running in the context of the audio thread then it works!
]]>2011-08-01T23:56:16+02:002011-08-01T23:56:16+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20203#p20203Statistics: Posted by nay-seven — 01 Aug 2011, 23:56
]]>2011-08-01T23:39:25+02:002011-08-01T23:39:25+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20200#p20200Statistics: Posted by NaN — 01 Aug 2011, 23:39
]]>2011-08-01T23:29:50+02:002011-08-01T23:29:50+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20199#p20199advanced IML in the modules/script dir
Statistics: Posted by nay-seven — 01 Aug 2011, 23:29
]]>2011-08-01T23:15:20+02:002011-08-01T23:15:20+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20194#p20194Practically I am struggling with some scripting basics:
For some reason the internal "Create Module" command that I'd need does not work for me as expected in Usine Pro 5.50.58 - no new module is created. Am I doing something wrong or is the command currently not supported?
Procedure CreatePolySynth(); begin Debug('CreatePolySynth'); // just indicates that my function is called - that is the case SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH'); //SendInternalMsg('CREATE_MODULE','polysynth','6','10','10','Empty SubPatch.pat'); // does not work SendInternalMsg('CREATE_MODULE','vol','4','100','100'); // replaced the creation of the new submodule with something simpler - does not work either end;
The trace in the console looks good on first sight - just no module is created: process msg : SET_TARGET_PATCH SENDER_PATCH SET_VAR patch TARGET_PATCH_SCRIPT=ACE process msg : CREATE_MODULE vol 4 100 100
]]>2011-08-01T22:07:14+02:002011-08-01T22:07:14+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20176#p20176Maybe a script guru can go through this limitation...
Statistics: Posted by nay-seven — 01 Aug 2011, 22:07
]]>2011-08-01T21:14:14+02:002011-08-01T21:14:14+02:00https://brainmodular.com/forums/viewtopic.php?t=3004&p=20175#p20175 is there a way to synchronize all changes between several instances of the same VST? Effectively I want to have one "master" VST which's GUI is used to configure up to 15 copies which receive midi on distinct channels in order to get 16 really independent voices with per channel modulations etc.
On first sight it is very easy to synchronize everything that is layed out as a parameter, a Master.params->Slave.params connection does the trick. Unfortunately for many synths not all features are parameterized, they are stored per patch though so at least they have to be persisted into the preset files.
With Bidule I used the trick to store the master's configuration into a file and make all slaves reload that file when clicking a "sync" button. Is something like that (or perhaps even something without the detour over the file system) possible with Usine?