Subject: MAX Digest - 24 Feb 1998 to 25 Feb 1998
Date: Thu, 26 Feb 1998 00:00:14 -0500
From: Automatic digest processor 
Reply-To: MAX - interactive music/multimedia standard environments
     
To: Recipients of MAX digests 

There are 12 messages totalling 404 lines in this issue.

Topics of the day:

  1. 23 24 1998 1998
  2. .......................--_-----....
  3. 23:18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
     +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
     +010023:18:45 +010023: 18:45 +010023:18:45 +010023:18:45 +010023:18:45
     +010023:18:45 +010023:18:45 +01        00 krapmaTTer ++
  4. Elegant Solutions? (2)
  5. timer inaccuracy
  6. platforms
  7. Max Toolbar Disappeared (3)
  8. AiffPlayer & Boids Fat versions now available
  9. MIDI-controlled video switching

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

Date:    Tue, 24 Feb 1998 23:46:01 -0600
From:    =cw4t7abs 
Subject: 23 24 1998 1998

>From:    "C. Todd Robbins" 

>I wonder
>What I'm really hoping
>has become one
>such simple
>yet is so useful thing)
 >advance Thanks thoughts.

tr.-!k. !f 1 haz knoledge ov
zkuarez lokat!on dzen
all = klar
1 aku!rez kno.ledge.
by plac!ng w!ndow !n 1_-spec!f!k               lokat!on.
!n regardz 2 skreen rez.

          -----||||---___-.....
       The traditional Macintosh error codes are displayed like this:
       0F0003           w e b . g F x . a u d ! o . k 0 d E . d e s ! g n
  |      ||||||       |  |
                  hTTp://www.god-emil.dk/=cw4t7abs|
hTTp://www.tezcat.com/~antiorp     |  |    |    ||   |   |
       0F0003             [ 0 f 0 0 0 3 | m2 s Ch 1 n3n | k u n Z t ]
-  |             |    |  |
       Where F indicates an exception occurred, and 3 indicates an illegal
|-   |                   |
       instruction occurred.
                         |

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

Date:    Tue, 24 Feb 1998 23:49:29 -0600
From:    =cw4t7abs 
Subject: .......................--_-----....

>Date:    Tue, 24 Feb 1998 13:34:35 +0000
>From:    "C. Todd Robbins" 
>Subject: Elegant Solutions? (Addendum)
>
>(To add to my post of a few hours ago.)
>
>I was a liberal arts major (music) graduating in 1989, the pre-dawn of
>ubiquitous personal computing, so some things still scare me...
>
>BUT, I now know the ways of "if-then-else", and it *helps* my previously
>described mess.
>
>Still seeking a more elegant solution.

seek.parallel.
> elegant solution.
2.1.!n.elle.gant.veLt.maTTer.
zpank.zuper.zuper.zmak.krzt.zbump.auz.
und tzo va!tr.

16MHz would have been zooooooooooooooming on
_- 1 + - f - - - 3 m 2 s c h ! n 3 n k u n z t

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

Date:    Tue, 24 Feb 1998 23:52:40 -0600
From:    =cw4t7abs 
Subject: 23:18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
         +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
+010023:18:45
         +010023:18:45 +010023: 18:45 +010023:18:45 +010023:18:45
+010023:18:45
         +010023:18:45 +010023:18:45 +01        00 krapmaTTer ++

23:18:45 +0100
>From:    Peter Castine 

>The original Skinny Mac, Fat Mac, Mac Plus, and SE all ran at 8MHz.
>
>And I was recently reminded that Lisa (remember her?) ran at a whopping
5MHz.
>Where would we be without rhetorical               questions?

at a whopping
5MHz.

23:18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
+010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
+010023:18:45 +010023:
18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45 +010023:18:45
+01
00 krapmaTTer ++

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

Date:    Tue, 24 Feb 1998 21:52:29 -0800
From:    David Zicarelli 
Subject: Re: Elegant Solutions?

"C. Todd Robbins"  writes:

>I have created a "graphic" window in which I've abutted 32 pixel square
>PICS objects into a 5x5 grid. I want the appropriate PICS object to
>animate when the mouse is over it. (MIDI info will also be triggered, of
>course.)
>
>OK. So I use MouseState to find out where the mouse is, and I set the
>0,0 point on the top right point of my grid.
>
>The tack I have been taking is to compare the X and Y mouse position to
>a string of less-than and greater-than objects.

