
Ubuntu日本語フォーラム
ログインしていません。
手前味噌で申し訳ないです。
いまさら外部 MIDI 音源シリアル MIDI です。
細かい経緯は https://github.com/ChikaraWakaura/snd-serialmidi を参照下さい。
動作確認環境
$ uname -a
Linux tp006 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
準備
$ sudo apt-get install ncurses-dev
$ sudo apt-get install bc
$ sudo apt-get install linux-headers-4.15.0-43-generic
$ git clone https://github.com/ChikaraWakaura/snd-serialmidi
$ cd snd-serialmidi
$ sudo make clean
$ sudo make
$ sudo make install
以下、取り敢えず全無視で(笑)
$ dmesg | grep serialmidi
[nnn.n] snd_serialmidi: loading out-of-tree module taints kernel.
[nnn.n] snd_serialmidi: module verification failed: signature and/or required key missing - tainting kernel
MIDI ポート確認
$ amidi -l
Dir Device Name
IO hw:0,0 Serial MIDI [/dev/ttyUSB0] 0
$ arecordmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 Serial MIDI Serial MIDI [/dev/ttyUSB0] 0
$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 Serial MIDI Serial MIDI [/dev/ttyUSB0] 0
MIDI 録音確認(MIDI IN ダンプ)
$ amidi -d -p hw:0,0
MIDI 再生確認
$ aplaymidi -p 16:0 hogehoge.mid
永続使用
自己責任で(爆笑)
以上です。
オフライン