From:
                                                             2/7/97 12:00 AM
Subject: MAX Digest - 5 Feb 1997 to 6 Feb
1997To: Recipients of MAX digests 

There are 7 messages totalling 242 lines in this issue.

Topics of the day:

  1. box_redraw()
  2. ~objects (2)
  3. MMC installment 3
  4. alternative to dial
  5. MMC installment 2
  6. remove

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

Date:    Wed, 5 Feb 1997 22:21:13 -0800
From:    David Zicarelli 
Subject: Re: box_redraw()

Masayuki Akamatsu  asks:

>In order to let the user-interface object update, I hope to use
>box_redraw() function.  But I can't use it in PPC code because it is not
>discribed in "ext_proto.h". Even though it is defined in "ext.h" for 68K
>code. I'm using Developers Kit of MAX 3.5.
>Someone please tell me how can I do it?

box_redraw is another name for box_erase. You can use box_erase
instead, or you can add a prototype to ext_proto.h for box_redraw
that is the same as box_erase. Max 3.5 PPC exports both the symbol
"box_redraw" and the symbol "box_erase" so either approach should work.
I will correct the include file.

David Z.

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

Date:    Thu, 6 Feb 1997 10:27:17 GMT
From:    Jem Finer 
Subject: ~objects

Forgive my ignorance :

>>Dear Max
>>
>>Where do objects such as osc1~ live?
>
>In the IRCAM workstation (Next) and SGI versions of Max.

Does this mean they don't exist for Macintosh.

Thanks,

Jem Finer

Jem Finer

Kentish Town
London NW5
finer@easynet.co.uk

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

Date:    Thu, 6 Feb 1997 12:19:32 +0100
From:    Tom Mays 
Subject: Re: ~objects

>>>Dear Max
>>>
>>>Where do objects such as osc1~ live?
>>
>>In the IRCAM workstation (Next) and SGI versions of Max.
>
>Does this mean they don't exist for Macintosh.

Not yet.

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

Date:    Thu, 6 Feb 1997 11:27:06 -0800
From:    Peter Elsea 
Subject: MMC installment 3

The MMC micro tutorial continues.
First an apology- I sent the wrong example yesterday (it's a repeat of ex
1). Today's comments will be short, and I'll include yesterday's patcher in
today's example.

Today we'll add simple location. The locate command is similar to the
transport commands, but comes in two versions. The sysex string is {240 127
127 6 68 6 1 hr mn fm ss fs 247 }
The first four bytes you already know.
68 is the command number for locate.
1 means an immediate locate (0 would locate to stored value- we'll do that
tomorrow).
The following data is the target, in an almost familiar format.

Hours includes the time code type as before.
When location is sent within an MMC command or responses, there is an extra
byte of information. fs may be subframes or status. Which one is indicated
by bit 5 of the frames byte, so if you are displaying a location obtained
by MMC, you have to mask the frames with an [& 31].
You can test bit 5 with [& 32].
If bit 5 of the frames byte is set, fs indicates status, broken down like
this:
bit 6 set = location is estimated
bit 5 set = this code is invalid
bit 4 set = 1st frame of a 4 or 8 frame video sequence
bit 3 set = Time code never received
the other meaning of fs is 1/100ths of a frame. Darwin will cue up this
accurately, but I'm not sure about ADAT or DA-88.

To execute a locate, simply send the string with the desired location
filled in (all 0s is handy).

