LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2005, 08:03 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Fail to run Timidity


Hi folks,

Fedora Core 3
===========

I download Timidity++ from
http://timidity.sourceforge.net/#download
with;
# cvs -d server:anonymous@cvs.sourceforge.net:/cvsroot/timidity login
CVS password: (just press return)
# cvs -d server:anonymous@cvs.sourceforge.net:/cvsroot/timidity co timidity

All went throught without problem

and followed following link to install Timidity++
http://timidity-docs.sourceforge.jp/...cgi?INSTALL.en

# locate timidity
/root/timidity
.....
....

# cd /root/timidity
# ./configure
# make
# make install
# make clean
All went through without complaint

I got the sample .cfg file from
http://www.onicos.com/staff/iz/timid...g/timidity.cfg

and saved it to and as
/usr/local/share/timidity/timidity.cfg

$ cat /usr/local/share/timidity/timidity.cfg
Code:
##############################################################################
#
# Instrument configuration file for timidity
#
# Specify library directory:            dir <directory>
#
# - Multiple library directories may be given. The ones given last will be
#   searched first so you can override them in later configuration files.
#   Extra configuration files and MIDI files will also be searched in these
#   directories.
#
# Set tone bank or drum set to modify:  bank <number>
#                                       drumset <number>
#
# Map program number to patch map:      <program number> <patch name>
#
# - If the patch can't be found in the library directories, TiMidity will
#   search again with ".pat" appended to the name.
#   Programs without a loaded patch will be silent, except that for
#   banks/drumsets >0, the corresponding patch in  bank/drumset 0 will
#   be used (if one exists).
#
# Read another configuration file:      source <file name>
#

##############################################################################
# If you've moved things around since compiling, uncomment and edit this to
# point to the library directory:
#
#dir /usr/local/lib/timidity
#

##############################################################################
# This sets up the default patches in the TiMidity support package
# "timidity-lib-0.1.tar.gz":

bank 0
   0 patch/acpiano.pat
  24 patch/nylongt2.pat

##############################################################################
# If you have Dustin McCartney's "wowpats" patches, you can source the
# config file to set them up for TiMidity:
#
# (Note that later entries in config files always override earlier ones)
#
#source wowpats.cfg
#

##############################################################################
# If you have Dustin McCartney's GS drum sets, you can source the config
# file to set them up for TiMidity:
#
#source gsdrum.cfg
#

##############################################################################
# If you have the GUS General MIDI patch set, uncomment the following lines
# and edit the "dir" statement to point to your GUS patch directory.
#
#dir /dos-C/ultrasnd/midi
#source gravis.cfg
#

##############################################################################
# If you have the Midia patch set, you can source midia.cfg to set them up.
# Note that midia.cfg sources gravis.cfg in turn, since the filenames are
# almost identical.
#
#source midia.cfg
#


##############################################################################
# Use XG program map.
# "#extension" is keyword on TiMidity++, not comment.
#extension source xgmap.cfg


##############################################################################
# End of configuration file
But I could not run timidity
# /usr/local/bin/timidity /home/satimis/Download/Midi_Christmas/godresty.mid
xgmap.cfg: No such file or directory
timidity: Can't read any configuration file.
Please check /usr/local/share/timidity/timidity.cfg

Please advise. TIA

B.R.
satimis
 
Old 06-16-2005, 08:53 AM   #2
Eliasvan
LQ Newbie
 
Registered: Jun 2005
Distribution: Redhat Fedora Core 4
Posts: 8

Rep: Reputation: 0
Talking

You would like to play a midi (or .kar) he?

Well, here is a plugin for (!GRAPHICAL!) playing midis.
Its a plugin for XMMS(I tink you have that )
Just install this RPM(with system-install-packages):
MIDI.RPM

Well, Enjoy the MIDIs!
 
Old 06-16-2005, 12:25 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi Eliasvan,

Tks for your link.

I just ran
# yum install xmms
to install "xmms"

# rpm -Uvh xmms-midi-0.03-1.i386.rpm
warning: xmms-midi-0.03-1.i386.rpm: V3 DSA signature: NOKEY, key ID 22b2951d
error: Failed dependencies:
timidity++ is needed by xmms-midi-0.03-1.i386

Can't proceed. I'm in the midway to install "timidity"

Any advice. TIA

B.R.
satimis
 
Old 06-16-2005, 12:52 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you need some instrument patches
that work for timidity
freepats
http://ftp.debian.org/debian/pool/ma...11.orig.tar.gz
eawpatches
or
shompatches
are generally the ones people use unless you have some good soundfonts from a soundcard disk or something
for eawpats timidity.cfg only needs to be this
Code:
dir /usr/share/timidity/eawpats
source timidity.cfg
then in /usr/share/timidity/eawpats
you would have another timidity.cfg that contains
Code:
source gravis.cfg
source gsdrums.cfg
source gssfx.cfg
source xgmap2.cfg
or whatever you have there

better still is to use a soundfont file *.sf2 in which case timidity.cfg has just 1 line pointing to the file
Code:
soundfont /usr/share/sounds/sf2/soundfontfile.sf2
or whatever
you might need to adjust permissions on these files !!!!
chmod -R a+r /usr/share/timidity/eawpats or whatever
 
Old 06-16-2005, 01:18 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi foo_bar_foo,

Tks for your advice and link.

Have the tarball download and untared

# ls
freepats freepats-20040611.tar.bz2
# ls ./freepats/
COPYING crude.cfg Drum_000 freepats.cfg README Tone_000

What shall I do next? Whether to copy "freepats.cfg" to

/usr/local/share/timidity/freepats.cfg

TIA

B.R.
satimis
 
Old 06-16-2005, 02:37 PM   #6
Eliasvan
LQ Newbie
 
Registered: Jun 2005
Distribution: Redhat Fedora Core 4
Posts: 8

Rep: Reputation: 0
Smile

Sorry for that quick message, but it was late yesterday.
I have made a new(complete) post for doing the good tings:

Install these packages(with !=>system-install-packages=<!with terminal):

first:Timidity.RPM
then:XMMS.RPM
thenMP3:XMMSMP3
thenSKINS:SKINSXMMS.RPM
at last: FinalyGraphicalTimidity.RPM

So, that was it.

And then just run XMMS.

Enjoy

Last edited by Eliasvan; 06-17-2005 at 11:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X apps fail when run from cron jobs ericcarlson Linux - Software 6 06-16-2017 01:02 PM
Fail to run /usr/sbin/base-config when install Debian sharpblade Debian 1 05-26-2005 04:38 AM
Why does every ./configure script i run fail to recognise XMMS IS INSTALLED!! theMonkeY Linux - Software 4 08-23-2004 09:18 AM
I fail to run the "fdisk -l" command soulfly Linux - Software 14 09-23-2003 01:38 PM
squid fail to run after one week on smooth running on rh 8.0 server xnet_online Linux - Networking 5 12-23-2002 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration