Subject: MAX Digest - 6 Jan 1998 to 7 Jan 1998
Date: Thu, 8 Jan 1998 00:00:02 -0500
From: Automatic digest processor 
Reply-To: MAX - interactive music/multimedia standard environments
     
To: Recipients of MAX digests 

There are 10 messages totalling 385 lines in this issue.

Topics of the day:

  1. x4i474
  2. AdTech West Convention - krap h!tz dze !nternet (2)
  3. G3's+OS8
  4. newinstance and collective 2
  5. Registry object
  6. unknown message argument type
  7. Graphics and hot spots
  8. ===HELP: Which Mac laptop < $1000 (used) can run Max 3.5 OK??? === (2)

----------------------------------------------------------------------

Date:    Tue, 6 Jan 1998 23:26:32 -0600
From:    =cw4t7abs 
Subject: x4i474

>Date:    Tue, 6 Jan 1998 11:19:58 -0700
>From:    "C. Todd Robbins" 
>Subject: Graphic controls and hot spots?
>
>I wonder if there are some third party objects I should know about to do
>the following;
>
>I want to have a PICT image onto which I can define irregular hot spots
>that will respond to mouse roll overs and/or clicks.
>
>The response will be graphic as well as musical, so I also need a way to
>overlay little picts that correspond to the hot spot that is being
>rolled over. (Gif-like animations would be great too!)
>   Ideally, these PICTs would include some sort of masking option so
>irregularly defined regions could exist next to one annother (does this
>make sense?).

skreen koordinatez
+ ubutton.

-----
      | ---------

doez any1 hav dze w server + !z willing 2share the source _?

------------------------------

Date:    Tue, 6 Jan 1998 23:26:50 -0600
From:    =cw4t7abs 
Subject: AdTech West Convention - krap h!tz dze !nternet

>Date:    Tue, 6 Jan 1998 14:29:31 -0800
>From:    Mark Ollendorff 
>Subject: AdTech West Convention - Entertainment hits the Internet
>
>I happen to be working for this convention and I thought it would be
>applicable for this group.  Please contact me for more information.

Mark Ollendorff  = slave

------------------------------

Date:    Wed, 7 Jan 1998 01:46:39 -0500
From:    Stephen Kay 
Subject: AdTech West Convention - krap h!tz dze !nternet

>Mark Ollendorff  =3D slave

Well, antiorp, I don't often enjoy your *krap*, but this
time I have to say:

tanKz 4 dze laff

sTvun K =

------------------------------

Date:    Wed, 7 Jan 1998 10:57:11 +0100
From:    Peter Castine 
Subject: Re: G3's+OS8

