Forums > MaxMSP

Feature request: openbang

June 8, 2007 | 1:27 pm

Hi,

I could really use an ‘openbang’ object at the moment.

It should deliver a bang as soon as the window of its containing patcher is opened from a previously closed state (not only made active). It would be the counterpart of closebang.

Thanks,
Mattijs


June 9, 2007 | 12:38 pm

active.help

On 6/8/07 9:27 AM, "Mattijs Kneppers" wrote:

>
> Hi,
>
> I could really use an ‘openbang’ object at the moment.
>
> It should deliver a bang as soon as the window of its containing patcher is
> opened from a previously closed state (not only made active). It would be the
> counterpart of closebang.
>
> Thanks,
> Mattijs
> –
> SmadSteck – http://www.smadsteck.nl
> Hard- and software for interactive audiovisual sampling

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


June 9, 2007 | 3:20 pm

Well, I am looking for an object that fires a bang -only- when the window goes from a closed state to an open state. Active doesn’t do that.

Quote: Gary Lee Nelson wrote on Sat, 09 June 2007 14:38
—————————————————-
> active.help
>
>
> On 6/8/07 9:27 AM, "Mattijs Kneppers" wrote:
>
> >
> > Hi,
> >
> > I could really use an ‘openbang’ object at the moment.
> >
> > It should deliver a bang as soon as the window of its containing patcher is
> > opened from a previously closed state (not only made active). It would be the
> > counterpart of closebang.
> >
> > Thanks,
> > Mattijs
> > –
> > SmadSteck – http://www.smadsteck.nl
> > Hard- and software for interactive audiovisual sampling
>
>
> Cheers
> Gary Lee Nelson
> Oberlin College
> http://www.timara.oberlin.edu/GaryLeeNelson
>
>
>
—————————————————-


June 9, 2007 | 6:58 pm

you mean like this?

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 106 187 53 196617 openbang!;
#P newex 151 94 31 196617 int 1;
#P newex 151 62 53 196617 closebang;
#P newex 106 156 47 196617 gate 1 1;
#P newex 106 125 47 196617 t 0 b;
#P newex 106 94 32 196617 sel 1;
#P newex 106 63 38 196617 active;
#P newex 106 218 32 196617 print;
#P connect 5 0 6 0;
#P fasten 3 1 4 1 148 149 148 149;
#P connect 7 0 0 0;
#P connect 4 0 7 0;
#P connect 3 0 4 0;
#P fasten 6 0 4 0 156 144 111 144;
#P connect 2 0 3 0;
#P connect 1 0 2 0;
#P window clipboard copycount 8;


June 9, 2007 | 7:04 pm

At 3:27 PM +0200 6/8/07, Mattijs Kneppers wrote:
>I could really use an ‘openbang’ object at the moment.
>
>It should deliver a bang as soon as the window of its containing patcher is opened from a previously closed state (not only made active). It would be the counterpart of closebang.

I could imagine needing this.

Vaguely related things I’ve wanted, is to know when a patcher is unlocked for editing, and when a patcher is being saved. Prehaps we need some sort of comprehensive patcher status object?

-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


June 9, 2007 | 8:02 pm

Quote: Chris Muir wrote on Sat, 09 June 2007 21:04
—————————————————-
> At 3:27 PM +0200 6/8/07, Mattijs Kneppers wrote:
> >I could really use an ‘openbang’ object at the moment.
> >
> >It should deliver a bang as soon as the window of its containing patcher is opened from a previously closed state (not only made active). It would be the counterpart of closebang.
>
> I could imagine needing this.
>
> Vaguely related things I’ve wanted, is to know when a patcher is unlocked for editing, and when a patcher is being saved. Prehaps we need some sort of comprehensive patcher status object?
>
> -C

Not a bad idea at all.. some of this might be possible with javascript but a native object would certainly be more convenient.

>
> —
> 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
>
—————————————————-


December 17, 2011 | 10:12 pm

Now if only that patch could be an abstraction so you don’t have to throw the whole thing in to every patcher……


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