fire or set_fire_buton_state and quantization
I’d like to fire some clips using M4L.
It’s pretty straightforward with thee function fire, stop, …
What I want to do is armed a clip and play it at quantization or don’t play it if stop is called before the quantization of Live says "play" to the clip. In my example :
My live set have a quantization of 1 bar. When I "fire" a clip and immediatly call the stop function the call of the stop is not heard by Live. When I’m referring to the help of Max it seems all right as
for the function stop on a clip it says "Same effect as pressing the stop button of the track, but only if this clip is actually playing or recording".
Ok, so I look at the "set_fire_button_state" function as when I’m referring to help of Max it says "If the state is set to 1, Live simulates pressing of clip start button until the state is set to 0 or until the clip is stopped otherwise.". "Until the state is set to 0". Of course there is something I don’t understand.
Could you help me to understand :
- what the set_fire_buton_state function is for.
- Is there a way to call fire and immediatly stop on a quantized set of live without hearing the clip (even once).
Please find below the code of my M4L patche.
----------begin_max5_patcher---------- 635.3oc2W00jaBBE8YyuBFe1lAHRT6as+M1YGGixlvVB3Hj1zty1e6EPyJoa 9ptZdnODR3Bd8bNWtWt4kYAgqj6opPvmAO.BBdYVPfyj0PP27fvsE6K4EJ21 B2RUph0zvn10zz8Zm8xBNGnn57mXMz7U6zZoHWoKzT.7vleRJzhhsT2C7kFV AG7UIu5vxxcZNUq+YMsEPggfG6VptPWtgIVm2PK0sqhRgygQ.RpcDsHy80x4 v9mogpnBCBXRg8QPc1YUt2ub0yeJ1GYJ1ubuXj0uslE61xDFL4nN9D90CO3j EVHjcV7XbVKCcdCYM95rY1gnoS6QSi1CIV50Qxgo8KFQsGk5fPxDp8B5OLn9 cReMe2Zim+8PkYEasnfGF81utnr6o5jkNRl5QROwEeEwsTxkMsNENOMxNDaG SPFe54RKOOZuvHuAzwJ76CWGK63wU1Yh6op2NRHWR0Q+un5WtPiVVOIUUxv8 EPIngTSACGwhJWANSVIEN66z4lEr.YRJdmjMmXIi69JR1EqiLnaHmVowPoMC VXh59bIABiZEHbhWn+bBD4eQfPmTfVL1Yn11.ljiNwn9Th3kCJCc4HlgdE3L cMbsVpk.6gwbSWW.cSQ42T.HnjypyUbo9vjIIHfwPuFMSGTyW3jQLLPZuVBd N7b93faKlrZwe+ePbz1Z+3fiRtqo7fH00DIn+EUQUZl3Md+PeMLuMsgUUQcq efqaYU0RlP2gADJ1l9mh83icB3wSdB5VgZ7D.0OHjP2Bjt6HBcCHBc2Pjsf0 nG2LYL1KXL0rH8oL1YeTvRtUvdGEvjaASj65wLaehiecCHpssAreT0N6HzZl 75r+.LPsVHM -----------end_max5_patcher-----------
Here is the answer I had from the ableton support
with call fire/stop, you simply start and stop a clip.
with set_fire_button_state, you imitate the mouse down and mouse up which is needed for the clip launch modes other than trigger and toggle.
The stop behavior makes sense since you can observe the property is_triggered.
Forums > Max For Live