Additional button - is it possible?

Learn about building and using Max for Live devices.
clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Mon Jul 14, 2014 9:50 pm

I'll check it out when I have a chance.
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Tue Jul 15, 2014 5:30 am

Try this:

https://drive.google.com/file/d/0BzptcH ... sp=sharing

The logic is a little messy, but with the device "Gate Mode" turned on, trigger should play the clip again based on the clip quantization; the clip should be in TRIGGER mode. Let me know if you get erratic results-- it was a little confusing for me to make this work since when the clip is stopped the device should send one fire signal but if the clip is playing it needs to send two fire signals (in trigger mode, one to turn the clip off and one more to turn it back on). My brain sometimes has a hard time thinking in M4L.
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

cezik
Posts: 58
Joined: Mon Dec 13, 2010 1:47 pm

Re: Additional button - is it possible?

Post by cezik » Sat Jul 19, 2014 6:32 pm

Thanks, works like you say. The problem is my clips are in the toggle mode and I cannot change it (like I said in the beginning of this topic :)
And maybe there is a way to automatically run the clips depending on quantization? Just like I wrote here: viewtopic.php?f=35&t=205300

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Mon Jul 21, 2014 2:22 am

Did it work in TOGGLE mode? I think I made a typo mistake I didn't mean to say trigger. I also noticed it doesn't work in with quantization other than NONE.
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

cezik
Posts: 58
Joined: Mon Dec 13, 2010 1:47 pm

Re: Additional button - is it possible?

Post by cezik » Wed Jul 23, 2014 12:10 pm

Ok, in NONE and Gate checked it works like it should :) Thanks.
Now I am thinking is it possible to automate it, like I wrote in this second post.

cezik
Posts: 58
Joined: Mon Dec 13, 2010 1:47 pm

Re: Additional button - is it possible?

Post by cezik » Mon Apr 06, 2015 6:02 pm

Hi again!

I wanted to say thank you one more time for your work! Since then I use my PLAY ALL device all the time and it works like a charm! :)

Now I am trying to figure out if it is possible to develop this device to make one more thing:

1) When I press a "magic button" it will stop all the clips that are playing at the moment EXCEPT the clip that a "magic button" is assign to.

So I have 8 tracks and all of the clips in those tracks are playing. Now I press "magic button" on Track 4 and it stops all the clips except the one in Track 4. Thanks to that only clip in Track 4 is playing.

Now if I want to do it I have 2 choices:
1) Stop all the clips except 4, what is pretty hard because I need to press 7 buttons mapped to those tracks very quickly.
2) Stop the clip in Track 4, wait one bar and than press Toggle. Unfortunately than I have one bar that is playing without Track 4 and of course it is time consuming.

Any ideas?

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Thu Apr 09, 2015 10:01 pm

I can a look. I haven't done Max for a few months so it may take me a couple of tries to remember the code.
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

cezik
Posts: 58
Joined: Mon Dec 13, 2010 1:47 pm

Re: Additional button - is it possible?

Post by cezik » Thu Apr 09, 2015 10:05 pm

Awsome, thank you!

cezik
Posts: 58
Joined: Mon Dec 13, 2010 1:47 pm

Re: Additional button - is it possible?

Post by cezik » Tue Apr 14, 2015 11:03 pm

Any luck? :)

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Fri Apr 17, 2015 4:23 am

Hey there, I haven't been able to get to this. I ran into some unexpected major overtime effort at work, I apologize for not getting back to you sooner.

-RJ
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

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

Re: Additional button - is it possible?

Post by chapelier fou » Fri Apr 17, 2015 7:36 pm

i could give it a try in the truck between two gigs tomorrow. No promises, though.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

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

Re: Additional button - is it possible?

Post by chapelier fou » Sat Apr 18, 2015 3:57 pm

Had the time !

