From:
                                                             9/9/97 11:01 PM
Subject: MAX Digest - 8 Sep 1997 to 9 Sep
1997To: Recipients of MAX digests 

There are 4 messages totalling 148 lines in this issue.

Topics of the day:

  1. VideoIn module external (2)
  2. SMF C Code examples
  3. Triggering Max from audio

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

Date:    Tue, 9 Sep 1997 14:26:49 -0000
From:    guille203 
Subject: VideoIn module external

dear people,

     I am now searching a new version from videoin module. the original
module tell me the unique contact is esinger@phantom.com, but now has no
email account here.

Any know how get a similar version ? contac ?
thanks.

PD.: pardon for my bad english.

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

Date:    Tue, 9 Sep 1997 09:23:20 -0500
From:    Paul Hertz 
Subject: Re: SMF C Code examples

Stephen Kay  asked:
>Subject: SMF C Code examples

>A little off topic, but does anyone know where to get some example C Code=
>
>which shows how to read and PLAY standard midi files?

Aside from a few books that go into the topic, I don't know where there's
code specifically for reading MIDI files. I don't have the book here at my
office to check it, but I think that

De Furia, Steve. The MIDI programmer's handbook. 1st ed.
   Redwood City, Calif. : M&T Books, 1989.

has a section on reading and writing MIDI files. The only problem is that
it uses the probably obsolete/winked out of existence MIDI Pascal library.

Some clues that may or may not be useful:

For the old Mac MIDI Manager files try:

<
ftp://dev.apple.com/devworld/Development_Kits/%20Obsolete-Unsupported.sit.hqx
>

These may at least provide an interface to replace the MIDI Pascal library,
letting you then adapt the code in de Furia's book. Also see:

<
ftp://dev.apple.com/devworld/Development_Kits/QuickTime/Sample_Code/QT_Multipro
cessor_Support.hqx>

which I think has a sample of import/export via QuickTime--perhaps not the
lower level code you want, though.

How about writing an XCMD interface and then calling HyperMIDI? I know
there's third party code on some of Apple's developer CDs that shows how to
call XCMDs from your own code. No need to reinvent the wheel then.

-- Paul

paul-hertz@nwu.edu (Paul Hertz)                | (*,*) (+,+) (#,#) (=,=) |
http://www.acns.nwu.edu/people/paul-hertz      | (#,=) (=,#) (*,+) (+,*) |
The Collaboratory Project                      | (=,+) (#,*) (+,=) (*,#) |
Northwestern University                        | (+,#) (*,=) (=,*) (#,+) |

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

Date:    Tue, 9 Sep 1997 11:54:03 -0400
From:    Eric Singer 
Subject: Re: VideoIn module external

The latest version is on my web page (cat.nyu.edu/eric).  And my
current email is esinger@cat.nyu.edu.  BTW, these objects are not
PPC-native yet - probably late October for that.

Eric

On Tue, 9 Sep 1997, guille203 wrote:

> dear people,
>
>      I am now searching a new version from videoin module. the original
> module tell me the unique contact is esinger@phantom.com, but now has no
> email account here.
>
> Any know how get a similar version ? contac ?
> thanks.
>
> PD.: pardon for my bad english.
>

**********************************
*                                *
*          Eric Singer           *
*    Media Research Laboratory   *
*       New York University      *
*   email: esinger@cat.nyu.edu   *
*  web: http://cat.nyu.edu/eric  *
*                                *
**********************************

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

Date:    Tue, 9 Sep 1997 19:30:05 +0200
From:    Peter Swinnen 
Subject: Triggering Max from audio

Dear Maxers

I'm looking for some ideas concerning the following problem :

for my next project, I need to be able to trigger Max (3.0) from within
a computergame that runs on a Pentium. This game extensively uses VOC
files (i.e. 8-bit audio on 8kHz), that can be assigned to whatever
action within the game. Instead of merely playing these audio bits, I'd
like to use Max to create my own music. Which way should I go ?

- using some Max-extension that's able to monitor my Mac's sound input
and that gives e.g. the pitch of the input sound, which then can be used
as a protocol for communication ? That way, I could record a different
pitch into each VOC file, connect the Pentium's sound card to my Mac's
sound input, and analyse these pitches. Perhaps I could use the tones of
the telephone keys (0 ... 9 A ... D) ? But what about CPU-time for my
Mac ?

- a similar approach, but directly record some MIDI strings into the VOC
files ? A small test to record a MIDI string to a tape deck, and
connecting it's playback to the MIDI interface didn't work.

- perhaps there is another way using a modem to encode/decode chars ?
Say, sending the chars to my modem and recording them from the telephone
jacket into the VOC files ? And from the Pentium audio output via the
telephone jacket into the modem and into Max ? This last step could of
course be done with . But what with the voltages of the
telephone lines. Can I just connect (with a little bit of soldering, of
course) the telephone jack of my modem to the audio input of a tape deck
?

Any ideas ?

Many thanks

Peter Swinnen

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

End of MAX Digest - 8 Sep 1997 to 9 Sep 1997
********************************************