JohnBrit explicated:
>OK. It seems that I have some explaining to do.
>The major problem that our four engineers have with being forced to use
>OS8 is
>the fact that whoever aquired Now Software (can't remember who right now)
>seems to have no intention of updating Now Utilities for OS8.

There has been talk of an update to NowUtils for OS8, but it _does_ seem
to be a long time coming (and I hadn't noticed that Now had been bought
up...)

However, I've had no trouble using Now Menus from the 6.7 incarnation of
NowUtil.

After about one day of getting used to the differences, I now use
spring-loaded folders quite happily and do not miss Now FolderMenus.

What I *do* miss is SuperBoomerang, which crashes at startup. One
_ersatz_ I am trying is to keep my Recent Documents folder as a
Tab/Pop-Up Folder and avoiding the Standard Open dialog as much as
possible (consider that Apple's UI people were saying that the Standard
Open dialog was an anachronism back in the days of System 6...)

As for total speed--I'm wondering more and more how much Now Utils is
responsible for slowing down my Mac. Both on my shiny new G3 and my old
IIfx (and a 9100 I used to work with), there is a remarkable difference
in general performance between running with my standard extension set and
extensions off. And Now Utils has always been a staple on my Mac. Maybe
going cold turkey would be the best thing...

Cheers,

Peter

---------------- http://www.prz.tu-berlin.de/~pcastine/ ----------------
Dr. Peter Castine           | I believe that the use of noise to make
pcastine@prz.tu-berlin.de   | music will continue and increase until we
                            | reach a music produced through the aid of
                            | electrical instuments.  -- John Cage, 1937

------------------------------

Date:    Wed, 7 Jan 1998 13:42:21 +0100
From:    Thomas Schneider 
Subject: newinstance and collective 2

Hi, again the problem regarding the newinstance routine and collectives :

Evaluation the newinstance problem I found the following behaviour :
The external wich calls the newinstance function is only a PPC external
written
in C++ (for this there are little changes of the Max includes neccessary).
The error occured, when the newinstance function is called in the new
function
of a class outside the Rcode segmentS (there exist no code-segments in a PPC
code ...) with the external main and new function.
When I call the newinstance function in the external main or new function
there
will be no problem, but calling newinstance outside this Rcode segmentS it
comes
to this error in the collective.
Debugging the external, I see, the error occured on the typedemess routine,
called from Max after newinstance. typedemess returns an error resulting in
a
Bus Error.

Why this in a PPC project where no different code-segments exists ?
Did anybody have an answer to this strange behaviour ?

I know, it sounds very mystic, but a similiar problem I have with the
rescopy
routine. In my external a very great amount of resource are copied with the
rescopy routine in the main function. Sometimes it works fine, two days
later
without changing anything suddenly there occured an error when access a
resource. Compiling the external again, and you are able to work for a few
days
without an error ...
The only way I found to resolve this problem was to use my own resource
copy.
(I copy now the resources myself into the memory and access to them
directly.)

Ok, it is a very big external (the PPC code needs about 700k).
Is here perhaps a limitation of Max reached, or what could be the problem ?

Thanks

Thomas Schneider

------------------------------

Date:    Wed, 7 Jan 1998 15:43:04 -0000
From:    Nick Rothwell 
Subject: Registry object

I've documented, pack and uploaded this to

        http://www.cassiel.com/software/

There's a text README file there (which is, in fact, the
documentation).

The functionality is all provisional (which means: I'm quite happy
with it, but other people might hate it or find it's missing lots of
essential features).

--
         Nick Rothwell, CASSIEL        contemporary dance projects
         http://www.cassiel.com        music synthesis and control

             years, passing by, VCO, VCF, and again, and again

------------------------------

Date:    Wed, 7 Jan 1998 19:00:19 +0100
From:    Peter Castine 
Subject: unknown message argument type

Dear Collected Wisdom,

My current efforts at programming a new external have been rebuked by =
Max with:

    =80 check failed: unknown message argument type

This happens when I try to create a new object box with my external.

The only reference to a "check failed" message I can find in the =
documentation has to do with getbytes(), which is never used in this =
external. The text following the colon in the error message might =
indicate that I attempted to call addmess() with some wierd =
parameters, but I can see nothing wrong with what I've done (famous =
last words, I know). But, having added some strategic post() =
statements, my main() seems to be OK, and the error message doesn't =
occur until instantiation time, anyway. More strategically placed =
post() statements indicate, however, that my instantiation code never =
gets called.

I must be doing something mind-bogglingly stupid. Anyone care to =
point out what it might be? Particularly annoying, because I started =
from working code...

----- The Code -------

void main(
        fptr* iFunctionPtr)

        {
        EnterCodeResource();
        PrepareCallback();

        FNS =3D iFunctionPtr;

        setup(  &gQKSendClass,                          // Pointer to our
Class Definition
                        NewQKSend,                                      //
Instance Creation Function
                        NULL,                                           //
No Instance Destruction Function
                        (short) sizeof(QKSend),         // Class Object Size
                        NULL,                                           //
No Menu Function
                        A_SYM, 0);                                      //
Type list for Arguments

        // Our messages
        addbang((method) DoBang);
        addmess((method) DoBrowse, "open", 0);
        addmess((method) DoBrowse, "browse", 0);

        // System messages
        addmess((method) DoAssist, "assist", A_CANT, 0);
        addmess((method) DoInfo, "info", A_CANT, 0);
        addmess((method) BrowseNow, "dblclick", A_CANT, 0);

        // Anything else is interpreted as a Sequence Name
        addmess((method) DoAnything, "anything", A_GIMME, 0);

        finder_addclass("System", "QKSend");

        rescopy('STR#', kQKSendResID);

        post("Loaded external file QKSend");

        ExitCodeResource();
        }