I'm sure lots of people will respond and say the same thing,
so let me be the first. Take your MouseState output and divide x and
y by 32. If you're really a geek, you can just do this with a
>> 5 object (left-shifting by 5 bits is the same as dividing by
32). You'll then have a row and column. Assuming you have
five pics objects in each row, multiply the row number by 5 and
add the column number. You now have a unique value for each
pics object. Then prepend that number to some message, and
use however many route objects you need to get to its inlet.

You'll be able to do this sort of thing much more easily inside
a patcher window soon, by the way.

David Z.

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

Date:    Wed, 25 Feb 1998 08:34:23 +0100
From:    "Dr. Karlheinz Essl" 
Subject: timer inaccuracy

Dear MAXers!

I just want to report that the timer object does not work accurate when the
MAX scheduler is set to 1 ms (in the "Configuration..." menu). Last
saturday during a 70 minutes performance of a multimedia Cage project it
turned out that a PB 5300 (with 4 ms scheduler ticks) was quite in
synchronisation with digital stopwatches, whereas my PB 3400/240 (with 1 ms
scheduler ticks) was nearly 2 minutes (!!!) ahead!

Could this be fixed for a future update?

Cheers,

   Dr. Karlheinz Essl - Composer
   Vienna / Austria
   Studio for Advanced Music & Media Technology
   http://www.essl.at/

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

Date:    Wed, 25 Feb 1998 13:55:22 +0100
From:    Peter Castine 
Subject: Re: platforms

Nick Rothwell , quoting...
>> How fast does a Plus run? 16MHz? Ah, memories.
>
>I sequenced my recently-released album on an SE/30, which is also
>16MHz I think.

Yes, the SE/30 ran at double the clock rate of the original Macs (so, at
16MHz, whereas the older machines were at 8).

The SE/30 was one zippy little machine. What with naught but a monochrome
512x384 monitor to drive, and a system that wasn't loaded down with all
the stuff that Systems 7 & 8 have brought us, a 16MHz 68030 could give
you damn good performance. Heck, you could even turn MultiFinder off on
System 6.

There was an article in _Die Zeit_ a few weeks back, reminiscing on the
original System Software from 1984. We were running the system off a 400
kB diskette back then--not hard disks with <10ns access time--but you
could boot a Mac in a fraction of the time it takes to get my snazzy G3
to start up.

O tempore, o mores.

Cheers,

Peter

---------------- http://www.prz.tu-berlin.de/~pcastine/ ----------------
Dr. Peter Castine           | When I'm good, I'm good. When I'm bad, I'm
pcastine@prz.tu-berlin.de   | very good.                     -- Mae West

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

Date:    Wed, 25 Feb 1998 13:55:09 +0100
From:    Peter Castine 
Subject: Re: Elegant Solutions?

C. Todd Robbins wrote:
>I have created a "graphic" window in which I've abutted 32 pixel square
>PICS objects into a 5x5 grid. I want the appropriate PICS object to
>animate when the mouse is over it. (MIDI info will also be triggered, of
>course.)
>
>OK. So I use MouseState to find out where the mouse is, and I set the
>0,0 point on the top right point of my grid.
>
[schnipp]
>
>What I'm really hoping is that there is some programmer's trick for
>dealing with this kind of problem. (I'm thinking of the mod [%]
>function, which I had no awareness of, but after someone told me about
>it, has become one of my most used Max objects. It does such a simple
>thing, yet is so useful.)

Well, first of all, in this case you want division by 32 (with the /
object), not mod.

Get the mouse coordinates, divide both by 32. This will give you (with
the 640x480 screen) values from [0, 0] to [19, 14]. You may need to
subtract 1 from each of the coordinates first: check what the exact
values MouseState gives you at the extreme edges of the window, and make
sure the arithmetic works out exactly... you can also set the arithmetic
up so that the range of resulting values runs from [1, 1] to [20, 15].
The thing is to make sure that you get consistent behavior across the
screen.

Anyway, you want to map the two-dimensional reduced coordinates to a
one-dimensional list of PICS objects. One way would be to pack the two
reduced coordinates to a list, and pass them through two chained route
objects, routing on the reduced x coordinate, and then routing the y
coordinate (again using two chained route objects) to generate a bang to
tickle the appropriate PICS. But you might find it more efficient to take
(20y + x) with the reduced coordinates. This formula maps each possible
coordinate to a unique index in the range [0,300], and use the index into
a coll object to read the name of the PICs.

Hope this helps you on your way,

Peter

---------------- http://www.prz.tu-berlin.de/~pcastine/ ----------------
Dr. Peter Castine           | Too much of a good thing is wonderful.
pcastine@prz.tu-berlin.de   | -- Mae West

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

Date:    Tue, 24 Feb 1998 16:26:34 -0500
From:    Michael Sweet 
Subject: Max Toolbar Disappeared

