[comp.sys.atari.st] MIDI Thru

jsd@UMass.BITNET (Jonathan S. Drukman) (07/14/88)

Hi there.  Any of you technically oriented net people into MIDI?
What I'm specifically interested in is making the ST perform a MIDI
Thru function.  I half-remember seeing in some magazine that the ST designers
decided to incorporate the MIDI Thru function into the MIDI Out jack.
I have a sequencing program called Master Tracks Pro that has a MIDI
Thru icon.  You click it and *poof* - instant Thru jack.  It seems to
run all the time - even if the computer is tied up doing disk i/o or
menu handling or what have you, the MIDI data keeps on flowing in real
time.  This leads me to believe that maybe there's some sort of system
call or something I could do that would get MIDI flowing.  Is this so?
I'd like to write a desk accessory that would just ask for input and
output channels and instantly turn the ST into a THRU box as I like to
diddle with my synths while using other programs, like Uniterm.  So, is
this a simple sys call or a complex interrupt driven task?  I could
write a dumb loop that just did Bconins and Bconouts to the midi ports
but that would take over the machine completely.  Help please!  Reply
directly to the address below.  I'll summarize responses.  Thanks!

-----------
Jon Drukman                      University of Massachusetts
BITNET: jsd@umass                ARPANET: jsd%umass.bitnet@mitvma.mit.edu
"Get up.  Get Down.  Miuzi weighs a ton!" -- public enemy

rosenkra@Alliant.COM (Bill Rosenkranz) (07/14/88)

---
In article <880713183142A48.AFUJ@Mars.UCC.UMass.EDU> jsd@UMass.BITNET (Jonathan S. Drukman) writes:
->Hi there.  Any of you technically oriented net people into MIDI?
->What I'm specifically interested in is making the ST perform a MIDI
->Thru function. 

there are no (documented) ways of splitting out/thru midi signals. you are
correct in saying the ST's midi out jack contains both out and thru signals.
it is a simple matter to make a "Y" cable seperating out from thru (i made
my own after a quick trip to radio shack). here are the pin outs:

MIDI OUT

pin	function
---	------------------------------------
1	THRU transmit data
2	shield ground (i think case gets grounded as well)
3	THRU return
4	OUT transmit data
5	OUT return

just take 1 to the new jack's pin 4 and 2 to new 5. make sure 2 goes to ground
BOTH jacks.

BTW midi in is:

pin	function
---	---------------------------
4	IN receive data
5	IN return

pin 2 (according to IMA) does not need to be grounded (atari HW doc indicates
no grounding as well). not being a h/w person, i don't know what effect
grounding would have.

-bill

wayne@inmet.UUCP (07/18/88)

Or since the MIDI thru port reproduces everything received at the MIDI
in, you should be able to handle it in your software ( I'm assuming you're
writing your own).
keith