ArrayArrayArray BrainModular BrainModular Users Forum 2011-09-21T09:20:55+02:00 https://brainmodular.org/forums/app.php/feed/topic/3160 2011-09-21T09:20:55+02:00 2011-09-21T09:20:55+02:00 https://brainmodular.org/forums/viewtopic.php?t=3160&p=21344#p21344 <![CDATA[Another take on soft take over]]>

Statistics: Posted by caco — 21 Sep 2011, 09:20


]]>
2011-09-20T22:36:44+02:00 2011-09-20T22:36:44+02:00 https://brainmodular.org/forums/viewtopic.php?t=3160&p=21339#p21339 <![CDATA[Another take on soft take over]]>
Image

The connection between the visible fader and the sub-patch:

Image

I guess that something smart could be done with templates when adding faders or knobs to automate the connections, but I have never really delved deep into that.

If you don't mind spending a bit more CPU, you can also easily change the fader colour depending on where the MIDI fader's value is compared to the interface fader's value. Connect the Colour outlet from the sub-patch the the fader's color inlet.

Image

Statistics: Posted by bsork — 20 Sep 2011, 22:36


]]>
2011-09-19T17:21:18+02:00 2011-09-19T17:21:18+02:00 https://brainmodular.org/forums/viewtopic.php?t=3160&p=21315#p21315 <![CDATA[Another take on soft take over]]>
Before it was introduced as an option in Usine, I tried to create some scripts to simulate a soft take over behaviour that I liked without success. But now - as I'm creating a workspace where I need both smooth and rapid changes - the new equation module started me thinking anew, and I think I've found a good compromise between smooth and rapid, and it's easy on CPU too. (Not that this couldn't be done with standard modules, it's just that being able to use a good, old IF-statement made me think again.)
Image

I'm using different checks:
- abs(b-c)<=d*.02: A small percentage of the max (or max-min) value to have a margin where the slave will snap to master.
- a==c: The previous master value equals the current slave value.
- (a<c and c<b) or (a>c and c>b): The master values have "crossed" the slave value.

If one of the above conditions is met, the slave receives the master's value, otherwise it gets its own value.

The down side I can see to this approach, is that the physical controller sending the CC values might have been moved since the last update of the patch values, either because some other preset has been used sending some other CC message, or that the patch has been turned off, but I can live with that.

The Soft Take Over option obviously has to be turned off in setup for this to work.

Statistics: Posted by bsork — 19 Sep 2011, 17:21


]]>
BrainModular BrainModular Users Forum 2011-09-21T09:20:55+02:00 https://brainmodular.org/forums/app.php/feed/topic/3160 2011-09-21T09:20:55+02:00 2011-09-21T09:20:55+02:00 https://brainmodular.org/forums/viewtopic.php?t=3160&p=21344#p21344 <![CDATA[Another take on soft take over]]>

Statistics: Posted by caco — 21 Sep 2011, 09:20


]]>
2011-09-20T22:36:44+02:00 2011-09-20T22:36:44+02:00 https://brainmodular.org/forums/viewtopic.php?t=3160&p=21339#p21339 <![CDATA[Another take on soft take over]]>
Image

The connection between the visible fader and the sub-patch:

Image

I guess that something smart could be done with templates when adding faders or knobs to automate the connections, but I have never really delved deep into that.

If you don't mind spending a bit more CPU, you can also easily change the fader colour depending on where the MIDI fader's value is compared to the interface fader's value. Connect the Colour outlet from the sub-patch the the fader's color inlet.

Image

Statistics: Posted by bsork — 20 Sep 2011, 22:36


]]>
2011-09-19T17:21:18+02:00 2011-09-19T17:21:18+02:00 https://brainmodular.org/forums/viewtopic.php?t=3160&p=21315#p21315 <![CDATA[Another take on soft take over]]>
Before it was introduced as an option in Usine, I tried to create some scripts to simulate a soft take over behaviour that I liked without success. But now - as I'm creating a workspace where I need both smooth and rapid changes - the new equation module started me thinking anew, and I think I've found a good compromise between smooth and rapid, and it's easy on CPU too. (Not that this couldn't be done with standard modules, it's just that being able to use a good, old IF-statement made me think again.)
Image

I'm using different checks:
- abs(b-c)<=d*.02: A small percentage of the max (or max-min) value to have a margin where the slave will snap to master.
- a==c: The previous master value equals the current slave value.
- (a<c and c<b) or (a>c and c>b): The master values have "crossed" the slave value.

If one of the above conditions is met, the slave receives the master's value, otherwise it gets its own value.

The down side I can see to this approach, is that the physical controller sending the CC values might have been moved since the last update of the patch values, either because some other preset has been used sending some other CC message, or that the patch has been turned off, but I can live with that.

The Soft Take Over option obviously has to be turned off in setup for this to work.

Statistics: Posted by bsork — 19 Sep 2011, 17:21


]]>