alternating bangs


    Mar 13 2006 | 12:44 am
    does anyone know of an object that recieves bangs and outputs a bang every other bang it recieves? I ask because i am using a game controller that outputs each number on both press and release.

    • Mar 13 2006 | 1:03 am
      Try counter for a start. There are a bajillion ways to do this.
      Also, take a look at the docs and tutorials.
      wes
    • Mar 13 2006 | 1:46 am
      TogEdge does this. It has two outlets and it alternates between them.
      Peter McCulloch
    • Mar 13 2006 | 5:09 am
      I use the dblbang patch by Eric Singer. It's made just for that
      purpose. I think you can get it off his website.
    • Mar 13 2006 | 11:42 am
      Quote: gregory.longo@mail.mcgill.ca wrote on Mon, 13 March 2006 00:44
      ----------------------------------------------------
      > does anyone know of an object that recieves bangs and outputs a bang every other bang it recieves? I ask because i am using a game controller that outputs each number on both press and release.
      ----------------------------------------------------
      does it output different numbers for press and release? - i bet it does - in this case use sel (or select) and put in the numbers you want.
      for my game controller is just 1 for press and 0 for release so i use 'sel 1' and connect a bang to the second outlet (see the help file)
    • Mar 13 2006 | 12:09 pm
      try onebang
      j
    • Mar 13 2006 | 4:24 pm
      On 13 Mar 2006, at 00:44, G-Long wrote:
      > does anyone know of an object that recieves bangs and outputs a
      > bang every other bang it recieves?
      nick rothwell -- composition, systems, performance -- http://
      www.cassiel.com
    • Mar 13 2006 | 4:39 pm
      Or faster still...
    • Mar 13 2006 | 7:45 pm
      I bet it doesn't put out just bangs, it will be probably a 1 for
      pressing the button and a 0 for release. Just use a [sel 1] to get only
      the press...
      Stefan
      --
      [][] [][][] [][] [][][]
      [][][][][][][][][][][][][][][]
      Stefan Tiedje
      Klanggestalter
      Electronic Composition
      &
      Improvisation
      /~~~~~
      \ /|() ()|
      ))))) )| | |( \
      /// _/)/ )))))
      ___/ ///
      -------------------------x----
      --_____-----------|-----------
      --(_|_ ----|-----|-----()----
      -- _|_)----|-----()-----------
      ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt,
      94320 Thiais, France
      Phone at CCMIX +33-1-57 42 91 09