[Linux-bruxelles] help! timidity et patches extra sous SuSE

Aldo blinuxman at tuxfamily.org
Ven 11 Fév 18:56:17 CET 2005


Qui parmi les Susiens peut m'éclairer?

Voici un HowTo permettant en principe d'ajouter les patches de Timidity pour
avoir plus que les trois quatre instruments minables que SuSE 9 propose
by default.
Problème: j'ai l'impression qu'il y a une faute dans le HowTo, + un élément
ne m'est aps clair du tout:

   From: Ruedi Port <r.port(at)dkfz.de> [ date: 2005-01-13 ]
(posté sur LinuxFocus).

[...]
   My timidity version, timidity-2.12.0-336 under SuSE 9.0,
   has very few instrument files (/usr/share/timidity/patch/*.pat), so
   the .midi files sounded all very much the same.
(euh, c'est ce qu'on a constaté ici aussi).

[...]
   A full set of instrument files is contained in 
   timidity++-2.11.3-1.i386.rpm,
(bon à savoir)
   Download for RedHat 7.3, which can be located through
   http://rpm.pbone.net 
(Ok c'est fait).

   I installed it in a new directory /usr/local/share/timidity using
   rpm -ivh --nodeps -r /usr/local/share/timidity timidity++-2.11.3-1.i386.rpm
   to avoid any conflict with the existing timidity installation and any
   complaints
   about unresolved dependencies. This installation creates three
   subdirectories
   in /usr/local/share/timidity: etc/, usr/, var/ .
   The subdirectory etc/ , then, contains a configuration file,
   timidity.cfg, which links the midi ``program numbers'' to the precious
   instrument files:
   /usr/local/share/timidity/usr/share/timidity/instruments/*.pat
(...Jusque là tout colle à la réalité...)

   Now, the existing timidity installation has to be told which of the
   instrument
   files to use for which of the midi ``programs''.
   This can be done by editing the existing
   /usr/share/timidity/timidity.cfg to replace the lines
   source piano+guitar.cfg
   source drums.cfg
   by the line
   source new.timidity.cfg
   where /usr/share/timidity/new.timidity.cfg is a link to
   /usr/local/share/timidity/etc/timidity.cfg
(jusque là ça allait mais la suite ne va plus ...):

   and the directory
   /usr/local/timidity/usr/share/timidity/instruments
(...qui n'existe pas, ou il a raté un "share")?
   has been linked to /usr/share/timidity for the whole thing to work.
Question: comment on linke deux répertoires en ligne de cmd car
ln -s dir1 dir2  ne marche pas; dans la man on parle de
l'option -d mais  ln -d dir1 dir2  ne fais rien non plus.

Merci d'aider.

Aldo.




Plus d'informations sur la liste de diffusion Linux-bruxelles