Forums > MaxMSP

Using the gate object help

April 17, 2007 | 6:26 pm

Is there a way to use the gate object to be open for a certain amount of time when it receives a bang message?

Thanks


April 17, 2007 | 6:39 pm

>Is there a way to use the gate object to be open for a certain
>amount of time when it receives a bang message?

sure , the same bang banging a delay, which, when finished, closes the gate….

kasper

Kasper T. Toeplitz
noise, composition, bass, computer

http://www.sleazeArt.com

http://www.myspace.com/sleazeart


April 17, 2007 | 7:33 pm

On 17 Apr 2007, at 19:39, Kasper T Toeplitz wrote:

>> Is there a way to use the gate object to be open for a certain
>> amount of time when it receives a bang message?
>
>
> sure , the same bang banging a delay, which, when finished, closes
> the gate….
>
ie

david


April 17, 2007 | 7:48 pm

At 12:26 PM -0600 4/17/07, Baek Chang wrote:
>Is there a way to use the gate object to be open for a certain amount of time when it receives a bang message?

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 156 111 82 196617 for two seconds;
#P message 93 130 14 196617 0;
#P message 75 130 14 196617 1;
#P toggle 75 159 15 0;
#P newex 93 110 61 196617 delay 2000;
#P button 75 82 15 0;
#P newex 75 177 29 196617 gate;
#P comment 93 81 80 196617 bang opens gate;
#P connect 2 0 5 0;
#P connect 2 0 3 0;
#P connect 3 0 6 0;
#P connect 6 0 4 0;
#P connect 5 0 4 0;
#P connect 4 0 1 0;
#P window clipboard copycount 8;

-C


Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." – Brian Eno


April 17, 2007 | 7:50 pm

oh, simple enough. Thanks alot you guys.


April 20, 2007 | 2:04 am

Is there a way to keep the gate closed for a certain amount of time. Is there a object that sends 0′s for x amount of msec?


April 20, 2007 | 2:46 am

i would use [delay], like this:

max v2;
#N vpatcher 352 178 952 578;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 137 180 14 196617 1;
#P toggle 116 208 15 0;
#P newex 116 234 29 196617 gate;
#P newex 116 127 31 196617 t 0 b;
#P newex 137 152 61 196617 delay 1000;
#P button 116 106 15 0;
#P connect 0 0 2 0;
#P fasten 5 0 4 0 142 201 121 201;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P connect 2 1 1 0;
#P connect 1 0 5 0;
#P pop;

———- Original Message ———————————-
From: Baek Chang
Date: Thu, 19 Apr 2007 20:04:11 -0600

>
>Is there a way to keep the gate closed for a certain amount of time. Is there a object that sends 0′s
for x amount of msec?
>

Need personalized email and website? Look no further. It’s easy
with Doteasy $0 Web Hosting! Learn more at http://www.doteasy.com


April 20, 2007 | 2:46 am

Baek Chang wrote:
> Is there a way to keep the gate closed for a certain amount of time. Is there a object that sends 0′s for x amount of msec?

Please work through the Tutorials, because "sends 0′s for x amount of
msec" is a fundamental misunderstanding about how Max works. (Not MSP,
mind you, Max.) I believe gate is covered near the beginning.



_j
April 20, 2007 | 7:57 pm

uze ur brayne.


Viewing 9 posts - 1 through 9 (of 9 total)