bang bang mark 2


    Apr 16 2006 | 9:22 pm
    how can get one bang to prevent another's path when i dont know which will come first?
    i ahve two bangs, and it doesnt matter which goes through, all that matters is only ONE goes through, how can i do this? i think a gate may be useful, but unsure

    • Apr 16 2006 | 9:31 pm
      allow me to elaborate. I want to turn 4 buttons on a controller into eight. i think i can do this by using 'combos, i.e two buttons being struck at once.
      i need a system that will allow me to monitor if one button has been pressed and allow that bang through, but if two have been pressed together (or within a tight time frame) push a different bang though to a different part of the patch
      can anyone help?
    • Apr 16 2006 | 9:47 pm
      Is your controller a midi controller ?
      What kind of information does the buttons send ? If it send a controller number with velocity 127 when pressed and velocity 0 when depressed it should be quite easy. You would use a select 127 and a select 0 and use an == operator to check wether 2 controllers are at the same value or something along those lines.
      Quote: 88mph wrote on Sun, 16 April 2006 17:31 ---------------------------------------------------- > allow me to elaborate. I want to turn 4 buttons on a controller into eight. i think i can do this by using 'combos, i.e two buttons
    • Apr 16 2006 | 9:55 pm
      Quote: Nat wrote on Sun, 16 April 2006 15:47 ---------------------------------------------------- > Is your controller a midi controller ? it is a gamespad, and the buttons are a simple 1 or 0.
      i have deviced a method of evaluating wether or not one button is being pressed, and if so output its bang, but at the moment, if both buttons are pressed all it does is block the individual bang, not output one of its own.
      here is the patcher
    • Apr 16 2006 | 10:27 pm
      here is a new one. this will output a bang when both are pressed, but is buggy when you play with different combo's
      PS i have set it up to use the A and S keys for demonstration
    • Apr 16 2006 | 10:58 pm
      to anyone who cares, i have solved it, and i think its a quite useful patch, so here it is
    • Apr 17 2006 | 5:20 am
      >how can get one bang to prevent another's path when i dont know >which will come first?
      try [onebang] :