Page 4 of 6
Re: Additional button - is it possible?
Posted: Mon Jul 14, 2014 9:50 pm
by clydesdale
I'll check it out when I have a chance.
Re: Additional button - is it possible?
Posted: Tue Jul 15, 2014 5:30 am
by clydesdale
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.
Re: Additional button - is it possible?
Posted: Sat Jul 19, 2014 6:32 pm
by cezik
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
Re: Additional button - is it possible?
Posted: Mon Jul 21, 2014 2:22 am
by clydesdale
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.
Re: Additional button - is it possible?
Posted: Wed Jul 23, 2014 12:10 pm
by cezik
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.
Re: Additional button - is it possible?
Posted: Mon Apr 06, 2015 6:02 pm
by cezik
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?
Re: Additional button - is it possible?
Posted: Thu Apr 09, 2015 10:01 pm
by clydesdale
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.
Re: Additional button - is it possible?
Posted: Thu Apr 09, 2015 10:05 pm
by cezik
Awsome, thank you!
Re: Additional button - is it possible?
Posted: Tue Apr 14, 2015 11:03 pm
by cezik
Any luck?

Re: Additional button - is it possible?
Posted: Fri Apr 17, 2015 4:23 am
by clydesdale
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
Re: Additional button - is it possible?
Posted: Fri Apr 17, 2015 7:36 pm
by chapelier fou
i could give it a try in the truck between two gigs tomorrow. No promises, though.
Re: Additional button - is it possible?
Posted: Sat Apr 18, 2015 3:57 pm
by chapelier fou
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>
Re: Additional button - is it possible?
Posted: Sat Apr 18, 2015 8:24 pm
by clydesdale
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
Re: Additional button - is it possible?
Posted: Sat Apr 18, 2015 9:56 pm
by cezik
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 
Re: Additional button - is it possible?
Posted: Sat Apr 18, 2015 10:54 pm
by clydesdale
Thanks, I wasn't sure what the most up to date version of your device I had. I will replace mine with yours.