if object help


    Jan 17 2007 | 5:40 pm
    i dont know if anyone can help.... i have been looking at the if object and cant seem to be able to make it do what i want.
    i need an statement that says if float in inlet 1 is equal to or greater than 150 then send a bang else if the float in inlet 1 is less than or equal to than 150 send another bang. sounds simple but cant seem to get it.
    if anyone can help would be appreciated
    cheers james

    • Jan 17 2007 | 6:10 pm
      Sure theres a way to do it all within the if object itself. But this way will work anyways.
      T
      max v2;
    • Jan 17 2007 | 6:15 pm
      sorry mate but what is that??
    • Jan 17 2007 | 6:27 pm
      Chain two if objects.
      On 17-Jan-2007, at 18:41, james wrote:
      > i need an statement that says if float in inlet 1 is equal to or
      > greater than 150 then send a bang else if the float in inlet 1 is
      > less than or equal to than 150 send another bang. sounds simple but
      > cant seem to get it.
      -------------- http://www.bek.no/~pcastine/Litter/ -------------
      Peter Castine +--> Litter Power & Litter Bundle for Jitter
      Universal Binaries on the way
      iCE: Sequencing, Recording &
      Interface Building for |home | chez nous|
      Max/MSP Extremely cool |bei uns | i nostri|
    • Jan 17 2007 | 6:27 pm
      James,
      What you've said there is, effectively, that you should get a bang for
      any value of $f1, which I'm sure isn't what you meant. What's wrong with
      the split object in this context?
      --
      Owen
      james wrote:
      > i dont know if anyone can help.... i have been looking at the if
      > object and cant seem to be able to make it do what i want. i need an
      > statement that says if float in inlet 1 is equal to or greater than
      > 150 then send a bang else if the float in inlet 1 is less than or
      > equal to than 150 send another bang. sounds simple but cant seem to
      > get it. if anyone can help would be appreciated cheers james
      >
      >
    • Jan 17 2007 | 10:05 pm
      Do you really mean >= 150 and
      [if $f1
      But, as has been pointed out already, [split 150.0] does the same job nicely.
      Tim