playumidi (0.8.3) | 2020-08-23 13:50 |
"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.
"playumid" is able to running following environment.
Reference Environment:
Please execute the following command as root user.
tar xvfz playumidi_0.8.0.tar.gz
cd INSTALL_DIR
make install && make cleanIf you want to support the Language-Code other than ASCII, you need to give the build-option "-DWITH-ICONV".
make -DWITH_ICONV install && make clean
Congratulations!! It can be used immediately in this!
Playing MIDI-file by playumidi as follows:
playumidi yourmidifile.mid
playumidi directly opens, writes midi-event data, and closes the /dev/<usb-midi device>.
So, it is necessary to grant the R / W privileges(666) to /dev/<usb-midi device> before use playumidi.
But, the FreeBSD umidi-driver (integraed by uaudio driver) is not granted permission only of the root-user R/W and others user/group read-only (permission 644) at the default.
Therefore, there is a need to grant permissions to R / W prior to use.I will show some examples below.
chmod -R 755 /dev/umidi*
[devfsrules_common=7] add path 'umidi*' mode 0666 group wheel
devd_enable="YES" devfs_enable="YES" devfs_system_ruleset="devfsrules_common"