<pre><code>
----------begin_max5_patcher----------
1224.3ocyZ1ziahCF.9bxuBDpGSivFSfza61UpW1UZOTsWpphbHdRbWhAgMY
mcp59ae8GPFRFRhGFvoWX.iM90O98Sm46Sm3uN+QB226CdewaxjuOcxDcSpF
lT+7D+83GSyvbc27Yj+Ie827mYdkf7nP2rvas25lVYU6yqDYDgdHv5VeHmIX
38Dc++kRJNy6Wyy1zLHyHD+aAwHN9qwrs9yp+q2Wq6VAVjtix1tpjjJL8LLN
bdvLuEIpqgv4Qy7.x6OND0DyoOo+tf.YmLMS2nkD4p48nVRNk0H3.Ua+X5T0
kYuM7jki2XVOcQHvagPVPFDTcMJRc8URlvAiLo462SXhWfFtHuvKWriT5IJw
o+MelWQFAyIM8rnjvkCDKn4rUYTFIMuhIZqYcJMaVEOTtcs94iqqav2Slnmg
H.oo2B00kKUWgKawvNvNT22EAZdGEXK1aO+sUKZscDAGr8iL5Ax70UBgbxp+
lGvkGwSGutakVbpP100ayYo4Y4kFBDnLB0Kb8cf17paJiRLzRaCCZtdbTuP2
+p58fk54FcoulMjN3nZAtTBEAobEggWmQZOfS2EpajiOP1rBKDkTI.IOeGud
6nd+PA7rJR9CMM2zd64LKms8JaJmzW9t7RgsctgkvNd2dolhdE0nadFFp1Wu
Kj+vCJWzJJ9USG0ZgM+YXbddOis.iSlCkZvwK6evkjwN5xSYd6E67BFVFo3y
0YiwlEFaL1R5Q3ETTmrANbroTttH0QVtS7w3.ZQu3CxM7Q4qXEmHtSDBnSSI
tOInfBcCgjR+t6Cc.Iw5DPV1G5DL1z4OP+9bbAc9mHhOuix+Hlkyno3reibf
lR9yKRs9ly60IVfIYqPngU8AYgQis6ZsBki0kBAl3XglZA.v93MJbz8FoB0S
GmP8TUMCWiPAgl7DA8NReHbrUctmoBgB04xuD1a9.WN50Yqx48xtpCeKlW2x
DCAiMlXI5x+h.8vBCtXvHzdBmi2RdAhj9ly7TEcuRdypzLZA2gdnqsxPAZWy
K0jBr30wngKmwKwHkFzwbhpSdz6c.GxoiJSljqAf39PpQO2Hs8l7EJ418JQ0
rAEpQ0q0TCzMbNoHdyR6JUvupfTxobAgkRNZoNnU+9duAVu6VABQxTDT7DFg
5smdPxXq4U8DcX8weRbPKxW.UaRlnoDZQO71ChcX14+EkSWmQ9rxY1G0mfpC
8lgPFuXlDxMJVuVXM5IWUjUsUtt9ugM+JNcKCmoznpu6ZfJvXwYNu9v9j.wX
qQofDkc+YT.p2LBbSFo+X9peqgy9swzhip8SAGOupLsYwzb5wdOKSaHbAkc7
3l+xyGLXqNsitYCg09WvXCkqNvYsjGz4VnsxyYSU2xipxWWJOfaHOpxEbk7D
YCePmHzip7frQ+wg6Wg1HOH2IOVYeE5N44mLyKKrtTwScj3DZi00Yaoip7XC
eftS6QctQ2TdBQtUdt09EzcpyV47wYRyYgktf0Urakmehr1Umg0s0d.NKVJL
xV4wQ7wF04yf3XJO.qxMzc5OZSG3szmcWty.ns16tQeFXi5i6niMgR6IaLkg
gKJNnNjMymTKHxJU+l4e0nEyzORYlG0mdgeI4.so+w5VvkxpHExRHqJMEk9X
xB+op44GS+efYyb3S
-----------end_max5_patcher-----------
</code></pre>
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Sat Apr 18, 2015 8:24 pm

I took that code and integrated it into the original TriggerPlayGate device which is now TriggerPlayGateStop. Maybe that is convenient to have only one device if you like.

https://drive.google.com/file/d/0BzptcH ... sp=sharing
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

cezik
Posts: 58
Joined: Mon Dec 13, 2010 1:47 pm

Re: Additional button - is it possible?

Post by cezik » Sat Apr 18, 2015 9:56 pm

Thanks guys! It works excatly like it should :) My question is, since I already started to test it in my "live" enviroment, I noticed some inconvenience. So is it possible to extend it just a little bit? Now it works like this:

- All the 8 clips are playing. I press "Stop Others" on track 4. After the bar passes (my global quantization is 1 Bar) only clip 4 is playing. Great. But if I want to Solo more clips before the bar passes - it is impossible because it stops all the clips.

So what I want to do is:

- All the 8 clips are playing. Now I press "Stop Others" on track 4, 5 and 6. After the bar passes, clips 4, 5 and 6 are playing, but the rest is stopped. I would describe this function as "reversed toggle" because normaly pressing clips 4,5 and 6 would stop them and left the other clips playing (because as you remember my clips are in toggle mode). But with "reversed toggle" it keep them playing and stop the others.

Thanks again!

P.S. @clydesdale - I don't know if you remember but we struggled a bit with the previous device and you came up with different versions before it started to work perfectly. So to be sure you are implementing the @chapelier fou code into the proper version that works 100%, here it is: https://dl.dropboxusercontent.com/u/160 ... OK%29.amxd :)

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Additional button - is it possible?

Post by clydesdale » Sat Apr 18, 2015 10:54 pm

Thanks, I wasn't sure what the most up to date version of your device I had. I will replace mine with yours.
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

Post Reply