|
dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
|
the MIDI exerciser: it sends over one port and counts what comes back on another - the round trip's losses, its slips and its latency, no audio ring involved More...
#include <dx_test_midi.h>
Public Member Functions | |
| driver (const typename super::match &match, const char *product_id, const char *name, const decltype(driver::dictionary)&dictionary={}) | |
| void | midi_test (const parser::args &args={}) |
| MIDI round trip test. | |
the MIDI exerciser: it sends over one port and counts what comes back on another - the round trip's losses, its slips and its latency, no audio ring involved
< the test driver it adds its command to: a bus's own (dx::test::usb::driver) keeps that bus's commands beside it
|
inline |
|
inline |
MIDI round trip test.
miditest(): test::MIDI::write: pin->write() -> coremidi::stream::transmit() -> OS MIDI -> coremidi::server::pin::receive() -> circular -> HW MIDI Ouptut port -> cable -> HW MIDI Input port -> coremidi::server::receive() -> OS MIDI -> coremidi::stream::receive() -> pin->read(): test::MIDI::read
the counter as a control change: its low 4 bits the channel, the next 7 the controller, the next 7 the value; byte holds whatever a ring's decode() hands out
< the control change's bytes: what goes out, what the ring carries of it
| (c) copyright 2009 dynamic acoustics e.U. | generated on |