BSD Ports

audio/playumidi 0.8.3_1 DragonFly

Standard MIDI format 0/1 player for FreeBSD USB-MIDI(umidi) device

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
audio
Package size
13.1 KiB, 25.8 KiB installed

Description

"playumidi" is the "SIMPLE" MIDI file player for USB MIDI device on FreeBSD. This software is able to direct control for FreeBSD-umidi device(/dev/umidi*.*) in the "uaudio" driver. Therefore, You don't need to use the "/dev/sequencer" device or the other software when listening the MIDI-file music. And, Support for auto-judge MIDI-file XG/GS/GM mode & auto add the Tone-Generator ReSet code when the ReSet code isn't exist in a MIDI-file.

In the other systems

SystemPortVersion
DragonFlyaudio/playumidi0.8.3_1
FreeBSDaudio/playumidi0.8.3_1
HardenedBSDaudio/playumidi0.8.3_1
GhostBSDaudio/playumidi0.8.3_1

Install

Binary package:

pkg install playumidi

From DPorts:

cd /usr/dports/audio/playumidi && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

playumidi directly opens, writes midi-event data,
and closes the umidi* device files.
So, it is necessary to grant the R/W privileges(666)
to umidi* device file before use playumidi.

Therefore, there is a need to grant permissions to R/W
prior to use.
An example of the setting method is shown below.

 1. Append to devfs.rules (in etc dir.) the following lines.
   ------------------------------------------
   [system=10]
    add path 'umidi*' mode 0666 group wheel
   ------------------------------------------

 2.  Append to rc.conf (in etc dir.) the following three lines.
   ------------------------------------------
   devfs_enable="YES"
   ------------------------------------------

 3.  Reboot FreeBSD (shutdown -r now)