Mystery object…

Apr 26, 2008 at 10:31pm

Mystery object…

Hi,

I’ve been trying to work out what object i need to fulfill my needs but i cant work it out.

Is there an object that will only send a bang when a new number is received? so a constant stream of numbers is always being sent to it, but it only bangs when the number changes.

Basically i have a joystick which (due to the requirements of my patch) constantly outputs the number 1 when stationary. i want it to send a stream of bangs when the joystick is moved, but not when stationary.

ive looked in the reference manual and tutorials but cant find it.

any help would be much appreciated.

Im on OS X 10.4.11 with Max 4.6

thankyou

#37282
Apr 26, 2008 at 10:38pm

change?

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

On Apr 26, 2008, at 6:31 PM, Tim wrote:

>
> Hi,
>
> I’ve been trying to work out what object i need to fulfill my needs
> but i cant work it out.
>
> Is there an object that will only send a bang when a new number is
> received? so a constant stream of numbers is always being sent to
> it, but it only bangs when the number changes.
>
> Basically i have a joystick which (due to the requirements of my
> patch) constantly outputs the number 1 when stationary. i want it
> to send a stream of bangs when the joystick is moved, but not when
> stationary.
>
> ive looked in the reference manual and tutorials but cant find it.
>
> any help would be much appreciated.
>
> Im on OS X 10.4.11 with Max 4.6
>
> thankyou

#128758
Apr 26, 2008 at 10:39pm

Look at “change” object.

Best wishes,

ico

> —–Original Message—–
> From: maxmsp-bounces@cycling74.com [mailto:maxmsp-bounces@cycling74.com]
> On Behalf Of Tim
> Sent: Saturday, April 26, 2008 6:31 PM
> Subject: [maxmsp] Mystery object…
>
>
> Hi,
>
> I’ve been trying to work out what object i need to fulfill my needs but i
> cant work it out.
>
> Is there an object that will only send a bang when a new number is
> received? so a constant stream of numbers is always being sent to it, but
> it only bangs when the number changes.
>
> Basically i have a joystick which (due to the requirements of my patch)
> constantly outputs the number 1 when stationary. i want it to send a
> stream of bangs when the joystick is moved, but not when stationary.
>
> ive looked in the reference manual and tutorials but cant find it.
>
> any help would be much appreciated.
>
> Im on OS X 10.4.11 with Max 4.6
>
> thankyou

#128759
Apr 26, 2008 at 10:40pm

look at “change” or “zl change”

hth,
david

#128760
Apr 26, 2008 at 10:48pm

Thankyou!

#128761
Apr 26, 2008 at 11:44pm

Thankyou guys,

someone should make a MAX/MSP ‘word-a-day’ calender or something to help newbie’s like me out!

Cheers,

Tim

#128762
Apr 27, 2008 at 1:01am

or.. .just read the documentation?

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

On Apr 26, 2008, at 7:44 PM, Tim wrote:

>
> Thankyou guys,
>
> someone should make a MAX/MSP ‘word-a-day’ calender or something to
> help newbie’s like me out!
>
> Cheers,
>
> Tim

#128763
Apr 27, 2008 at 11:31am

Print out the Object Thesaurus and keep it by your toilet (‘bathroom’, if
you prefer) – see the post about printed manuals,
Cheers
Roger

On 27/04/2008 00:44, “Tim” wrote:

>
> Thankyou guys,
>
> someone should make a MAX/MSP ‘word-a-day’ calender or something to help
> newbie’s like me out!
>
> Cheers,
>
> Tim

#128764
Apr 28, 2008 at 8:54am

Tim schrieb:
> someone should make a MAX/MSP ‘word-a-day’ calender or something to
> help newbie’s like me out!

Or trial and error, sometimes type the object you imagine, by the name
you imagine, and sometimes it exists… (In your case “change” was all
over your question… ;-)

I do that as well, and if it doesn’t exist a new abhaXion will be
born… ;-)

Have fun with Max, you’re welcome…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#128765
Apr 28, 2008 at 10:01am

had the same question a few years ago
then i couldnt find the change object and just made my own.
until a friend told me about the change object

this one does int only

#P outlet 268 349 15 0;
#P inlet 144 57 15 0;
#P button 165 129 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 223 161 27 196617 int;
#P newex 127 187 165 196617 if $i1==$i2 then $i1 else out2 $i1;
#P connect 1 0 0 1;
#P connect 0 1 4 0;
#P fasten 0 1 1 1 287 217 297 217 297 150 245 150;
#P connect 2 0 1 0;
#P connect 3 0 2 0;
#P connect 3 0 0 0;
#P window clipboard copycount 5;

#128766
Apr 28, 2008 at 3:57pm

I use maxobjects.com like this. Usually a couple of keywords will
bring up what I want. I am such a pack rat for third party objects
that maxobjects.com is usually the quickest way to remember the name
of something I probably already have but can’t find because the OSX
search feature refuses to guess what I mean.

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

On Apr 28, 2008, at 4:54 AM, Stefan Tiedje wrote:

> Tim schrieb:
>> someone should make a MAX/MSP ‘word-a-day’ calender or something to
>> help newbie’s like me out!
>
> Or trial and error, sometimes type the object you imagine, by the
> name you imagine, and sometimes it exists… (In your case “change”
> was all over your question… ;-)
>
> I do that as well, and if it doesn’t exist a new abhaXion will be
> born… ;-)
>
> Have fun with Max, you’re welcome…
>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>

#128767
Apr 28, 2008 at 4:01pm

Open Max46ReferenceManual.pdf and click once on the vertical scroll
in bookmarks.

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

On Apr 28, 2008, at 6:01 AM, MJ wrote:

> had the same question a few years ago
> then i couldnt find the change object and just made my own.
> until a friend told me about the change object

#128768

You must be logged in to reply to this topic.