Create single bang with number object rather than consecutive bangs
Hey Guys,
I have a number object and overtime I change the value of it I would like it to produce a single bang. At present I have the outlet of the number object attached to a button, but overtime I move the number object it produces a bang at every step.
I have tried to search for the answer and lots of people suggested using mixtures of the: select, change, one bang object, but I am having difficulty understanding.
select the number box, open up its get info window and select "Send value on mouse up"
Not exactly what I am trying to do. Thanks for the advice floating point.
I'm wanting to create a system whereby a number object produce a single bang when it is clicked, or initially modified, but then ceased to produce bangs thereafter. i also require it to produce number values to a secondary number object with no rules attached to it.
use the delay object-- it will continually reset itself if the bangs are coming in at a rate faster than the delay time, so it will only output one bang AFTER you have stopped dragging the mouse. The downside is there will be a delay equivalent to the delay setting so keep the delay as short as possible if it's time-critical:
Thanks. I would need the bang to be almost instantaneous and. And I know if you continuously alter the number object over a duration that exceeds the delay time then multiple bangs are sent out. Thanks for the suggestion so far though and I'll look into variations of all of them. I'm just looking for one single bang with no delayed response or chance of produces multiple bangs.
Thanks again!
here's another approach using mousestate-- but still not ideal
Here's another attempt using cycle to pass along only every other bang:
Float Point, the mouse state is the exact affect I am trying to achieve. Although an ultimate goal of mine would be to use an external midid controller to alter the value of the number object, which will render the mouse state function useless. Great suggestion though, I bet I will be able to do something with this. Thanks!
in this case there is really a logical problem, because noone (including a computer program) would know when "only when i change the value again" happens.
you should ask yourself how you want to define the beginning and the end of the "current" midi input or whatever it is what changes the value.
more than what has been suggested - setting a delay of 5 seconds or so - is not possible without getting that part more clear.
`
you probably don't need half of what's in there. :) was making a few ideas to do it at once, took me a bit to realize that anything will open up onebang, even 0.
@djf you should be careful how you pose your question-- you always need to consider the context of the question. if it has nothing to do with a number box, then don't include a number box in the question!
roman is right, you need to clarify for yourself what you want to acheive
This came to mind.