--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: timidity: Can't start alsa emulation at boot
- From: brice <brice.mealier@fnac.net>
- Date: Sun, 03 Jul 2005 17:56:32 +0200
- Message-id: <E1Dp6pc-00059P-PT@localhost.localdomain>
Package: timidity
Version: 2.13.2-6
Severity: important
I installed timidity on my sarge. To get the midi emulation at boot
time, I modified /etc/default/timidity and uncommented TIM_ALSASEQ=true.
The file looks like:
[brice@TuxBox:brice]$ cat /etc/default/timidity
# 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 -EFreverb=0"
[brice@TuxBox:brice]$
I also installed the freepats package as well as pmidi.
At boot I have the following error:
Starting TiMidity++ ALSA midi emulation: /etc/timidity/timidity.cfg: No
such file or directory.
timidity: Can't find any configuration file.
Please check /etc/timidity/timidity.cfg
(failed).
but:
[brice@TuxBox:brice]$ ll /etc/timidity/
total 8
-rw-r--r-- 1 root root 4066 2004-07-19 17:12 freepats.cfg
-rw-r--r-- 1 root root 852 2005-07-03 12:37 timidity.cfg
[brice@TuxBox:brice]$
timidity.cfg looks like:
[brice@TuxBox:brice]$ cat /etc/timidity/timidity.cfg
# Instrument configuration file for timidity
# $Id: timidity.cfg,v 1.5 2004/08/07 15:59:19 hmh Exp $
# You can change just about every option in TiMidity++ using
# This config file. Please refer to the timidity.cfg(5) manpage
# for more details
## If you have a slow CPU, uncomment these:
opt EFresamp=d #disable resampling
opt EFvlpf=d #disable VLPF
opt EFreverb=d #disable reverb
opt EFchorus=d #disable chorus
opt EFdelay=d #disable delay
#opt no-antialias #disable sample anti-aliasing
#opt EWPVSETOZ #disable all Midi Controls
#opt p32a #default to 32 voices with auto reduction
#opt s32kHz #default sample frequency to 32kHz
opt fast-decay #fast decay notes
# By default, try to use the instrument patches from freepats:
source /etc/timidity/freepats.cfg
soundfont /home/brice/Documents/MyMusic/SoundFonts/Chaos.sf2 amp=80%
order=0
[brice@TuxBox:brice]$
All seems to be right! Even without the addition of the soundfont, I
have the error at boot.
Moreover (and this is the strangiest thing):
[brice@TuxBox:brice]$ sudo /etc/init.d/timidity start
Starting TiMidity++ ALSA midi emulation: timidity.
Emulating midi on ports: 128:0 128:1 128:2 128:3
[brice@TuxBox:brice]$
The starting script is executed well by a user but failed at boot.
Best regards, Brice
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (50, 'testing'), (20, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.12.tuxbox2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages timidity depends on:
ii libartsc0 1.3.2-3 aRts Sound system C support librar
ii libasound2 1.0.8-3 ALSA library
ii libaudio2 1.7-2 The Network Audio System (NAS). (s
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libesd0 0.2.35-2 Enlightened Sound Daemon - Shared
ii libflac6 1.1.1-5 Free Lossless Audio Codec - runtim
ii libglib2.0-0 2.6.4-1 The GLib library of C routines
ii libice6 4.3.0.dfsg.1-14 Inter-Client Exchange library
ii libjack0.80.0-0 0.99.0-6 JACK Audio Connection Kit (librari
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libogg0 1.1.2-1 Ogg Bitstream Library
ii liboggflac1 1.1.1-5 Free Lossless Audio Codec - runtim
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libsm6 4.3.0.dfsg.1-14 X Window System Session Management
ii libspeex1 1.1.6-2 The Speex Speech Codec
ii libvorbis0a 1.1.0-1 The Vorbis General Audio Compressi
ii libvorbisenc2 1.1.0-1 The Vorbis General Audio Compressi
ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii libxaw7 4.3.0.dfsg.1-14 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii libxmu6 4.3.0.dfsg.1-14 X Window System miscellaneous util
ii libxt6 4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
--- End Message ---