From:
                                                            6/21/97 11:00 PM
Subject: MAX Digest - 20 Jun 1997 to 21 Jun
1997To: Recipients of MAX digests 

There are 3 messages totalling 113 lines in this issue.

Topics of the day:

  1. New vs. Old. (Re: MAX Digest - 17 Jun 1997 to 18 Jun 1997)
  2. timein
  3. info dialog in external objectsHello,Could anyone answer this questions
     about writing external objects?I'm trying to make a "Get Info" dialog,
     hence I would get and set "dialog item text" with numerical values. But
I
     can't use the "NumToString" toolbox function. I get something
incoherent
     in the string argument  and not the same thing if I do mutiple calls to
     "NumToString" with the same value in the  long argument.Here is the
     fragment of code wich do that. It is invocated when an "info" message
is
     received by my object.void xyslider_info(XYSlider *x, void *p, void
     *b){Str255 buf;Rect
     tempRect;SetUpA4();SetRect(&tempRect,9,50,200,80);EraseRect(&tempRect);Mov
     eTo(1 0,60);NumToString(x->s_xMax,buf);DrawString(buf); //something
     incoherent is drawnpost("xMax = %s", buf); //something incoherent is
     postedRestoreA4();}Another question. What is the purpose of
     "patcher_avoidbox". I don't find the doc about it in "Writing External
     objects for Max".Thank's for your help.Jean Favo! ry

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

Date:    Sat, 21 Jun 1997 11:33:40 +0100
From:    Nick Rothwell 
Subject: New vs. Old. (Re: MAX Digest - 17 Jun 1997 to 18 Jun 1997)

>I still use MasterTracks Pro 5.0! From 4 or 5 years ago...Maybe musicians
>are smarter than MIS departments and the Microsoft Ideal Consumer and we
>realize that an upgrade does not presume usefulness.

Absolutely. The growth of the computer consumer market has made the
companies much more responsive to that which the uneducated market wants
and that which is easy to provide: lots and lots of features documented in
a flyer or ad. with drop-shadowed, 3D bullet lists.

There are a lot of wonderful "obsolete" machines that are
>fantastic for a personal audio workstation.

Agreed. For those of us not doing digital audio or video, the choice is
even greater. This PowerBook 520 I picked up for $800 is a beautiful
machine - a great MIDI engine - and I have no intention of upgrading any
part of it at the moment. (David Z. still hasn't got back to me with the
alleged single reason why I'm going to be moving to PowerPC...)

The problem, of course, is that the vendors, distributors and dealers don't
like you and me. They despise you and me. They are, at the very least, rude
to you and me. We don't give them money, and hence, they don't give us
service.

>Sometimes, I think we're a bit doomed, since these machines
>are quickly getting so complex, they will eventually be like the weather
>where some days the machine will please you, other days be a total piece of
>shit.

You mean yours isn't?

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

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

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

Date:    Sat, 21 Jun 1997 10:25:14 -0400
From:    Matthew Davidson 
Subject: timein

Has anyone created a patch that will accept smpte/mtc via the timein
object, give it a tempo, time sig and offset, and have it spit out pulses
& measure numbers?  Kind of like a combo of timein and tempo.

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

Date:    Sat, 21 Jun 1997 19:41:40 +0000
From:    Jean Favory 
Subject: info dialog in external objectsHello,
         Could anyone answer this questions about writing external
objects?I'm
         trying to make a "Get Info" dialog,
         hence I would get and set "dialog item text" with numerical values.
         But I can't use the "NumToString" toolbox function. I get something
         incoherent in the string argument  and not the same thing if I do
         mutiple calls to "NumToString" with the same value in the  long
         argument.Here is the fragment of code wich do that. It is invocated
         when an "info" message is received by my object.void
         xyslider_info(XYSlider *x, void *p,
         void *b){Str255 buf;Rect
tempRect;SetUpA4();SetRect(&tempRect,9,50,200,
         80);EraseRect(&tempRect);MoveTo(1 0,60);NumToString(x->s_xMax,
         buf);DrawString(buf); //something incoherent is drawnpost("xMax =
%s",
         buf); //something incoherent is postedRestoreA4();}Another
question.
         What is the purpose of "patcher_avoidbox". I don't find the doc
about
         it in "Writing External objects for Max".Thank's for your help.Jean
         Favo! ry

Hello,

Could anyone answer this questions about writing external objects?

I'm trying to make a "Get Info" dialog, hence I would get and set=20
"dialog item text" with numerical values. But I can't use the=20
"NumToString" toolbox function. I get something incoherent in the=20
string argument=8A and not the same thing if I do mutiple calls to=20
"NumToString" with the same value in the  long argument.
Here is the fragment of code wich do that. It is invocated when an=20
"info" message is received by my object.

void xyslider_info(XYSlider *x, void *p, void *b)
{
        Str255 buf;
        Rect tempRect;
=09
        SetUpA4();
=09
        SetRect(&tempRect,9,50,200,80);
        EraseRect(&tempRect);
        MoveTo(10,60);
        NumToString(x->s_xMax,buf);
        DrawString(buf); //something incoherent is drawn
=09
        post("xMax =3D %s", buf); //something incoherent is posted
=09
        RestoreA4();
}

Another question. What is the purpose of "patcher_avoidbox". I don't=20
find the doc about it in "Writing External objects for Max".

Thank's for your help.

Jean Favory

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

End of MAX Digest - 20 Jun 1997 to 21 Jun 1997
**********************************************