endless knob

Questions and discussion about building and using Max for Live devices
Post Reply
taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

endless knob

Post by taggatagga » Tue Sep 17, 2019 3:41 pm

I am looking for an assignable midi knob, that I can turn in one direction endlessly, but when it has reached the value of 127 it should go back and start outputting from 0 on again. And viceversa.

does anyone have an idea, i searched through max 4 live devices, but could not find it yet.

thank you

doubleUG
Posts: 134
Joined: Sun Apr 24, 2011 7:19 am

Re: endless knob

Post by doubleUG » Tue Sep 17, 2019 3:53 pm

<pre><code>
----------begin_max5_patcher----------
544.3ocwUssaiBCD8YhT9GP7Laj4Rnv9qrpJxDll5JhMx1vlpp8ee8EbfrEB
npntujI93Yxwm4V9X6FufR1EPD3+S+e4648gBwyfoQ7b.dAmwWNViEFGCnvu
YkuED1emDtHM3RexUPRkAR42OhhthxZk0fT9dCXYLfPUg9r65Fr73qD5oCb3
nz5QZ79cnP+8Y4ZSTg9yXzNzPPz1yDp5W071hFgZIyBaP+y1MZqxDtZsdFDB
7I3yhMJ9oIEKZdwdeklT7jQoQFSbwt82UoweaJEMkNy+pxLMIWqr+axbtlWA
T6i7moplMuZKwzSAgC1kZmSzxNMGYp0nEZmSlV8IeY0WS5fcUDb8UA0g4T7Y
XlaGkCRtSEWo6WpY3Elk6q4oHyHcZjMSr7rbClqdgRfe.n3xZ3NC5WaWD3Nn
5.VJ4jxVIL7MQe5wkezYf5Vf8hC+5EiI1IVT3DW1RIRg78548nlQOMeV9FWE
ux3xI7s209h9vWF5BroQUHzOsP2TLzW7O8FBVK+nqJ51U6OpfTABIghkDFcj
WI25zYRUCSsIW3lvSMS3EQ1d7Ti4lSIElE46iyzdZN4+77M0q+4iVyy2IxG.
g4ey7ksJ9POT9hVhu7GFcIqQdYSRWe2OtooC3h9HrLoVA9FiqOmGZOSn1y1g
0.NzQbgz6Blq1dIUqtZ41IwKYoA8Qyp.Nsk39eHsV0Ta1xpmbEMXqpLai2tQ
4veAJBQFL.
-----------end_max5_patcher-----------
</code></pre>
copy the text, open Max/Msp > File > New form Clipboard
https://docs.cycling74.com/max5/vignett ... tches.html

https://soundcloud.com/doubleUG

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Tue Sep 17, 2019 4:00 pm

Wow superfast, thanks!! That seems to be it.

Opening it in Max gives me the result, but how do I integrate this in Live, how am I supposed to export it?

chapelier fou
Posts: 4942
Joined: Mon May 15, 2006 12:15 pm

Re: endless knob

Post by chapelier fou » Tue Sep 17, 2019 4:16 pm

Drop a new midi m4l device. Click the “edit” icon. Save the device.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
iMac 27" Retina i5 3,2 GHz OS 10.11.3 L10.0.1 M4L.

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Tue Sep 17, 2019 4:24 pm

thanks, did this but no results yet. but i guess i am missing something...

i want the knob to control the value of a macro, that is ontrolling the chain selector. Isnt it possible to map the knob onto the macro?

doubleUG
Posts: 134
Joined: Sun Apr 24, 2011 7:19 am

Re: endless knob

Post by doubleUG » Tue Sep 17, 2019 6:54 pm

<pre><code>
----------begin_max5_patcher----------
2668.3oc6bs9iiaaD+y6Ab+OPHTfjB3tmndqffBjhqn3.RZJPS+PwhBCYKZs
LQlzPhdu8RPye6gOzaqGz1R64E39PVqijhyveb3LCGMS9s29l6L1PeFka.9F
vCf6t623sbmrMQK2U1vcF6iddaZTtbfFDzGoa9YiUE8wPOyjsmheBc+gnrn8
+N38Q3zpQPNtmdjkhXx2GV1rpM1mNfTz2HGmPhRM.+uxQfikSLmZ+Ena0zcH
hs8QLIYcFZKS8ptgl2atBDXGJ+wU7WKdS0SEmGvjRVvT13++suQ7K+mUW8ZO
FsCkkR+XUO6nDFIZuboY7cY3nyGN5GHBGCG7Cghktuik3GW3o3ffuxw+pjFP
An0G9.mc7QJavdDmGidBuEc9vj8fvzlHRhwJfAlvJ+oWfyRCfy0wWhe9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max5_patcher-----------
</code></pre>
copy the text, open Max/Msp > File > New form Clipboard
https://docs.cycling74.com/max5/vignett ... tches.html

