From:
                                                             6/1/97 11:13 PM
Subject: MAX Digest - 31 May 1997 to 1 Jun
1997To: Recipients of MAX digests 

There are 8 messages totalling 254 lines in this issue.

Topics of the day:

  1. cd volume, bogus mtr
  2. centris quadralink serial ports
  3. screen resolution
  4. multiple segments anyone? (2)
  5. snd files
  6. MAX for Newton
  7. I-Cube/MTPII

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

Date:    Sat, 31 May 1997 22:38:53 -0700
From:    David Zicarelli 
Subject: cd volume, bogus mtr

Good news of a modest improvement: after many requests, I finally
found some documentation that says how to change the volume on
an Audio CD, and I've added the feature to the cd object. I'll
try to make it available on the usual FTP sites, and it will be
included with the 3.5.4 update once I fix the mtr problem, which
for once wasn't my fault.

David Z.

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

Date:    Sun, 1 Jun 1997 14:42:34 +0100
From:    redestb 
Subject: centris quadralink serial ports

dear, I need comunicate the max with the serial ports in quadralink.
none module has this feature.
I use the Centris 650 + Max 3,0 + Quadralink

somebody has a idea ?

thanks

guille203@redestb.es
www.arrakis.es/~guille203

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

Date:    Sun, 1 Jun 1997 15:48:48 +0100
From:    "|K<" 
Subject: screen resolution

>This one is not a Max question, but this is one of the smartest
groups of
>people I know programming Macs, so here goes. Does anyone know how to
set
>the resolution for a multiscan monitor in C?

you want to take a look at the SetDepth() call. it's a part of the
GraphicsDevices manager in the ToolBox.  it's in Think Reference [the
indispensible hyperlink guide to the toolbox, the only thing it's
missing are the words 'don't panic' in big friendly letters on the
front ;-)]

|K<

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

Date:    Sun, 1 Jun 1997 15:41:26 +0100
From:    "|K<" 
Subject: multiple segments anyone?

>1) why would the setup() call fail?
>2) why does setup() not return an error code?
>               OR why do none of the FNS calls return error codes?
>                OR do the FNS calls return error codes and they are
>undocumented?
>3) am I missing some kind of compiler glue code or stubs files?

still trying to figure out these answers. . . anyone built and
external with four or more segments?
I know it seems silly to make an external so huge, to me it seems as
though the project has superceded the bounds of MAX and justifies
being it's own standalone application, but mine is not to wonder why,
mine is but to compile, link, (and in this case--cry).

|K<

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

Date:    Sun, 1 Jun 1997 15:38:16 +0100
From:    "|K<" 
Subject: Re: snd files

>I have just started experimenting with the snd object and wonder if
anyone
>can point me to a site where I can download some snd files. Also, I
wonder if
>there is a freeware converter that will change au and AIFF files into
snd
>files? I'm new to this, there may not be a way to convert these files
into
>one another.

what you need is SoundHack by Tom Erbe.  The freeware version is at:
ftp://music.calarts.edu/pub/SH
the docs are at
http://music.calarts.edu/~tre/sndhckdoc

the freeware is non ppc native and comes in two forms, one for 68k
macs with math coprocessor and the other without.  to get the PPC
version (highly suggested if you intend on using it for more than just
soundfile conversions--like the beautiful convolution, pvoc, or
binaural spatialzation algorithms, you need to register which I think
is something like $50 [a bargain for what you get . ... ])

ps to save a sound as a snd (sound resource) use the 'export' function
in soundHack

|K<

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

Date:    Sun, 1 Jun 1997 18:30:55 +0200
From:    Peter Castine 
Subject: Re: MAX for Newton

Steve Ellison  remarked:
>I just bought an MP-2000 a couple weeks ago.  Fun stuff!  Good article in
>Mactech last month convinced me to make the plunge.  I think somebody at
>CNMAT has done some MIDI stuff with the Newton.

The person an CNMAT is, I'm pretty sure, Adrian Freed.

Not being one to miss too many opportunities to make a plug, there's also a
nice table of Set Classes available for Newton at

    ftp://ftp.prz.tu-berlin.de/pub/MusicAnalysis/Newton/

Essentially your standard appendix as found in books by Forte, Rahn,
Morris, et. al., but this one plays the set class prime forms for you.

Those who don't already know what Set Theory is all about probably don't
want to, so I won't expound.

Enjoy,

Peter

------------------ http://www.prz.tu-berlin.de/~pcastine/ ------------------
Dr. Peter Castine           | The e-mail address still works. It's just the
pcastine@prz.tu-berlin.de   | university computer center that's been flaky
                            | (particularly on public holidays).
                            | If mail bounces, please try again.

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

Date:    Sun, 1 Jun 1997 14:17:18 -0400
From:    Stephen Kay 
Subject: multiple segments anyone?

>still trying to figure out these answers. . . anyone built and
>external with four or more segments?
>I know it seems silly to make an external so huge, to me it seems as
>though the project has superceded the bounds of MAX and justifies
>being it's own standalone application, but mine is not to wonder why,
>mine is but to compile, link, (and in this case--cry).

I will try to help.  I have several large (7 segment) externals that work=

fine. Most of this info is in the MaxDevDoc, but here goes:

1) make sure your main() is in segment 1.
2) inside main(), do this (CodeWarrior 11):

void main(fptr *f)
{
  Str255 buf;
  short n, i, theID;
  OSType theType;
  Handle ch;
  =

        EnterCodeResource();
        PrepareCallback();
        RememberPart2();        //call for each separate source file
        RememberPart3();
        RememberPart4();
        RememberPart5();
        RememberPart6();
        RememberPart7();
        FNS =3D f;                =

        setup(&class, etc.....);        //your setup() method
        =

        n =3D Count1Resources('XXXX');            //XXXX is your segment =
type
        for (i=3D1; i<=3D n; i++)
        {
                ch =3D Get1IndResource('XXXX', i);
                GetResInfo(ch, &theID, &theType, buf);
                rescopy ('XXXX', theID);
        }

        //initialization stuff
        ExitCodeResource();
}

Inside each of your source files (except main()):

extern fptr *FNS;               //<---this might be your problem
void RememberPart2(void)        //or Part3, or Part4....
{
        PrepareCallback();
}

The details of setting your project preferences also may be off (follow t=
he
details in the MaxDevDoc), but if this info doesn't solve your problem,
I'll e-mail you an empty, multi-seg project file so you can take a look. =

(CodeWarrior11 OK?)

Stephen Kay

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

Date:    Mon, 2 Jun 1997 01:32:16 +0200
From:    Joseph Butch Rovan 
Subject: I-Cube/MTPII

>Are any of you using I-Cube with a MTPII? No data (ie. sysex) seems to
reach
>my I-Cube when it is patched through that interface. No problem with an old
>Translator Pro. Infusion Systems seems to not have an MTPII available and
so
>has been unable to offer advice. Any ideas about what could be wrong here?
>Neither active sensing nor sysex are muted in the MTP software
configuration.
>

Well, I'm getting a little rusty on my Opcode-related knowledge, but I
remember that, as of last Fall, there wasn't a fully-compatible OMS driver
for the MTPII. What's the story now? I know that the ports could be
accessed, but one couldn't access the MIDI Machine control stuff. Have you
tried it with the original MTP?

Butch Rovan

-----------------
Butch Rovan
rovan@ircam.fr

7 Impasse des Trois Soeurs
Paris 75011
01 48 06 38 62

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

End of MAX Digest - 31 May 1997 to 1 Jun 1997
*********************************************