Comment 5 for bug 2049243

Revision history for this message
Seiichi Nakashima (ubuntu-linuxer) wrote :

I did these step that ubuntu 20.04 work fine.
but ubuntu 22.04 do not work.

$ LANG=C

$ sudo apt-get -y install timidity
[sudo] password for
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fluid-soundfont-gm
Suggested packages:
  fluid-soundfont-gs freepats pmidi timidity-daemon
The following NEW packages will be installed:
  fluid-soundfont-gm timidity
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 130 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Get:1 http://ftp.riken.jp/Linux/ubuntu jammy/universe amd64 fluid-soundfont-gm all 3.1-5.3 [130 MB]
Get:2 http://ftp.riken.jp/Linux/ubuntu jammy/universe amd64 timidity amd64 2.14.0-8ubuntu1 [683 kB]
Fetched 130 MB in 13s (10.0 MB/s)
Selecting previously unselected package fluid-soundfont-gm.
(Reading database ... 210432 files and directories currently installed.)
Preparing to unpack .../fluid-soundfont-gm_3.1-5.3_all.deb ...
Unpacking fluid-soundfont-gm (3.1-5.3) ...
Selecting previously unselected package timidity.
Preparing to unpack .../timidity_2.14.0-8ubuntu1_amd64.deb ...
Unpacking timidity (2.14.0-8ubuntu1) ...
Setting up timidity (2.14.0-8ubuntu1) ...
Setting up fluid-soundfont-gm (3.1-5.3) ...
update-alternatives: using /usr/share/sounds/sf2/FluidR3_GM.sf2 to provide /usr/share/sounds/sf2/default-GM.sf2 (default-GM.sf2) in auto mode
update-alternatives: using /usr/share/sounds/sf2/FluidR3_GM.sf2 to provide /usr/share/sounds/sf3/default-GM.sf3 (default-GM.sf3) in auto mode
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

$ aconnect -o
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'

$ echo "timidity -iAD -B2,8 -Os1l -s 44100 -x'soundfont /usr/share/midi/sf2/mypatches.sf2 order=1'" >> .profile

$ reboot