@@ -46,8 +46,9 @@ Table of Contents:
4646 * 7.4 MIDI emulation
4747 * 7.5 Native MIDI support
4848 * 7.6 UNIX native and ALSA sequencer support
49- * 7.7 Using compressed audio files (MP3, Ogg Vorbis, Flac)
50- * 7.8 Output sample rate
49+ * 7.7 TiMidity++ MIDI server support
50+ * 7.8 Using compressed audio files (MP3, Ogg Vorbis, Flac)
51+ * 7.9 Output sample rate
51528.0) Configuration Files
52539.0) Compiling
5354
@@ -1122,6 +1123,7 @@ your operating system and configuration.
11221123 a hardware MIDI synthesizer.
11231124 qt - Quicktime sound, for Macintosh users.
11241125 seq - Use /dev/sequencer for MIDI, *nix users. See below.
1126+ timidity - Connect to TiMidity++ MIDI server. See below.
11251127 windows - Windows MIDI. Uses built-in sequencer, for Windows users
11261128
11271129To select a sound driver, select it in the Launcher, or pass its name
@@ -1225,8 +1227,8 @@ For these games, you may wish to specify --multi-midi in order to combine
12251227MIDI music with Adlib sound effects.
12261228
12271229
1228- 7.6.0 ) Playing sound with Sequencer MIDI: [UNIX ONLY]
1229- ------ ----------------------------------
1230+ 7.6) Playing sound with Sequencer MIDI: [UNIX ONLY]
1231+ ---- ----------------------------------
12301232If your soundcard driver supports a sequencer, you may set the environment
12311233variable "SCUMMVM_MIDI" to your sequencer device -- for example, to
12321234/dev/sequencer
@@ -1289,7 +1291,25 @@ Once either TiMidity or FluidSynth are running, use the 'aconnect -o -l'
12891291command as described earlier in this section.
12901292
12911293
1292- 7.7.0) Using MP3 files for CD audio:
1294+ 7.7) Using TiMidity++ MIDI server:
1295+ ---- -----------------------------
1296+ If you system lacks any MIDI sequencer, but you still want better MIDI quality
1297+ than default Adlib emulation can offer, you can try TiMidity++ MIDI server. See
1298+ http://timidity.sourceforge.net/ for download and install instructions.
1299+
1300+ First, you need to start a daemon:
1301+
1302+ timidity -ir 7777
1303+
1304+ Now you can start scummvm and try selection TiMidity music output. By default,
1305+ it will connect to localhost:7777, but you can change host/port by defining
1306+ "TIMIDITY_HOST" environment variable.
1307+
1308+
1309+ 7.8) Using compressed audio files
1310+ ---- ----------------------------
1311+
1312+ 7.8.0) Using MP3 files for CD audio:
12931313------ -----------------------------
12941314Use LAME or some other MP3 encoder to rip the cd audio tracks to files. Name
12951315the files track1.mp3 track2.mp3 etc. ScummVM must be compiled with MAD support
@@ -1300,7 +1320,7 @@ following LAME command line:
13001320 lame -t -q 0 -b 96 track1.wav track1.mp3
13011321
13021322
1303- 7.7 .1) Using Ogg Vorbis files for CD audio:
1323+ 7.8 .1) Using Ogg Vorbis files for CD audio:
13041324------ ------------------------------------
13051325Use oggenc or some other vorbis encoder to encode the audio tracks to files.
13061326Name the files track1.ogg track2.ogg etc. ScummVM must be compiled with vorbis
@@ -1312,7 +1332,7 @@ command line with the value after q specifying the desired quality from
13121332 oggenc -q 5 track1.wav
13131333
13141334
1315- 7.7 .2) Using Flac files for CD audio:
1335+ 7.8 .2) Using Flac files for CD audio:
13161336------ ------------------------------------
13171337Use flac or some other flac encoder to encode the audio tracks to files.
13181338Name the files track1.flac track2.flac etc. In your filesystem only allows
@@ -1327,7 +1347,7 @@ Remember that the quality is always the same, varying encoder options will only
13271347affect the encoding time and resulting filesize.
13281348
13291349
1330- 7.7 .3) Compressing MONSTER.SOU with MP3:
1350+ 7.8 .3) Compressing MONSTER.SOU with MP3:
13311351------ ---------------------------------
13321352You need LAME, and our 'compress_scumm_sou' utility from the scummvm-tools
13331353package to perform this task, and ScummVM must be compiled with MAD support.
@@ -1338,7 +1358,7 @@ Eventually you will have a much smaller monster.so3 file, copy this file
13381358to your game directory. You can safely remove the monster.sou file.
13391359
13401360
1341- 7.7 .4) Compressing MONSTER.SOU with Ogg Vorbis:
1361+ 7.8 .4) Compressing MONSTER.SOU with Ogg Vorbis:
13421362------ ----------------------------------------
13431363As above, but ScummVM must be compiled with OGG support. Run:
13441364
@@ -1349,7 +1369,7 @@ game directory. Ogg encoding may take a considerable longer amount of time
13491369than MP3, so have a good book handy.
13501370
13511371
1352- 7.7 .5) Compressing MONSTER.SOU with Flac:
1372+ 7.8 .5) Compressing MONSTER.SOU with Flac:
13531373------ ----------------------------------------
13541374As above, but ScummVM must be compiled with Flac support. Run:
13551375
@@ -1363,7 +1383,7 @@ filesize -- 1152 seems to be a good value for those kind of soundfiles. Be sure
13631383to read the encoder documentation before you use other values.
13641384
13651385
1366- 7.7 .6) Compressing music/sfx/speech in AGOS games
1386+ 7.8 .6) Compressing music/sfx/speech in AGOS games
13671387------ -----------------------------------------------------------------
13681388Use our 'compress_agos' utility from the scummvm-tools package to perform this
13691389task. You can choose between multiple target formats, but note that you can
@@ -1398,7 +1418,7 @@ Eventually you will have a much smaller *.mp3, *.ogg or *.fla file, copy this
13981418file to your game directory. You can safely remove the old file.
13991419
14001420
1401- 7.7 .7) Compressing speech/music in Broken Sword 1
1421+ 7.8 .7) Compressing speech/music in Broken Sword 1
14021422------ ------------------------------------------
14031423The 'compress_sword1' tool from the scummvm-tools package can encode music and
14041424speech to MP3 as well as Ogg Vorbis.
@@ -1417,7 +1437,7 @@ instead of MP3.
14171437Use "compress_sword1 --help" to get a full list of the options.
14181438
14191439
1420- 7.7 .8) Compressing speech/music in Broken Sword 2
1440+ 7.8 .8) Compressing speech/music in Broken Sword 2
14211441------ ------------------------------------------
14221442Use our 'compress_sword2' utility from the scummvm-tools package to perform this
14231443task. You can choose between multiple target formats, but note that you can
@@ -1442,7 +1462,7 @@ files in Broken Sword 2. It will not work with any of the other *.clu files,
14421462nor will it work with the speech files from Broken Sword 1.
14431463
14441464
1445- 7.8 ) Output sample rate:
1465+ 7.9 ) Output sample rate:
14461466---- -------------------
14471467The output sample rate tells ScummVM how many sound samples to play per channel
14481468per second. There is much that could be said on this subject, but most of it
0 commit comments