MIDI switch trigger/gate convert

bluemoose
bluemoose Member Posts: 6 Newcomer
edited October 2024 in Tech Talks

Using the old Native 4Control (4-encoders, 2-momentary switches), I need to use one of the switches to toggle a MUTE function in Reaktor (without holding the swtch depressed). That is having Reaktor read only the ON state of the switch and not its OFF state.

I have not been able to find a simple way to send the CC (value 127) to the MUTE and drop the value 0.

Any help would be appreciated

Answers

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod
    edited July 2024

    Hello,

    so you need something to convert a trigger signal into a switch? Like with a t flip flop?

  • bluemoose
    bluemoose Member Posts: 6 Newcomer

    not exactly: I need something to read the ON state of the switch and bypass the OFF state

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod

    so the knob of the controller sends 127 if you press it and 0 after releasing it? And you need it to set a mute on if you press it once and set mute off after pressing the knob again?

  • bluemoose
    bluemoose Member Posts: 6 Newcomer

    … after pressing the knob/switch a second time yes. Not when releasing it. On some controllers, you can edit the type of the switch (toggle or trigger) but not on this N.I. 4Control.

    the switch is a momentary switch. That means when I press it send a 127 value (Mute ON in the patch) and when I release it send a 0 (Mute OFF). What I need is to discard the 0 / OFF value in the patch, so htat Mute remains ON until the next press of the switch.

    In other words every 127 value of the switch toggles the state of the control. Every 0 value is discarded by the patch. I guess Reaktor could provide a solution to that but I have not been able to figure it out.

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod

    Ok I will have a look tomorrow - you need some kind of bi stable relay that reacts only to a pulse of 127 that should be doable. A special flip flop.

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod

    I had no time to build something but with the H86 - flip flop core cell (manual p. 186) you should be able to build something that works. This flip flop always changes the output between 1 or 0 if a pulse is coming in, it's also a clock divider.

  • bluemoose
    bluemoose Member Posts: 6 Newcomer

    Thank you for looking into it. I am trying to locate the reference to flip flop core cell in the manuals. Can't find it. I know what a flip-flop is (I've been building electronics) but In Reaktor I cannot find the equivalent.

    Also the problem with pulses is that they have 2 edges which trigger both a 127 and a 0 value. I am just trying to get rid of the 0 value and to have my switch change state every 127 value (that is every other press on the controller button).

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod
    edited July 2024

    And this is exactly what that module is doing, it ignores the 0 and only reacts on high value, like I said - first pulse sets the output to 1 and it will stay 1 until the next pulse. And with that you can control the mute function. Sorry I forgot to mention it is in the "reaktor core manual".

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod
    edited July 2024

    so ok i could not get it to work so easy and fast as i first thought BUT you can use the "Digilog Clock Divider" module from blocks prime, set "trig/gate" to gate, send your cc to gate or learn the gate button, then on output "G2" you have the signal you need to control a mute function. But i´s an interesting problem i will try to make something easier.

    P.S. Ohh and btw. the module I described is in the core cell manual - sorry for miss guiding you

  • Uwe303
    Uwe303 Moderator Posts: 4,136 mod

    if you send cc 13 value 127 to that ens, you get on the output what you need. you have the 2 meters to show you that, as far as i tried it out it should work for your purpose. It wasn´t that complicated as i thought meanwhile.

  • bluemoose
    bluemoose Member Posts: 6 Newcomer

    Hi Uwe,

    Thanks for providing these cues. I am away from the studio but will get on it when I'm back (it's summer after all). And will let you know. Regards

  • bluemoose
    bluemoose Member Posts: 6 Newcomer

    Hi Uwe,

    That was a good idea. I finally made it to work with the Digilog Clock Divider.

    Funny though there was no simple module just passing the ON state through and not the OFF state. But anyways, it works well for my pupose. Many thanks for taking of your time to search a solution.

    Regards. Christian

    www.klong.ca

This discussion has been closed.
Back To Top