Subject: MAX Digest - 4 May 1998 to 5 May 1998
Date: Wed, 6 May 1998 00:00:29 -0400
From: Automatic digest processor 
Reply-To: MAX - interactive music/multimedia standard environments
     
To: Recipients of MAX digests 

There are 9 messages totalling 302 lines in this issue.

Topics of the day:

  1. Tutorial wanted (2)
  2. MAX and HyperCard (2)
  3. polyglot stops chops
  4. IMAG\INE
  5. speech manager & msp
  6. Time code out
  7. Endless byte wallet

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

Date:    Tue, 5 May 1998 07:28:34 +0100
From:    Pieter Volger 
Subject: Tutorial wanted

I am looking for a copy of the Max-Tutorial. I lost mine.
I would pay 50,-DM ($ 30) for it.
If you have infos about resources for beginners in MAX on the net Iwould
appreciate this very much.
Thank you
Pieter

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

Date:    Tue, 5 May 1998 03:09:43 -0400
From:    Stephen Kay 
Subject: Tutorial wanted

>I am looking for a copy of the Max-Tutorial. I lost mine.
>I would pay 50,-DM ($ 30) for it.

When you buy MAX, you get the tutorial.  If you bought Max,
you have the tutorial on the disks.  If you bought Max, you
could get a replacement from Opcode even if you lost the
disks.  Therefore, you probably didn't buy Max.

>If you have infos about resources for beginners in MAX on the net Iwould=

>appreciate this very much.

First, buy Max.

Stephen Kay

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

Date:    Tue, 5 May 1998 09:44:22 +0200
From:    "Dr. Karlheinz Essl" 
Subject: MAX and HyperCard

Dear MAXers!

I want to generate MIDI note-ons in HyperCard. Does anybody out there know
a XCMD to achieve this?

Thanks in advance, and happy MAXin'

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

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

Date:    Tue, 5 May 1998 09:52:27 -0000
From:    Peter Castine 
Subject: Re: polyglot stops chops

On Mon, 4 May 1998 05:51:19 -0700, Philip Aker wrote:

>So far, dieting hasn't cut to a crash. GetNewDialog permits
>nil. Can I cut 2-10 bytes per call and GetAwayWithIt()?

The behavior of GetNewDialog() with NULL for the pointers to itemType and
itemRect isn't specified. So, relying on a particular behavior is not
good ToolBox Kharma.

It's only 10 bytes on the stack that you're saving. Not worth the risk,
if you ask me. Writing a short int to 0x00000000 is probably harmless (if
some version of the _GetDItem doesn't trap null pointers), but writing a
Rect to that address could possibly overwrite something ugly in low
memory.

Micro$oft can get away with that sort of thing, because Apple will bend
over backwards to make sure that MS apps won't crash (remember the
infamous MultiFinder patch for Excel?). Will the lads and lasses make the
same effort for Philip Aker?

Just one programmer's opinion.

Cheers,

Peter

>void GetDlgTextItem(DialogPtr dlg, short item, char *text)
>{
>    Handle h;
>    Rect itemRect;
>    short itemType;
>
>    GetDItem(dlg,item,&itemType,&h,&itemRect);
>    GetIText(h,(Byte *)text);
>}
>
>Fine. Perfect rice every time.
>
>
>The exception blows a few bytes away.
>
>void GetDlgTextItem( DialogRef theDialog, short item, char *text ) {
>
>    Handle              h;
>
>    GetDialogItem( theDialog, item, nil, &h, nil );
>    GetDialogItemText( h, (Byte *)text );
>}
>
>So far, dieting hasn't cut to a crash. GetNewDialog permits
>nil. Can I cut 2-10 bytes per call and GetAwayWithIt()?

---------------- http://www.prz.tu-berlin.de/~pcastine/ ----------------
Dr. Peter Castine          | Po swej posludze milosnej spal jak zwykle
pcastine@prz.tu-berlin.de  | dobrze, ale rano ku swemu wielkiemu
                           | zaskoczeniu aresztowano go pod zarzutem
                           | zabojstwa Gason Brisseau.   -- Woody Allen

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

Date:    Tue, 5 May 1998 14:45:00 +0000
From:    Isabelle Jenniches 
Subject: IMAG\INE

Dear Maxers,
Back on with a question about my new toy. Although this is not a real MAX
concern, I believe that there are ppl on this list familiar with the
software IMAG\INE by Steim.

Maybe somebody has encountered similar problems or, even better, knows how
to deal with the following:
I want to use IMAG/INE in a theatre situation, running short movie samples
and manipulate them live, sometimes combining them with live video by
keying. The latter works astonishingly well! Concerning the usage of QT
movies however, gives some problems.
1) I can't recall different QTmovies I have stored in various presets
before. When running through the presets in performance mode, it seems to
only find the last one that was playing in performance mode.
When *not* in performance mode I *can* access the movies through the
presets!
2) Do I always have to press the keycombinations when accessing a new
preset to select the foreground source or to define a solo performance, or
is there a way to store this informantion in the preset so that it opens in
the appropiate setting?
3) For playing a QTmovie do I always have to be in performance mode? Means
I cannot test my settings while still having the Mappings window open.