/**************************************
 *
 *      Instantiate new QKSend object
 *
 **************************************/

void* NewQKSend(Symbol* iSymbol)
        {
        QKSend* myObject;

        EnterCallback();

        myObject =3D (QKSend*) newobject(gQKSendClass);         //
Initializes =
theObject component

        // Add proxy inlet to set message
        myObject->proxyList[0] =3D proxy_new(myObject, 1L, =
&myObject->inletNum);

        // Other object components
        CopySequenceName(iSymbol->s_name, myObject->sequenceName);
        myObject->theDescType   =3D typeApplSignature;          // Do this
by default, =
may
                                                                                                                //
be overridden by DoubleClick, open,
                                                                                                                //
or browse messages. These will set
                                                                                                                //
up targetID and thePSN as appropriate.
        myObject->isReady       =3D true;
        myObject->isOrphan      =3D false;

        ExitCallback();

        return myObject;
        }

--- End of Code ---

CopySequenceName() just copies chars from a C-String into a Pascal =
String.

Thanks,

Peter

---------------- http://www.prz.tu-berlin.de/~pcastine/ =
----------------
Dr. Peter Castine           | I believe that the use of noise to make
pcastine@prz.tu-berlin.de   | music will continue and increase until =
we
                            | reach a music produced through the aid =
of
                            | electrical instuments.  -- John Cage, =
1937

------------------------------

Date:    Wed, 7 Jan 1998 12:31:20 -0700
From:    "C. Todd Robbins" 
Subject: Re: Graphics and hot spots

> >I want to have a PICT image onto which I can define irregular hot spots
> >that will respond to mouse roll overs and/or clicks.
>
> MouseState reports the button-status and the location of the mouse.
> This works also when moving the cursor over a PICT image in a graphic
window.

I have been using mouse state--my only problem with it is that its fine
if my 'hot spots' are rectanglar (sp?), but its a hassle if I want my
regions to have, as I said, irregular shapes.

In the past, I've worked with C programers--they had me create 2-bit
masks that would be used to define a hot spot. I was hoping someone
might have developed a similar a way of working.

A month or two ago someone asked for suggestions on what kind of MAX
objects would be appreciated. Well, here's my vote.

I do like the mouse state object alot. Especially useful (and cool) is
how one can  get info on the speed of the mouse.

> >The response will be graphic as well as musical, so I also need a way to
> >overlay little picts that correspond to the hot spot that is being
> >rolled over. (Gif-like animations would be great too!)
>
> With the PICS object you can create "Gif-like animations"
>
> Roby Steinmetzer
> Luxembourg, Europe

Thanks, I'll take a closer look at the PICS object.

C. Todd Robbins
sf, ca

------------------------------

Date:    Wed, 7 Jan 1998 13:48:13 -0800
From:    ai 
Subject: ===HELP: Which Mac laptop < $1000 (used) can run Max 3.5 OK??? ===

Jan 7, 1997

Hello,

I'm looking to buy a used Mac color laptop computer to be able
to run Max 3.5.8 with. (for example: used 280c: $500)

Can anyone suggest which models will work OK with Max or -
if certain models might present some problems?

Thanks in advance for any info to me at:  ai@wco.com

------------------------------

Date:    Wed, 7 Jan 1998 19:01:49 -0500
From:    Stephen Kay 
Subject: ===HELP: Which Mac laptop < $1000 (used) can run Max 3.5 OK??? ===

>I'm looking to buy a used Mac color laptop computer to be able
>to run Max 3.5.8 with. (for example: used 280c: $500)

My PBook 540c runs it just great.  I'm considering buying a new
G3 PBook, then I could sell this one.  If anyone's interested,
make me an offer:

PBook 540c - excellent condition - 32 mb RAM, 320 mb drive
68040, 66 mHz (?)
PowerPort 500 19.8 modem (internal)
4 batteries + external battery charger

Stephen Kay
----------------------- The MegaMAX Collection -----------------------
  Over 30 Max objects for the creation of more professional looking, =

         feeling, and functioning patchers and applications.
                          Demos available at:
                      http://www.musikinetix.com
----------------------------------------------------------------------

------------------------------

End of MAX Digest - 6 Jan 1998 to 7 Jan 1998
********************************************