Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Midi.TestMidi

Contents

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