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

There are 2 messages totalling 95 lines in this issue.

Topics of the day:

  1. MAX Digest - 2 Oct 1997 to 3 Oct 1997
  2. Controlling an other program

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

Date:    Sat, 4 Oct 1997 07:43:10 +0100
From:    Monika Herzig 
Subject: Re: MAX Digest - 2 Oct 1997 to 3 Oct 1997

Hi

Although I follow this list religiously but I have never seen anything
related to the lib object pop up.

After much trying I have finally successfully programmed a small patch
that lets me save and load the User Preset list from my Proteus 2.

Now I am trying to get something going to save my sound patches. I can't
even figure out how to simply receive a bulk sysex message. The problems
are:

1) When I initiate the transfer from the Proteus 2 OMS will abort the
transfer after a few patches with a framing error.

2) I designed the library script to work in 'aspatches' mode. So
theoretically it should initiate the sending of every one patch. But
still I get a framing error after maybe ten patches. The manual says that
there is a 100ms delay between receiving a patch and asking for the next
one. It either is too short (and I don't know how to change it) or
doesn't work right (it DOES seem to go just as fast as a bulk transfer).
Here is one of the scripts I have been using.

#L define pro2 Proteus2 Patches;
#L patchnumbers 128  255 1;
#L rows 32;
#L columns 4;
#L patchnames 0 11;
#L aspatches;
#L reqpatch     0xF0 0x18 0x04 0x01 0x00 / patchnum / 0x01 0xf7;
#L reqbank      0xF0 0x18 0x04 0x01 0x00 / patchnum / 0x01 0xf7;
#L inpatch              0xF0 0x18 0x04 / dc / 0x01 / patchnum / 0x01 / data
256 /
checksum 1 / 0xF7;
#L inbank               0xF0 0x18 0x04 / dc / 0x01 / patchnum / 0x01 / data
256 /
checksum 1 / 0xF7;
#L outpatch     0xF0 0x18 0x04 0x01 0x01  / patchnum / 0x01 / data 256 /
checksum 1 / 0xF7;
#L outbank              0xF0 0x18 0x04 0x01 0x01  / patchnum / 0x01 / data
256 /
checksum 1 / 0xF7;
#L param                        0xF0 0x18 4 1 3 / is $i1 & 0x00FF / is  $i1
& 0xFF00  / is
$i2 & 0x00ff / is $i2 & 0xff00 / 0xF7;
#L columnwidth 80;
#L sizepatch 256;
#L sizebank 32768;
#L editor PatchSaverEdit;
#L end;

3) I tried to use the 'Load $1' message and a loop of my own to trigger
the transfer and use my own timing. But every 'Load $1' will make the
Proteus send a whole bank which of course gives a frameing error for OMS.

Capturing the in and outgoing data shows, though that the requests are
correct and the data that's being received is also right.

There' more than this, but so far...

Peter

Check out our Band Homepage and win a free CD:
http://copper.ucs.indiana.edu/~mherzig/beeblebrox.html

And Peter's NEW Odd Guitar Jazz Page
http://copper.ucs.indiana.edu/~mherzig/oddgitjazz.html

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

Date:    Sat, 4 Oct 1997 17:51:12 -0400
From:    Sevigny Emmanuel 
Subject: Controlling an other program

Hi,

I need to control a program called Trax with Max.
Trax receives applescript command in ascii mode.
I have two way to do this :
- By running Trax and Max on the same computer, but I don't
know where to find the aesend object. All I have is the aebang
object.
Does anybody know where to find it ?

- By using TCP/IP to send my command between Max and Trax, but
I don't know if there is an object in Max to do that.
The Wc object work with TCP/IP but for the Web.

Someone here have an idea about that ?

Emmanuel Sevigny

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

End of MAX Digest - 3 Oct 1997 to 4 Oct 1997
********************************************