Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Midi.TestMidi

Description

Test MIDI bindings, automatically and manually.

Synopsis

Documentation

program change

sysex

monitor

thru

melody

thru_melody :: Interface -> WriteMsg -> ReadMsg -> IO.IO () Source #

Play a melody while also allowing msgs thru, to test merging.

mmc

spam

pitch bend range

tests

run_tests :: Interface -> WriteMsg -> ReadMsg -> IO.IO () Source #

Test a few things by writing and reading both ends of the same port.

test_abort :: Interface -> WriteMsg -> ReadMsg -> IO.IO () Source #

Ensure that aborts really cancel pending msgs.

test_merge :: Interface -> WriteMsg -> ReadMsg -> IO.IO () Source #

Ensure that timestamp 0 msgs get merged in ahead of timed msgs, as per Interface.write_message.

util