From:
                                                           10/19/97 11:00 PM
Subject: MAX Digest - 18 Oct 1997 to 19 Oct
1997To: Recipients of MAX digests 

There are 7 messages totalling 257 lines in this issue.

Topics of the day:

  1. endianess (2)
  2. Power Computing Problems? (2)
  3. oms timing & smpte
  4. Pict and rect, problems with MaxPlay and collectives
  5. Power Computing compatibility etc...

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

Date:    Sat, 18 Oct 1997 22:05:03 -0700
From:    David Zicarelli 
Subject: Re: endianess

Issac Roth  asks:

>Does anyone have an object that can do single byte bit-flips?
>Is there a way to do this arithmetically that I'm forgetting?

Here's a Max patch that seems to flip the bits in a single byte.
Stephen Kay's patch reverses the top and bottom bytes of a
16-bit word.

David Z.

max v2;
#N vpatcher 50 40 488 468;
#P newex 364 187 27 196617 >> 7;
#P newex 315 189 27 196617 >> 5;
#P number 116 389 97 9 0 0 0 3;
#P newex 134 338 27 196617 +;
#P newex 246 288 27 196617 +;
#P newex 68 279 27 196617 +;
#P newex 327 254 27 196617 +;
#P newex 224 246 27 196617 +;
#P newex 108 237 27 196617 +;
#P newex 34 242 27 196617 +;
#P newex 267 186 27 196617 >> 3;
#P newex 223 184 27 196617 >> 1;
#P newex 176 187 27 196617 << 1;
#P newex 132 186 27 196617 << 3;
#P newex 90 185 27 196617 << 5;
#P newex 44 184 27 196617 << 7;
#P number 119 68 120 9 0 0 0 3;
#P newex 363 133 35 196617 & 128;
#P newex 314 133 31 196617 & 64;
#P newex 267 131 31 196617 & 32;
#P newex 223 132 31 196617 & 16;
#P newex 177 132 27 196617 & 8;
#P newex 134 130 28 196617 & 4;
#P newex 91 128 28 196617 & 2;
#P newex 46 127 27 196617 & 1;
#P connect 0 0 9 0;
#P connect 1 0 10 0;
#P connect 2 0 11 0;
#P connect 3 0 12 0;
#P connect 4 0 13 0;
#P connect 5 0 14 0;
#P connect 6 0 23 0;
#P connect 7 0 24 0;
#P connect 8 0 0 0;
#P connect 8 0 1 0;
#P connect 8 0 2 0;
#P connect 8 0 3 0;
#P connect 8 0 4 0;
#P connect 8 0 5 0;
#P connect 8 0 6 0;
#P connect 8 0 7 0;
#P connect 9 0 15 0;
#P connect 10 0 15 1;
#P connect 11 0 16 0;
#P connect 12 0 16 1;
#P connect 13 0 17 0;
#P connect 24 0 18 1;
#P connect 14 0 17 1;
#P connect 23 0 18 0;
#P connect 15 0 19 0;
#P connect 16 0 19 1;
#P connect 17 0 20 0;
#P connect 18 0 20 1;
#P connect 19 0 21 0;
#P connect 20 0 21 1;
#P connect 21 0 22 0;
#P pop;

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

Date:    Sun, 19 Oct 1997 00:45:38 -0600
From:    =cw4t7abs 
Subject: Re: Power Computing Problems?

>Date:    Fri, 17 Oct 1997 23:15:22 -0700
>From:    Arne Eigenfeldt 
>Subject: Power Computing Problems?
>
>Greetings, Maxers.
>
>I seem to recall a thread on this issue, but of course I did not follow it,
>because at the time, it did not pertain to me.
>
>Is there a known problem with Max and Power Computing machines? I recently
>bought a PowerCenter 180, and simply trying to open a subpatcher in Max
>causes the computer to freeze. The patch itself is quite large, but the
>same subpatcher opens fine on my Powerbook 5300.

try opening the patch outside the folder !t is presentl+e in.

is it normal 4  buttons 2 bekom unreliable [remain stuck etc]
when inside a bpatcher.

---!noursikcsocietyevery1!zsikc
<>-[p u n K t p R o T o k o L]-
<>19 b!t sh!Ft reg!zt3r.
         hTTp://www.tezcat.com/~antiorp
kr0p3r0m_||-a9ff
hTTp://execpc.com/~decibel/feedband.htm

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

