Hi Ps2 Controller Incremental steps


    Apr 17 2006 | 11:08 pm
    I am using my ps2 controller, connected to usb, as a hi controller. I have it set to work with my dj patch, drum machine and synth (all one project). I am trying to set it upso that my up down (digital) buttons control the pitch of the track being played. The way i have it set up now is with 2 select obejects which correspond to the correct "on" data from the ps2 controller for those buttons. These both go into a onebang object.
    The problem with this is that the user has to keep tapping the down to make it move. Can anyone think of a way to make it so that the longer you hold down the button the faster/more it moves up or down? So in otherwords an incremental step increase.
    I have something similar set up for my analogue sticks, which control the crossfader, in whicch you can move side to side but when you hold down the stick to its maximum for a +- 1 sec it sticks on the channel you are pointing towards. But in this case that wouldnt work very well.
    Will

    • Apr 18 2006 | 3:07 am
      Will Pickersgill wrote: > Can anyone think of a way to make it so that the longer > you hold down the button the faster/more it moves up or down? > So in otherwords an incremental step increase.
      don't know if I'm understanding you right ... here is a way I'd do what I think you want to do (up/down arrowkeys).
      oliver
    • Apr 18 2006 | 7:28 am
      oliver i can't open your patch... did you miss something in the text version?
      thnx
    • Apr 18 2006 | 9:30 am
      tommaso perego wrote: > oliver i can't open your patch... > did you miss something in the text version?
      it should work if you copy the text in the mail and do a "new from clipboard" (in max4.5) ... but anyway here is a version from a patcher-file 'opened as text' ...
      oliver
    • Apr 18 2006 | 10:43 am
      Yeh thats is pretty much what I was trying. Just tweaking it so I can increment 0.01 every tap and then "roll" when helf down.
      This whole project, DJ - DRUMS - SUB SYNTH, has to be at the end of May, so I intend on building it as a standalone and will post a link to it when its done for whoever is interested.
      Will
    • Apr 18 2006 | 11:09 am
      that will be great! :-)
      t.
    • Apr 18 2006 | 11:11 am
      thanx oliver, i forgot about that great feature that is "new from clipboard"!!!