Modular Thing Controller subpatch


#1

Hey communitaaaaaaaay :innocent:

I have been working on a patch for the Modular thing add on, that is supposed to give it more functions pr. knob. Basically I am trying to set up a knob matrix a bit similar to Blofelds, where you have 4 “master knobs" that can be routed to different destinations. For example have a layer for filter and a layer for oscillators one for effects, etc.

I have got the setup working, but there is one thing I haven’t been able to tackle yet. When I have a layer selected and switch to another layer, and then switch back to the first layer, the first layer will automatically jump to the new value that the master knob send to the other layer. This is not so good, cause it will make drastic, unwanted changes to the sound. Would be much better if the master knob only takes over when the value of first layer knob is reached. WHat is this called soft take over? Or hooking?

So ok, I thought i’d try to use the hook object to sort this out. But the problem is when you change layer on the multiplexer away from the hook object, there is no input fed to the hook object anymore and it will automatically jump to zero. It doesn’t hold the value if no input is fed to it. I have tried setting it up in numerous ways, using demux sh from com.lib. and also tried making my own set up using demux, sample and hold, and hook object in different sequences, with hook object first or sample and hold objet first, but I just can not get a grip on how to set this up.

Anyway, here are 3 different methods, none have been succesful yes… argh…

All ideas are welcome.

FOR COMMUNITY.axp (8.9 KB)


#2

It needs to be unhooked when you switch, I have a version with an unhook input, I'll dig it out and add it to the community library when I get home.


#3

Thanks.

Will check the com.lib. later on then :wink:


#4

#5

Works exactly as supposed :wink: Thank you for the upload.


#6

great, i was just trying to do this myself!
could you please upload what you've done after including the hookmod.axo? :slight_smile:


#7

also, is there any way to control the layer selection via the modular thing buttons/knobs?


#8

Oh, I didnt make the full patch for the modular thing. Ill upload it when I have. I just got this working yesterday, so havent build the patch yet. But is pretty straight forward. Check the helpfile. Instead using the dial_1 in the helpfile to feed into the muxer, you can use a gpio/in/analog. That should work. If you have "jitter" from the pots, you can remove the most of it by using a smooth object. So gpio/in/analog to smooth, to demux. The different outpus of the demux goes to the different destinations.


#9

Try this one out. I have made a test version for the 6 knobs. You use the first button on the right to choose between layer 1 & 2. It is pretty sijple to add the last stuff from here. Or else you can also check Tom Whitwells patch on Github. It shows how to set up everything. You need to use @hellcores hookmod object for this patch to work.

There are 2 versions. One that uses the cv from the gpio directly and one that converts the gpios to midi cc. Layer 1 is midi cc 1-6 and layer 2 is midi cc 7-12.

AAAAND the updated and final version with joystick as well as the buttons included. Modular thing controller subpatch:
MODULAR THING 8.axp (80.7 KB)


#10

amazing! thank you :slight_smile: