I need help getting timidity working on my home machine. It works on my office desktop. At home I get no sound. The problem may be associated with having two sound cards.
Here's what I've done most recently. I am running feisty.
Code:
mullera@happy:~$ uname -a
Linux happy 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
I have two sound cards.
Code:
mullera@happy:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: AD198x Analog [AD198x Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: VT82xx [HDA VIA VT82xx], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 2: CMI8738-MC6 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
Right now Card 0 seems to be working. Rhythmbox works and plays mp3 files. But I want a midi player. I removed timidity and then reinstalled
Code:
mullera@happy:~/music/deutscheLieder$ sudo apt-get install timidity
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libt1-5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
freepats
Suggested packages:
pmidi
The following NEW packages will be installed:
freepats timidity
0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded.
Need to get 29.5MB of archives.
After unpacking, 35.8MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ca.archive.ubuntu.com feisty/universe freepats 20060219-1 [29.0MB]
Get:2 http://ca.archive.ubuntu.com feisty/universe timidity 2.13.2-11ubuntu1 [555kB]
Fetched 29.5MB in 33s (881kB/s)
Selecting previously deselected package freepats.
(Reading database ... 187971 files and directories currently installed.)
Unpacking freepats (from .../freepats_20060219-1_all.deb) ...
Selecting previously deselected package timidity.
Unpacking timidity (from .../timidity_2.13.2-11ubuntu1_i386.deb) ...
Setting up freepats (20060219-1) ...
Setting up timidity (2.13.2-11ubuntu1) ...
* Starting timidity * Starting TiMidity++ ALSA midi emulation... [ OK ]
I enabled the ALSA sequencer in /etc/default/timidity
Code:
# Defaults for TiMidity++ scripts
# sourced by /etc/init.d/timidity
# installed at /etc/default/timidity by the maintainer scripts
# $Id: timidity.default,v 1.3 2004/08/07 14:33:26 hmh Exp $
#
# This is a POSIX shell fragment
#
# Enable MIDI sequencer (ALSA), default is disabled
TIM_ALSASEQ=true
# Setting overrides (of /etc/timidity.conf) for the ALSA sequencer daemon
TIM_ALSASEQPARAMS="-B2,8 -Os"
Now I try to run timidity
Code:
mullera@happy:~/music/deutscheLieder$ timidity dervogel.mid
Playing dervogel.mid
MIDI file: dervogel.mid
Format: 0 Tracks: 1 Divisions: 384
Instrument `acpiano' can't be found.
Couldn't load instrument acpiano (tone bank 0, program 0)
Instrument `acpiano' can't be found.
No pre-resampling cache hit
(Track 1)
Nothing happens! I get no sound, no nothing. I escape from timidity with a ^C and wonder what to do. Can anyone point me in the right direction?
Thanks
Bookmarks