# Test of basic MIDI throughput using FTAP.
# Write a single output tone (NOTEON + NOTEOFF), and write it back out
# each time it's read in (for  2000 cycles).
# Inspect the output file; all interevent times should be 1 ms or less, and the
# total elapsed time should be about 4 s (4000 events, at 1 ms/event). 

# Unfortunately, since all events are stored in (static) memory (currently
# MAXNOTES = 500), no more than about 2500 cycles can be run.

# NOTE: If FTAP is run as root, and the END_EXP is removed, this will 
# hog your system, though it will be interruptible from the keyboard.

# Uses a loop cable. 

METRON_ON		1
MSPB			3
MET_CHAN		1
MET_NOTE		86
MET_VEL			100
MET_LEN			2

FEED_ON			1
FEED_LEN		0

TRIGGER 1 M  2 METRON_ON 0
TRIGGER 2 K  2001 END_EXP 1
