alternating bangs

Mar 13, 2006 at 12:44am

alternating bangs

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.

#24855
Mar 13, 2006 at 1:03am

Try counter for a start. There are a bajillion ways to do this.
Also, take a look at the docs and tutorials.

wes

#72453
Mar 13, 2006 at 1:46am

TogEdge does this. It has two outlets and it alternates between them.

Peter McCulloch

#72454
Mar 13, 2006 at 5:09am

I use the dblbang patch by Eric Singer. It’s made just for that
purpose. I think you can get it off his website.

#72455
Mar 13, 2006 at 11:42am

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)

#72456
Mar 13, 2006 at 12:09pm

try onebang

j

#72457
Mar 13, 2006 at 4:24pm

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://
http://www.cassiel.com

#72458
Mar 13, 2006 at 4:39pm

Or faster still…

#72459
Mar 13, 2006 at 7:45pm

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

#72460

You must be logged in to reply to this topic.