Date:    Sun, 19 Oct 1997 02:11:02 -0400
From:    Stephen Kay 
Subject: Re: Power Computing Problems?

>=3Dcw4t7abs says:
>is it normal 4  buttons 2 bekom unreliable [remain stuck etc]
>when inside a bpatcher.

knot buttons !n the MegaMAX kollexion.

Stephen _K_
-------- The MegaMAX Applikashun Developurrz Kollexion --------
 FulL kolor 3D UI Objex 4 kreat_ing profession+l looking aPPs,
     Mac!ntosh !nterface objex, + other Max helperz.
------------chek out the demo on the MAX 3.5 CD----------------

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

Date:    Sun, 19 Oct 1997 09:46:39 +0100
From:    Roby Steinmetzer 
Subject: Re: oms timing & smpte

Richard,

>Is there anyone who's had experience synching Studio Vision to Max using
>OMS timing??
>
>I'm asking this for someone who's successfully managed to slave Max to SV,
>but is having trouble doing it the other way around. (SV does not react)
>

I had no problems. It works fine with the timeout and timein objects. You
can
 use the .help files to check it.
But in SV you have to choose: Options/Sync  Options.../Receive sync/Midi
Time
 Code.
After that push the play button in SV. The green button with the bar at the
left
 starts flashing (don't know how it's called).
When you start the OMS timer in Max through the timeout object, SV should be
 running.

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

Date:    Sun, 19 Oct 1997 18:06:35 +0200
From:    Peter Castine 
Subject: Re: endianess

Issac Roth asks:
>Does anyone have an object that can do single byte bit-flips?
>Is there a way to do this arithmetically that I'm forgetting?
>
>Basically, I'm trying to use the serial object to talk to a little-endian
>device, one byte at a time, and all the bytes come in bitwise backwards to
>what I think they should be.

Endianness (as I recall it) referred to byte order, not to bit order
within the bytes. Stephen Kays suggestion will help you with the first,
but I understand the second to be your problem.

If you need to flip bits (11010000 -> 00001011), and want to do it with a
patcher, I think a table is the way to go. If want to keep the table
small, split the byte into two nybbles, reverse the bits nybble-wise,
then switch the nybbles. The algorithmic, non-table based approach:

    for (i = 3; i >= 0, i -= 1) {
        /* switch bit i with bit 7-i */
        }

will, I think, prove a little heavy-handed when implemented as a patcher.

For what it's worth, I recall having to write an Assembler routinelet to
do this in my final exam for _Rechnerorganisation II_. Now, _that_ brings
back memories.

Cheers,

Peter

Cheers,

Peter

---------------- http://www.prz.tu-berlin.de/~pcastine/ ----------------
Dr. Peter Castine           | I think every good Christian ought to kick
pcastine@prz.tu-berlin.de   | Falwell's ass.
                            |
                            |                    -- Sen. Barry Goldwater

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

Date:    Sun, 19 Oct 1997 21:46:11 +0300
From:    Juhani Raisanen 
Subject: Pict and rect, problems with MaxPlay and collectives

I know that this subject has been discussed some time ago but I don't find
the discussion anywhere so could someone help me.
If I use  a pict-object and try to make a collective, the pict-file
doesn't appear on the graphics-window as it should.
Also, with rect-object, MaxPlay sends an error-message saying that rect:
no such object. What's wrong?

Juhani Raisanen, teacher
College for media and arts, Tornio,
Finland

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

Date:    Sun, 19 Oct 1997 19:05:55 +0100
From:    Alex Noyes 
Subject: Power Computing compatibility etc...

> Is there a known problem with Max and Power Computing machines? I
> recently
> bought a PowerCenter 180, and simply trying to open a subpatcher in
> Max
> causes the computer to freeze. The patch itself is quite large, but
> the
> same subpatcher opens fine on my Powerbook 5300.
>
> Memory is no problem, with at least 4MB free after loading the main
> patch.
> Both computers are running System 7.6.2. The Max version I am using is
>
> (blush) 2.5.2.

I just set up an installation that's running on a PowerCenterPro 210
with no problems. I was running both Max 3.0 and 3.5. By the way, I seem
to remember someone had created versions of the counter and urn objects
that sends out bangs when their maximums are reached (unlike the budled
objects which wait till the next input to do so). It would make my life
so much  easier. Also does anyone know what the most economical way to
control 1 single spotlight from Max/MIDI?

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

End of MAX Digest - 18 Oct 1997 to 19 Oct 1997
**********************************************