TiMidity 2.13.2-4 Precise

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

TiMidity 2.13.2-4 Precise

#1 Post by RSH »

Hi.

I have downloaded the files of timidity from precise package manager repository and build a LP2_TiMidity_2.13.2-4.sfs from these files.

When trying to run timidity, it won't play anything and console output complains a missing file:

/etc/timidity/freepats.cfg

In /etc/timidity there is only file timidity.cfg existing which contains a line:

source /etc/timidity/freepats.cfg

There are two more lines which are commented out:

# alternatively, you can use the fluid-soundfont:
#source /etc/timidity/fluidr3_gm.cfg
#source /etc/timidity/fluidr3_gs.cfg

So where can I find those config files: freepats.cfg, fluidr3_gm.cfg or fluidr3_gs.cfg?

I assume one would need also the instrument patches from freepats and/or the fluid soundfonts.

Where to find these ones?

Thanks,

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi RSH
they are both in the ppm. type freepats into the find box .... then fluid
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#3 Post by RSH »

Thanks!

These packages are really huge!

I have a TiMidity SFS (2.13.0) that comes with soundfonts included and is only 8820 KB in size - it was from Lucid's repository.

The one from Precise's repository is now 31 MB with freepats soundfonts included. The fluid soundfonts are 114 MB (the General MIDI Fonts).

At least, it works now out of the box, after loading the SFS.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#4 Post by mikeb »

Well I use fluidsynth and the size IS determined by the quality of the sound fonts which are basically a bundle of samples.

I have one thats 30MB but the 50MB one does sound better.
Perhaps its better to only package the binaries and have the sound fonts(s) as a separate user choice since apps normally allow the user to choose which one to use.

In terms of speed using a sound cards built in is better but these are not always wonderful or accesible on linux.

Windows seem to , or used to , keep the size down but sound ok...wonder how they managed that

mike

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#5 Post by RSH »

When downloading timidity I did choose to examine dependencies and then to download only timidity and all listed dependencies. I needed to open file /etc/timidity/timidity.cfg inside of the created SFS Module to find out that there would be also needed another config file and the MIDI sound fonts.

Right now I did download Solfege from the package manager and -surprise, surpise- timidity and the freepats sound fonts has been listed as dependencies for Solfege.

Since I've already downloaded timidity and build a SFS Module including the freepats sound fonts, I've downloaded Solfege without these two dependencies.

Made a SFS Module of the Solfege packages, loaded timidity SFS as dependent SFS Module to Solfege and everything seems to work fine.

So there seems to be some strange differences on how the package manager is acting/listing needed dependencies for an application to download from the repository.
Attachments
image-1.jpg
(92.41 KiB) Downloaded 452 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#6 Post by charlie6 »

Hallo RSH,
i've been using this only 4MB sized TiMidity++-2.13.0-i386.pet for years now without need of extra sound library (freepats, eawpatches or others).
It has /usr/share/timidity/minishow tiny instruments library in it ... you might re-use it in your sfs ...
Of course it cannot sound like 30MB huge libraries ... :?
http://www.smokey01.com/ttuuxxx/Wary/So ... 0-i386.pet
Maybe you have already read Tuuxxx's thread here: (links to archives are broken ... :( but i believe i have a copy of eawpatches put aside ... :roll: ...)
http://www.murga-linux.com/puppy/viewtopic.php?p=225018

I've got a working Timidity++-2.13.2, as also latest at now version 2.14.0, compiling them using those config files:
like in tuuxxx's thread:

Code: Select all

# ./configure --prefix=/usr --enable-server --enable-alsaseq --enable-ncurses --enable-audio=alsa,vorbis --enable-network
and also adding portaudio and jack interfaces:

Code: Select all

# ./configure --prefix=/usr --enable-server --enable-alsaseq --enable-ncurses --enable-audio=alsa,vorbis,jack,portaudio,ogg --enable-network
i also run this script called «timidity_server» which starts Timidity at boot:
located in /etc/init.d/

Code: Select all

#!/bin/sh
#### from gentoo:
# TIMIDITY_OPTS
# Command line arguements to be passed to timidity. -iA is always used
# Common options:
# -Os : Output to ALSA pcm device
# -Oe : Output to esd
# -On : Output to NAS
#
# -B<n>,<m> :  Set number of buffer fragments(n), and buffer size(2^m)
#
# -EFreverb=0         : Disable MIDI reverb effect control
# -EFreverb=1[,level] : Enable MIDI reverb effect control
#                       `level' is optional to specify reverb level [0..127]
#                       This effect is only available in stereo
#                       (default)
# -EFreverb=2         : Global reverb effect

TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0"
#TIMIDITY_OPTS="-B64,12 -Os -EFreverb=0"


case $1 in
	start)
		timidity -iA ${TIMIDITY_OPTS} &
		echo $! > /var/run/timidity.pid
		;;
	stop)
		kill $(cat /var/run/timidity.pid)
		rm /var/run/timidity.pid
		;;
	restart)
		"$0" stop
		"$0" start
		;;
	*)
		echo "Usage: timidity_server {restart|start|stop}"
		exit 1
		;;
esac
I'm using timidity along with Zigberts's Pmusic, Nted (score editor), GNU Solfege, Deadbeef (provided it has been compiled enbling midi...).

MfG
Charlie

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#7 Post by RSH »

Thanks for the links and all of the information.

I did use also a 2.30.0 version of timidity which came with sounds included and is appr. 8.5 MB in size. Just thought to use a newer one for my LASSIE Puppy.

The 30 MB freepats sound fonts doesn't sound much better to me than those sounds from the 8.5 MB timidity 2.30.0 version.

Btw.: the tuxxx's links did work well for me. Downloaded both packages last night.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

Post Reply