NAME

MIDI::RtMidi::Util - Handy Utilities for Real-time MIDI

VERSION

version 0.0102

SYNOPSIS

use MIDI::RtMidi::Util qw(out_port halt);

my $midi_out = out_port('usb');
# do something cool ...
halt($midi_out);

DESCRIPTION

MIDI::RtMidi::Util is a junk drawer for Real-time MIDI utilities.

FUNCTIONS

out_port

$out_port = out_port($name);

Open and return a MIDI::RtMidi::FFI::Device RtMidiOut device.

halt

halt();

Stop and close an open RtMidiOut device.

SEE ALSO

MIDI::RtMidi::FFI::Device

AUTHOR

Gene Boggs <gene.boggs@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Gene Boggs.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.