Any help would be very much appreciated, as I have to decide if IMAG\INE
will fulfill my needs or if I have to find another solution... that would
be pityful indeed, as this seems such a great way to run a show leaving the
visuals flexible instead of prerecorded, in that allowing for a close live
interaction between performer and image!

greetings
isabelle

HOLOMAN; Digital Cadaver     http://www.media-gn.nl/mfa/isabelle/HOLOMAN
25-27 may 1998   Theater De Balie Amsterdam

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

Date:    Tue, 5 May 1998 13:03:48 -0500
From:    todd_winkler@BROWN.EDU
Subject: Re: MAX and HyperCard

>I want to generate MIDI note-ons in HyperCard. Does anybody out there know
>a XCMD to achieve this?

Use HyperMIDI from Ear Level Engineering. I have been using it for MIDI to
Director communication, but it was originally written for HyperCard.

_Todd

**********************
Todd Winkler, Director
MacColl Studio for Electronic Music
Brown University Department of Music
http://www.Brown.edu/Departments/Music/faculty/winkler

for "Composing Interactive Music: Techniques and Ideas using Max" see
http://mitpress.mit.edu/book-home.tcl?isbn=026223193X

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

Date:    Wed, 6 May 1998 03:32:00 +0900
From:    nobuyasu sakonda 
Subject: speech manager & msp

Hi Maxers,

When msp monopolizes sound manager without using any other audio interface
cards, Max objects which need to access sound manager can not be used.
Especially I would like to use speech object on msp.
Is there any way to use great treasures of Max such as Akamatsu's "speech"
or
Ichi's "ispeak" or something like them, which control Mac speech manager, on
msp's signal network?  The best way is that these object can out put speech
synthesized sound as a signal into msp signal network, I suppose. Is there
any

possibilities in the future?

Thank you
----------------------------------------------------------------
SAKONDA Nobuyasu (composer + author of a book "Magical MAX Tour")

5-4-8-603, Oishi-higashimachi, Nada, Kobe, 657-0043 Japan
phone & fax:  +81-(0)78-882-2263
email: sako@marin.or.jp / PXD01307@niftyserve.or.jp
homepage: http://www.bekkoame.or.jp/~nsakonda/Welcome.html

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

Date:    Tue, 5 May 1998 11:35:50 -0700
From:    Peter Elsea 
Subject: Time code out

> I have a friend with an 03D yamaha mixing desk [very
>lovely, surround etc.]. We are simply trying to get MAX to send time
>code [of any format, but preferably 25fps or smpte] to the 03D.

I've just been down that road with Philippe MontMont-
we started with the "faking mtc" patch described in my Max& MTC tutor found
at ftp://arts.ucsc.edu/pub/ems/maxtutors/
We changed the various constants to work at 25fps:
10 ms period of quarter frame messages
25 frames per second
1500 frames per minute
90000 frames per hour

Since the QF period can be exactly specified (unlike the 8.3333 needed for
30 fps), timing accuracy is reasonable (it's a Mac remember) without
resorting to setclock. It works nicely within the machine BUT....

When you try to export it, OMS 2 (for reasons known only to Doug Wyatt)
swallows all the quarter frame messages and belches them up once per
second. It works with OMS 1, or if you run the patch with MaxPlay 3.0, with
the direct connection to the serial port.

This won't be very accurate over the long term, so you will be much happier
if you buy some sort of external SMPTE/MTC box. The Cooper PPS 2 works
fine. Some of the fancy interfaces also let you generate SMPTE. I can't
recommend the OpCode XTC-64 though- it won't let Max see  MTC directly.

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

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

Date:    Tue, 5 May 1998 14:58:32 -0700
From:    Philip Aker 
Subject: Endless byte wallet

Peter Castine writes:

> >So far, dieting hasn't cut to a crash. GetNewDialog permits
> >nil. Can I cut 2-10 bytes per call and GetAwayWithIt()?

> The behavior of GetNewDialog() with NULL for the pointers to
> itemType and itemRect isn't specified. So, relying on a
> particular behavior is not good ToolBox Kharma.

You mean GetDialogItem, but yes, IM:Dialogs doesn't mention if
it would take null pointers or not.

> It's only 10 bytes on the stack that you're saving. Not worth
> the risk, if you ask me. Writing a short int to 0x00000000 is
> probably harmless (if some version of the _GetDItem doesn't
> trap null pointers), but writing a Rect to that address could
> possibly overwrite something ugly in low memory.

Good point. I'd just like do without the extraneous variables
wherever possible. Basically the problem seems to be with the
scanty behavior description in the documentation. Not to
mention that I sure wish they moved it over to C examples at
some point.

> Micro$oft can get away with that sort of thing, because Apple
> will bend over backwards...

for 100 million bux.

"Can I have 10 cents worth?"

Philip

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

End of MAX Digest - 4 May 1998 to 5 May 1998
********************************************