Pressing two buttons gives a bang
we usually using controllers and assigning they controls to give numbers or bangs. How to make a unique bang when pressing two buttons at the time for e.g. to reset to default value. I think this should be something about receiving to bangs and if a difference in time between them is in some range then makes a bang. But how is that possible?
I have numbers counting up to 8, and at the next loop (starting from 1) I want it to be 16 long. How to make this bang to wait after accidental bang until it begins a loop. I want to modify length, but on time, making loop to know that from now it is shorter or longer,….
I hope I’m good explainer.
Looking for help
> How to make a unique bang when pressing two buttons at the time
----------begin_max5_patcher---------- 330.3ocuSskaCBCD7ayovxeSqhcIQkdB5cnJpxfcSbErFEVZIMJ28BKPyCkH gxi9Aqjmc8nYFurIfIR701RA+E9abFaS.iQPs.r9yLQttNMSWRiIRpPzChvt VNCA5S97gnALnJ2AYVjlWtCzWgGiVrxVZATiNO79JaJ1oDUj5wIg7t5j9Bed +k53AWWX6lVjngEh+ZWnwzkNXwA7QjD8baUMYnxm2disAAskvq0+Oc67uLlT 5zak+kwSu+9WcA9+hshLJ5F3Ev9cixGzMZqwdKZLqOgCkCXe3Arz8CIZ4rFI bBiqNowU6w.nyIFDuZy9xhtTs3bwhHr4aDwR7LZuoKaTGkJz8EYN33e3I9Zw OLpJ8UqRGTP+FNe2ZnwVhNfVc2aF4AyrzYLVp8PFk6LEdGf8R3LOaiUQQiTQ x+MEIGghTWQF0bXavufXYB02 -----------end_max5_patcher-----------
[thresh] or [timer] may be of interest.
or convert your "two buttons" into 0/1 states (if the physical
controller allows this), then you dont need to measure time.
I see you are posting some kind of code witch perhaps belong to MAX/MSP. I forgot to add that my questions related to Pd-extended. I thought it’s almost the same.
Thanks for replay. Do you have ideas to pd~ about that same question.
My controller is nanoKontrol(Korg) in this case and the buttons send 127 and 0 right away after release. I use [select 127] to make it bang ones. So I have two bangs of the same kind and don’t know how to join them to make an independent bang for another purpose?
Appreciate your help.
I found that timer counts time difference between bangs. When pressing two buttons time difference is 0. Then [select 0] and I got a bang
Will I be so accurate then I need it most? I still looking for a proximal time between 0 and 20.
I’m here to speed up my work. Thanks for sharing your experience.
Nice forum. Thank you. I guess I banged down from the tree starting to mix up Max and Pd. I following your link to pd forums.
Forums > MaxMSP