I'm using 3.5.9 on a 9600 with system 8.1.  Things were fine for the last
couple of weeks but recently whenever I start max and create a new patcher
window, half of the max toolbar has disappeared (from the gate on to the
right).  I can select the blank object but as soon as I place it in the new
patcher window max immediately crashes.

I've thrown away my preferences file...Has anyone had this problem before?
It looks like I'll have to reinstall max, but I would like to avoid it in
the future.  Does it have anything to do with what I have installed in the
externals or startup folder?

Thanks -

Michael Sweet

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

Date:    Wed, 25 Feb 1998 10:56:07 -0400
From:    Curtis Bahn 
Subject: Re: Max Toolbar Disappeared

>I'm using 3.5.9 on a 9600 with system 8.1.  Things were fine for the last
>couple of weeks but recently whenever I start max and create a new patcher
>window, half of the max toolbar has disappeared (from the gate on to the
>right).  I can select the blank object but as soon as I place it in the new
>patcher window max immediately crashes.
>
>
>I've thrown away my preferences file...Has anyone had this problem before?
>It looks like I'll have to reinstall max, but I would like to avoid it in
>the future.  Does it have anything to do with what I have installed in the
>externals or startup folder?
>
>Thanks -
>
>Michael Sweet

Exactly the same thing happened to me yesterday during an MSP session using
a G3 with OS8 and max 3.5.9.  I had the hardest time getting the graphical
objects from the tool bar back.  It was very weird, initially reinstalling
MAX and the doing a clean system install didn't even solve the problem.  I
threw out everything I could find and reinstalled again and it worked.
This never has happened to me using MAX in the past.  Are others
experiencing the same thing, or, does anyone know how to more easily get
back after it happens to you?

thanks,
Curtis Bahn

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

Date:    Wed, 25 Feb 1998 12:47:00 -0500
From:    Stephen Kay 
Subject: Max Toolbar Disappeared

>I'm using 3.5.9 on a 9600 with system 8.1.  Things were fine for the las=
t
>couple of weeks but recently whenever I start max and create a new patch=
er
>window, half of the max toolbar has disappeared (from the gate on to the=

>right).  I can select the blank object but as soon as I place it in the
new
>patcher window max immediately crashes.

Incidentally, the objects in the startup folder load in alphabetical orde=
r.
So if you view the folder as a list sorted by name, you should be able to=

see which object is the first one not being displayed correctly.  You cou=
ld
then try removing it and see if it is the culprit.  However, its probably=

not so simple.

One thing I've noticed is that sometimes problems can be caused by too ma=
ny
MaxTemp files in the trash.  Each time you run Max, it creates a temporar=
y
file full of resources.  If you crash, this file remains.  If you're havi=
ng
weird problems, especially "resload" errors on startup, quit, empty the
trash, and try it again.

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

         feeling, and functioning patchers and applications.
                      http://www.musikinetix.com
                          sk@musikinetix.com
----------------------------------------------------------------------

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

Date:    Wed, 25 Feb 1998 15:40:55 -0500
From:    Eric Singer 
Subject: AiffPlayer & Boids Fat versions now available

(...it's about time, Eric!)

I have just posted Fat (PPC-native) versions of two of my objects:
AiffPlayer & Boids.  They are available from http://cat.nyu.edu/eric and
also http://ericsinger.com (which is currently not working).  FTP site
admins, please feel free to upload them to your sites.

Please note that these objects are SUBSTANTIALLY UNTESTED, though I
believe them to be working.  As I did not want to delay release any
further, I am leaving the testing up to you, the users.  Please send me
email about any bugs, comments, feature requests, etc.

New features/bug fixes in AiffPlayer:
- added 'pan' message to pan sounds
- added 'path' message to set search path for sound files
- eliminated the maximum files argument; set internal limit to 512
- fixed a problem where closing a file didn't decrement open file
count

See the .help files for more information.

Thanks to David Z. and Stephen Kay for their help in getting over the
PPC & Codewarrior hurdles.

Eric Singer

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

Date:    Wed, 25 Feb 1998 18:48:27 -0600
From:    Dafna Naphtali 
Subject: MIDI-controlled video switching

        Can anyone give me advice about MIDI-controlled video-switchers ?
Do they
exist ? where can I find one ?

        Dafna Naphtali
******************************************************************
Dafna Naphtali
Chief Systems Engineer
NYU Music Technology Program
ph: 212-998-5437                email: naphtald@acf2.nyu.edu
*******************************************************************

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

End of MAX Digest - 24 Feb 1998 to 25 Feb 1998
**********************************************