[+ #1.] int addition


    May 03 2006 | 9:00 pm

    • May 03 2006 | 10:06 pm
      what about [+ #f1] or [+. #1]?
      or [.+ .#] if you like.
    • May 03 2006 | 10:09 pm
      Two possible workarounds:
      loadbang -> '#1' -> [+ 0.](right inlet)
      loadbang -> [float #1] -> [+ 0.](right inlet)
      -- P.
      -------------- http://www.bek.no/~pcastine/Litter/ -------------
      Peter Castine +--> Litter Power & Litter Bundle for Jitter
      iCE: Sequencing, Recording & |home | chez nous|
      Interface Building for |bei uns | i nostri|
      Max/MSP Extremely cool http://www.castine.de
    • May 03 2006 | 10:14 pm
      make the argument to #1 "1." or "2." as long as it has the '.' it
      will become a float add. I just tested it, it works.
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • May 04 2006 | 3:32 am
    • May 04 2006 | 3:45 am
      ah, apologies.
      I see what you mean. I merely thought you wanted to use the '3.' as a
      float throughout the subpatch, not as both int and float within the
      subpatch. other posters have given other solutions, however which
      should work, but dont solve the #1. issue explicitly.
      thanks,
      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!
    • May 04 2006 | 3:29 pm
      me still do not get the idea why you
      would exspect or want to float-add #1
      when #1 is an int. this is why my dumb joke.
      it is not a surprise that for example
      [+ 7] is an int addition, or is it?
      if there would be a way to make a float addition
      using [+ 7] then what would [+ 7.] be good for ...
      [+ 110.] goes out in the sun now
    • May 04 2006 | 3:56 pm
      ok when i try it myself i understand.
      well, but it works as soon as the left
      operand is a float, isnt that enough? ;)
      [abstrakt 7 7 7. 7.]
      max v2;
      ...
    • May 04 2006 | 7:06 pm