# 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 many 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). 

# PMODE is set to Reverse (2), so keystrokes toggle between 2 values.
# This helps maintain a well-formatted sequence.

# All events are stored in (static) memory, so there's some limit as to
# how long the run can be. The limits have been significantly increased
# in version 2.1.07. 

# 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			0


FEED_ON			1
FEED_LEN		0
FEED_PMODE		2

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