Here's the correct example:
max v2;
#N vpatcher 50 40 564 461;
#P comment 54 278 25 196617 RTZ;
#P message 79 278 14 196617 0;
#P newex 127 278 27 196617 int;
#P newex 115 326 361 196617 sxformat 240 127 0 6 68 6 1 / is $i1 + $i5 / is
$i2 / is $i3 / is $i4 / 0 247;
#P newex 115 354 41 196617 midiout;
#P number 228 279 35 9 0 59 67 3;
#P message 472 244 20 196617 96;
#P message 472 264 20 196617 64;
#P message 472 282 20 196617 32;
#P message 472 301 14 196617 0;
#P comment 427 303 35 196617 24 fps;
#P comment 427 283 35 196617 25 fps;
#P comment 427 245 35 196617 30 fps;
#P comment 428 265 35 196617 30 d;
#P comment 170 260 34 196617 Hours;
#P comment 226 260 43 196617 Minutes;
#P comment 282 260 44 196617 Seconds;
#P comment 338 260 44 196617 Frames;
#P number 339 279 35 9 0 29 3 3;
#P number 283 278 35 9 0 59 3 3;
#P number 169 279 35 9 0 23 67 3;
#P comment 112 41 27 196617 FF;
#P comment 178 41 25 196617 REC;
#P comment 246 41 32 196617 EJECT;
#P comment 279 41 32 196617 RESET;
#P comment 206 41 38 196617 PAUSE;
#P comment 74 41 32 196617 PLAY;
#P comment 41 41 32 196617 STOP;
#P button 45 55 25 0;
#P button 79 55 25 0;
#P button 113 55 25 0;
#P button 147 55 25 0;
#P button 181 55 25 0;
#P button 215 55 25 0;
#P button 249 55 16 0;
#P button 283 55 16 0;
#P newex 89 160 190 196617 sxformat 240 127 127 6 / is $i1 / 247;
#P newex 89 186 41 196617 midiout;
#P message 89 100 14 196617 1;
#P message 226 100 23 196617 10;
#P message 258 100 20 196617 13;
#P message 110 100 14 196617 2;
#P message 131 100 14 196617 4;
#P message 152 100 14 196617 5;
#P message 173 100 14 196617 6;
#P message 194 100 14 196617 9;
#P button 148 238 15 0;
#P comment 97 236 49 196620 Locate;
#P comment 146 40 27 196617 REW;
#P fasten 3 0 12 0 199 137 94 137;
#P fasten 4 0 12 0 178 137 94 137;
#P fasten 5 0 12 0 157 137 94 137;
#P fasten 6 0 12 0 136 137 94 137;
#P fasten 7 0 12 0 115 137 94 137;
#P fasten 8 0 12 0 263 137 94 137;
#P fasten 9 0 12 0 231 137 94 137;
#P fasten 10 0 12 0 94 137 94 137;
#P connect 12 0 11 0;
#P connect 13 0 8 0;
#P connect 14 0 9 0;
#P connect 15 0 3 0;
#P connect 16 0 4 0;
#P connect 17 0 5 0;
#P connect 18 0 6 0;
#P connect 19 0 7 0;
#P connect 20 0 10 0;
#P fasten 28 0 46 1 174 296 162 296 162 274 149 274;
#P fasten 43 0 45 1 233 310 207 310;
#P fasten 29 0 45 2 288 310 294 310;
#P connect 45 0 44 0;
#P fasten 30 0 45 3 344 310 381 310;
#P fasten 46 0 45 0 132 310 120 310;
#P fasten 47 0 45 0 84 320 120 320;
#P fasten 47 0 45 1 84 320 207 320;
#P fasten 47 0 45 2 84 320 294 320;
#P fasten 47 0 45 3 84 320 381 320;
#P fasten 41 0 45 4 478 280 468 280;
#P fasten 40 0 45 4 477 300 468 300;
#P fasten 39 0 45 4 477 320 468 320;
#P fasten 42 0 45 4 477 261 468 261;
#P fasten 2 0 46 0 153 265 132 265;
#P pop;

Peter Elsea
Electronic Music Studios
University of California, Santa Cruz
http://arts.ucsc.edu/EMS/Music/index.html
 elsea@cats.ucsc.edu

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

Date:    Thu, 6 Feb 1997 21:31:54 +0100
From:    dudas 
Subject: alternative to dial

Tod Fiste asks:
>Does anybody know of an alternative to the dial object?

There were some nice objects made by Pieter Jongelie, including a graphic
dial-like object. (The objects are only 68k compatible for the time being.)

You can find them on the server of Stichting Rainstick.

Here's the URL:

http://www.xs4all.nl/~rainstic/MAX/maxpage.html

I know they've publicised this page on the Max list before, so I hope they
don't mind my mentioning it.

-Richard

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

Date:    Thu, 6 Feb 1997 17:52:48 -0500
From:    Ian Tilbury 
Subject: Re: MMC installment 2

Could somebady send me part 3? My internet connection went down just as
it was retrieving it, so it's
no longer on the server.
Thanks
it.

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

Date:    Fri, 7 Feb 1997 10:02:26 +0900
From:    Jaesun 
Subject: remove

Regards,
Thanks a lot.

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

End of MAX Digest - 5 Feb 1997 to 6 Feb 1997
********************************************