Bang filter? Very annoying, probably stupid problem.


    Feb 24 2006 | 4:56 pm
    ok, i admit a mistake in that "match" does seem to filter a bang out, but there must be an easier way?

    • Feb 24 2006 | 5:15 pm
      Ok THIRD TIME LUCKY POSTING THIS QUESTION!!!!
      IS there any way to filter out bangs, whilst allowing valuable information like number, to pass through.
      In this patch, any change in the number box at the top sends out a bang. The match at the bottom blocks these bangs until the "one" is detected, at which point it lets the one through, along with all the bangs. Instead of just a single bang. Please help this tired and amateur max learner out. Sorry if this is short, it'sthe 3rd time i've typed this out. my computer is hobbling.
    • Feb 24 2006 | 5:30 pm
      Please do not yell. your solution:
      route bang
      take the right outlet.
      pa
    • Feb 24 2006 | 5:34 pm
      Thank you. I'll go try that. I'd tried three times to post correctly, and the server/my computer/me kept messing up. I was frustrated, and yes, I shouted.
    • Feb 24 2006 | 5:35 pm
      On 24 Feb 2006, at 18:15, Philip Reeder wrote:
      > IS there any way to filter out bangs, whilst allowing valuable > information like number, to pass through.
      [sel bang] ?
      nick rothwell -- composition, systems, performance -- http:// www.cassiel.com
    • Feb 24 2006 | 5:48 pm
      please please forgive me for being stupid.
      I did what both you guys suggested, and it didn't act as planned.
      I can get a number through, but I want the number, without all the bangs that come through with it. One is fine, i'd expect that because the number changed. But once it isn't changing any longer, I'd like the bangs not to come through.
      Thanks again, Phil
      This code has the route object in, with route bang as suggested.
    • Feb 24 2006 | 6:04 pm
      On 24 Feb 2006, at 18:48, Philip Reeder wrote:
      > I did what both you guys suggested, and it didn't act as planned.
      What are we supposed to be looking for? I see a [>] (which puts out 0 or 1) connected to a [route bang].
      nick rothwell -- composition, systems, performance -- http:// www.cassiel.com
    • Feb 24 2006 | 6:04 pm
      you're looking for change, aren't you? By the way, your patch have also problems with integer operations: you use ">" in integer mode, and a integer number box to works with floats...
      ej
    • Feb 24 2006 | 6:10 pm
      > I did what both you guys suggested, and it didn't act as planned. > > I can get a number through, but I want the number, without all the bangs > that come > through with it. One is fine, i'd expect that because the number changed. > But once it isn't > changing any longer, I'd like the bangs not to come through.
      You need to use the [change] object. See my modification of your example patch below.
      Good luck, *V*I*R*G*O*
    • Feb 24 2006 | 6:16 pm
      use int after the numbox
      ie:
      integer number box | [int]
      int will be able to store a number, bang will send it.
      read the tutorials. Almost everything in max sends bangs. its how it works.
      v a d e //
      www.vade.info abstrakt.vade.info
      I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE!
      You will not be saved by the Holy Ghost. You will not be saved by the God Plutonium.
      In fact, YOU WILL NOT BE SAVED!
    • Feb 24 2006 | 8:14 pm
      i have not looked at yourt patch, but maybe there is one number you do not need ? if you do not need "i 10,000" for example you could just ue a [route 10000] to filter out bangs.
    • Feb 27 2006 | 9:18 pm
      Philip Reeder wrote: > Hello, I've been using max for a little while, and there's one > problem I keep coming up against. > > Bangs seem to flow through the whole of a patch. Is there any way to > filter out a bang (that might be caused by a metro at the top of a > patch for instance), yet allow numbers etc. to pass through?
      Did you ever read the help file of button? I guess not! This is very basic. button accepts anything and converts it into a bang. Your example patch seems to have nothing to do with the above question, none of the patchchords does carry a bang and toggle never outputs a bang. If you want to filter any type, look into route. [route bang] for example would filter bangs. I added some comments into your patch, which might explain some of your confusion...
      Stefan
      --
      [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
      Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
      /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
      -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-49 77 51 72
    • Feb 28 2006 | 8:46 pm
      > Did you ever read the help file of button? I guess not! > This is very basic.
      that is like the 7th time this month you tell someone to rtfm, did you notice that? :)
    • Mar 02 2006 | 7:02 am
      Roman Thilenius wrote: > that is like the 7th time this month you tell > someone to rtfm, did you notice that? :)
      Seems to be necessary, this thread went on too long for such a thing... (Und um das Gleiche durch die Blume (Kaffee) zu sagen scheint ja auch nicht immer zu klappen... ;-)
      Stefan
      --
      [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
      Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
      /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
      -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-49 77 51 72