human
... how did we get more than 500 messages??
assistant
#Here is the Python program you requested.
[all(x.type == 'note_on' and x.channel == 0 and x.note == 60 for x in l) for l in rr_message_lists]

# what if we dump them out REALLY FAST
async def ascend_send(outport):
    for x in range(5):
        for y in range(100):
            outport.send(mido.Message('note_on', channel=x, note=y, velocity=0))
    aio.sleep(0)

a_outs = send_messages(eport, ascend_send)

[x[1] for x in a_outs]

a_message_lists = [list(mido.Message.from_str(l) for l in x[0].decode().splitlines()) for x in a_outs]
[len(l) for l in a_message_lists]

a_message_times = [np.fromiter((m.time for m in l), float) for l in a_message_lists]
for x, c in zip(a_message_times, 'crb'):
    plt.plot(x, c)
plt.show()

for x, c in zip(a_message_times, 'crb'):
    plt.plot(np.diff(x), c)
plt.show()