Max Horn
29847ea42d
AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclasses
...
Many engines follow the advice in audio/midiparser.h and create a
"pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny
subset of the MidiDriver capabilities, namely those found in
MidiDriver_BASE. So we try to subclass from that whenever possible; this
allows us to remove many stub methods, and enables further future
simplifications.
2011-03-23 15:25:47 +01:00
md5
9af4453ee5
SCI: Don't ignore SysEx messages at the driver level but warn instead
...
SysEx messages in the driver are usually the result of a bug which should
be investigated and not silently ignored
2011-03-03 11:18:59 +02:00
md5
9d6ed4de31
SCI: Slight cleanup of some sound drivers
2011-03-03 01:47:08 +02:00
md5
72f65b3946
SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY
...
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27 16:48:53 +02:00
md5
88235cee7c
SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL driver, thanks to waltervn
2011-02-26 15:27:01 +02:00
md5
318c51a202
SCI: Added support for reading data off the MT32.DRV driver found in LSL2 early (bug #3192627 )
2011-02-26 05:22:10 +02:00
Filippos Karapetis
6a4ea3abd3
SCI: Added comments to the FB-01 and MIDI drivers. The original driver files are only
...
needed in SCI0 early games, which didn't include separate sound patch resources. Thanks
to waltervn for the information he supplied
svn-id: r55875
2011-02-10 21:10:49 +00:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
2d1c8a3533
ALL: Fix whitespaces / indention
...
svn-id: r55818
2011-02-07 23:01:06 +00:00
Walter van Niftrik
3d38a383bb
SCI: Only filter channels for early SCI0, as GM currently uses all channels.
...
svn-id: r54498
2010-11-26 14:35:28 +00:00
Filippos Karapetis
1d4e452c78
SCI: Send the SCI0 reverb init after reading the reverb data
...
svn-id: r54492
2010-11-26 06:41:45 +00:00
Filippos Karapetis
af15ac6f6a
SCI: Some reverb-related changes in the MIDI driver, based on a patch by waltervn
...
svn-id: r54484
2010-11-25 22:23:14 +00:00
Filippos Karapetis
3a8648c4db
SCI: Initialize reverb in the music driver correctly. Based on a patch by waltervn
...
svn-id: r54483
2010-11-25 22:17:23 +00:00
Filippos Karapetis
2c2f3a97e6
SCI: Added support for the alternate Windows MIDI soundtracks of the CD versions of EcoQuest, Jones, KQ5 and SQ4
...
svn-id: r54476
2010-11-25 14:22:09 +00:00
Walter van Niftrik
8c4ebc434d
SCI: Fix bug in MT-32 checksum computation. Thanks Sven for finding this.
...
svn-id: r54471
2010-11-25 11:19:46 +00:00
Filippos Karapetis
ff58eea2ce
SCI: Set _useMT32Track correctly for KQ5 Windows, thus simplifying the code
...
svn-id: r54465
2010-11-25 01:31:03 +00:00
Filippos Karapetis
7508260954
SCI: Added support for the alternative GM tracks of the Windows version of KQ5CD (bug #3041239 )
...
Note that the empty GM track for the Sierra logo makes the game hang, so the
MT-32 track is used, which sounds awful
svn-id: r54464
2010-11-25 01:19:45 +00:00
Filippos Karapetis
9493b9add5
SCI: Moved handling of special reverb value 127 outside of the MIDI driver
...
svn-id: r54459
2010-11-24 14:51:29 +00:00
Filippos Karapetis
364d37b302
SCI: some changes to the way reverb is handled
...
- "Invalid" SCI reverb values (127) are properly handled now
- SCI kDoSound(reverb) sets the global reverb (renamed it accordingly)
- kDoSound(reverb) can also return the current reverb if no parameter is sent
svn-id: r54457
2010-11-24 14:21:31 +00:00
Filippos Karapetis
332a438ccf
SCI: Added a TODO for the default reverb value
...
svn-id: r54454
2010-11-24 11:26:48 +00:00
Filippos Karapetis
fcd8a04c64
SCI: Read MT-32 reverb data correctly (patch #3117434 )
...
svn-id: r54453
2010-11-24 11:19:27 +00:00
Filippos Karapetis
23bd8a1c26
SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either
...
svn-id: r54428
2010-11-23 15:47:54 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Filippos Karapetis
9d1006c7a3
SCI3: Some changes
...
- Placed the SCI3 version detection in the proper place
- Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are
ignored, for now
svn-id: r54188
2010-11-10 14:28:45 +00:00
Filippos Karapetis
27c52434ba
SCI: Split the GM related names out of map-mt32-to-gm.h and into a separate header file
...
svn-id: r53906
2010-10-28 16:26:04 +00:00
Filippos Karapetis
a7b5133903
SCI: Improved the description of the "map_instrument" console command a bit. Also, the dynamic mappings are now checked before the static ones
...
svn-id: r53903
2010-10-28 13:00:21 +00:00
Filippos Karapetis
3a4647dc50
SCI: Several changes related to MT-32 -> GM mapping
...
- Changed C - style comments in map-mt32-to-gm.h to C++ - style comments
- Added a new dynamic MT-32 -> GM mapping, complementary to the normal one, which can be done on the fly using the new console command "map_instrument"
- The "show_instruments" command has been moved to the music section and now displays the instruments of the game which aren't in the MT32-> GM mapping
svn-id: r53902
2010-10-28 12:48:51 +00:00
Johannes Schickel
f742d2ecc5
SCI: Some constification.
...
svn-id: r52726
2010-09-14 21:53:22 +00:00
Walter van Niftrik
8264bb704f
SCI: Add getLastChannel() function to MidiPlayer class
...
svn-id: r52655
2010-09-09 12:46:46 +00:00
Filippos Karapetis
f78b4b9f85
SCI: Added a warning when using GM with SCI1 games
...
The MT-32 <-> GM mapping has only been worked on for
SCI0/SCI01 games. Throw a warning when the user
chooses GM in a SCI1 game, and there is no after
market GM support from Sierra for this game
svn-id: r52505
2010-09-03 12:42:35 +00:00
Filippos Karapetis
37d2f10206
SCI: Added checking for the existence of a GM track, to determine if device ID 7 or 12 should be used. Fixes the GM music in the demo of QFG3, which is using an in-between version of SCI1 and SCI1.1
...
svn-id: r52211
2010-08-19 13:52:21 +00:00
Filippos Karapetis
ff8cfd3d9b
SCI MIDI: adding some asserts as well as proper initialization for _velocityMap
...
svn-id: r52184
2010-08-18 11:03:12 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Martin Kiewitz
ed50ecd62d
SCI: make channel remapping stop using channel 0 for mt32 - fixes playback accordingly (like lsl1 at the start)
...
svn-id: r50056
2010-06-19 19:06:58 +00:00
Walter van Niftrik
b453d139d4
SCI: (Temporary?) workaround for firmware bug in common USB-MIDI cables.
...
svn-id: r49982
2010-06-18 01:09:40 +00:00
Max Horn
ee1110a114
SCI: Reduce header interdependencies
...
svn-id: r48086
2010-02-17 23:38:43 +00:00
Walter van Niftrik
5f7c518542
SCI: Fix bug in keyshift handling in midi driver.
...
svn-id: r47806
2010-02-02 01:36:45 +00:00
Walter van Niftrik
5ffba8631d
SCI: Fix out-of-bounds error in MT-32 patch reading in GM mode.
...
svn-id: r47662
2010-01-29 01:09:41 +00:00
Walter van Niftrik
9861b04b93
SCI: Add driver for Yamaha FB-01. Cleanup.
...
svn-id: r47571
2010-01-26 19:25:33 +00:00
Walter van Niftrik
716a2bf242
SCI: Fix OB1 error in rhythm mapping in MT-32 to GM translation
...
svn-id: r47428
2010-01-22 01:01:08 +00:00
Walter van Niftrik
b6742d12f6
SCI: Cleanup
...
svn-id: r47419
2010-01-21 16:28:09 +00:00
Walter van Niftrik
208dbf1d9a
SCI: Renamed softseq/ to drivers/
...
svn-id: r47418
2010-01-21 16:27:29 +00:00