https://soundcloud.com/doubleUG

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Wed Sep 18, 2019 11:12 am

Thank you for your time. That is basically exactly what I was looking for.

It worked for 5mins now it just disables the macro1, whether it is already mapped or not. I downloaded the patch again and mcreated a new effect, but the result stays the same. strange..

Also I set it up as an audio effect at first, which worked just fine controlling the macro mapped to the chain selector - for 5min.

EDIT: It works again, my audio interface must be switched on. Interesting... I really know nothing yet.
Last edited by taggatagga on Wed Sep 18, 2019 11:22 am, edited 2 times in total.

doubleUG
Posts: 134
Joined: Sun Apr 24, 2011 7:19 am

Re: endless knob

Post by doubleUG » Wed Sep 18, 2019 11:21 am

<pre><code>
----------begin_max5_patcher----------
2909.3oc6bs0iiaaE94YAx+ABgBjV.2YI0cEDTfTrEEKPSSAZ5CESBFHaQay
rxhFRzyLaBZ9sWdQWnjojkskblMXeXWqkjh7vOdtwiNm8W9h2bm0R5K3BKvW
Ad.b2c+Buk6jsIZ4tpFtyZW7KqRiKjCzZEc2NbFyZQYmL7KLYGDvV5dLfv.O
Sy+PAHi9b8fHIxgPW9S+YGTcqYG1QxRwL4DipZceLa0VR1lGywqXJZyMx4d3
BPfaj3GjGT9S38PvOpMWzCrpICJa8+8EuQ7K+mEW+1aeNdONKATfY.FED+Dg
l.hAqw3jkwq9.HkR2CVmS2Afh9Q1AheffXw6PAzLP8blRxvqnGxjSriALxN3
7wHOXn.U78C0vHWzbfQ74YIN2pgXxi2gY37GwYwKSwxI2ztx472UAAxSd2.a
wOpMkMr+MkcUyp1XebOVMQVVK.VKiy1XA9wom4frF7Q5AvN5SX.aKFjfehrB
K4Sxn7FxA4BdDwX1F+jriUa4DiZz+f02FuJm9CV.ExJ5difMi2WF9Yv6eWO7
NtlP4KP9xORBuNgtZ7Nd1yBuC9YNUNn3kIsFnKQh.ojHrkZ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yUDF.8BCUOE55LqmylBG1Cx.hoiiZPBRcHHDABj3R
HzIx1tjF6v1zTTuyzQ77P1UQd4yrluVYM6bfUVVLc0yeom+k0F2TMcWmxSkZ
R4W37Vn77yRveVB9yRvWpDbomx87+HJewa3C4+yFN28E
-----------end_max5_patcher-----------
</code></pre>
copy the text, open Max/Msp > File > New form Clipboard
https://docs.cycling74.com/max5/vignett ... tches.html

https://soundcloud.com/doubleUG

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Wed Sep 18, 2019 11:35 am

Awesome!!

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Wed Sep 18, 2019 12:03 pm

On more thing... Is it be possible to build an offset to this button, so he would start his rounds at 53, while the makro starts at 0?

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Wed Sep 18, 2019 12:14 pm

Also it is really hard if not impossible to set it to zero.

doubleUG
Posts: 134
Joined: Sun Apr 24, 2011 7:19 am

Re: endless knob

Post by doubleUG » Wed Sep 18, 2019 5:59 pm

taggatagga wrote:
Wed Sep 18, 2019 12:14 pm
Also it is really hard if not impossible to set it to zero.
set the dail range to -1 128 change the sel to [sel -1 128]
copy the text, open Max/Msp > File > New form Clipboard
https://docs.cycling74.com/max5/vignett ... tches.html

https://soundcloud.com/doubleUG

taggatagga
Posts: 9
Joined: Tue Sep 17, 2019 3:36 pm

Re: endless knob

Post by taggatagga » Thu Sep 19, 2019 2:00 pm

Image
My 5.0 surround workaround setup so far. I cant work with the surround panner because I need the center. This works quite fine for me now. Thanks again.

EDIT: I changed the knob to the to the PanD360m. Macro Range is mapped 18 to 109. As the center peaks at 64 I dont need an offset. Whatever :)

Post Reply